Search found 13 matches

by defkev
May 15th, 2017, 3:34 pm
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

I suppose the errorcode 9009 for rmdir on windows just means what rmdir reported, aka. "The directory is not empty." The only rule of thumb which applies on all platforms dating back like forever is that your program should return 0 on a clean exit. Only if something went fu it should retu...
by defkev
May 15th, 2017, 1:04 pm
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

Looks like "rm -df" works consistent across local/SMBv1 up to SMBv3 and always returns 1 if the directory isn't empty.

Unfortunately this isn't cross platform compatible.
by defkev
May 15th, 2017, 11:52 am
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

Dunno, whats the intent of reuse? Its not a user configurable option from what i can tell looking at the code. Regardless removing the JOB_ADMIN/working directory of a incomplete download doesn't make much sense in my book either, i mean you would need to recreate it anyway since it is pretty mandat...
by defkev
May 15th, 2017, 11:12 am
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

Sorry, change False to True (already edited my reply) so not keep_folder gets skipped in misc.py

My bad :)
by defkev
May 15th, 2017, 10:54 am
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

Ok, i think i found "it" The problem is in misc.py in the remove_all function around line 1416: def remove_all(path, pattern='*', keep_folder=False, recursive=False): ... if not keep_folder: try: os.rmdir(path) except: logging.info('Cannot remove folder %s', path) Called by nzbstuff.py __i...
by defkev
May 14th, 2017, 5:06 pm
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

Just add vers=3.0 (or 2.0/2.1 depending on your Windows Version) to the mount options, e.g.

Code: Select all

sudo mount.cifs //192.168.0.114/bla ~/bla -o user=John,password=verysecret,file_mode=0777,dir_mode=0777,vers=3.0
Make sure to umount before remounting.
by defkev
May 14th, 2017, 12:46 pm
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

I was able to reproduce this in a VM using the latest Release of SABnzbd from Github, the complete/incomplete folder is a SMB share on the host running Windows 10 with SMBv1 disabled (again using vers=3.0 in fstab on the guest) https://gfycat.com/FantasticAdolescentFlyingfish Edit: Did another run w...
by defkev
May 14th, 2017, 9:11 am
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

Re: preprocessing stuck at 99% if incomplete on smb3

To be sure: with opt-pre_check you mean "Check before download. Try to predict successful completion before actual download (slower!)"? Yes, under Config -> Switches -> Queue What if you put Incomplete on the Bananapi (and not on Windows) so that we can pinpoint if the stuck is in Incompl...
by defkev
May 13th, 2017, 5:17 pm
Forum: General Help
Topic: preprocessing stuck at 99% if incomplete on smb3
Replies: 19
Views: 5603

preprocessing stuck at 99% if incomplete on smb3

So a friend of mine got crazy with all the WannaCrypt nonsense, i told her to Windows Update and disable SMB1 and call it a day. Shortly after she told me sabnzbd is no longer working...i really need to stop telling ppl what software i use personally ;D Shes running sab on a bananapi with a mount po...
by defkev
August 9th, 2016, 3:09 pm
Forum: General Help
Topic: RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7
Replies: 200
Views: 238171

Re: RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7

bumpity-bump for 1.0.3
by defkev
March 18th, 2016, 7:03 pm
Forum: General Help
Topic: RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7
Replies: 200
Views: 238171

Re: RPM for Fedora 19-23 and RHEL/CentOS/Scientific Linux 5-

Done. If it doesn't work, you can go back to 0.7.20 with yum downgrade. Wo0t, that was fast...thanks! Upgrade from 0.7.2 went smooth on my CentOS 7 Core box. Had to instruct systemd to restart the daemon using "systemctl restart SABnzbd@sabuser.service" which yum missed. The following got...
by defkev
March 18th, 2016, 4:49 am
Forum: General Help
Topic: RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7
Replies: 200
Views: 238171

Re: RPM for Fedora 19-23 and RHEL/CentOS/Scientific Linux 5-

xenithorb wrote:Mr Hansvon sir, A little update for the 1.0.0 release please :)
+1
by defkev
May 19th, 2015, 7:46 pm
Forum: General Help
Topic: par2 verify after repair fails if sfv renames the files
Replies: 1
Views: 1378

par2 verify after repair fails if sfv renames the files

I am not sure if this is even "welcome" in this forum, as i am running SABnzbd 0.7.20 on CentOS 7 installed from yum using https://dl.dropboxusercontent.com/u/14500830/SABnzbd/RHEL-CentOS/7/ I have noticed, whenever a NZB with "scrambled" filenames (and a sfv with the real filena...