Page 1 of 1

Raspberry Pi failure in tempfile

Posted: August 10th, 2015, 10:56 am
by nnvt
Hello,

Just setup my raspberry pi with sickbeard and SABnzbd and it took hours to get everything done and now sab is not working properly :/ everything is setup properly, sickbeard sends it's nzb file to sab but sab does nothing and spams (mostly 20 times):
Failure in tempfile.mkstemp!

And nothing downloads
OS is on 2gb sd card and downloads are directed to 8gb usb flash drive(yes it is mounted) there seems to be something wrong with the "downloading" folder which is located here:
/home/mopidy/usb/shares/SABnzbd/downloading (this is what I entered in the folders option in the control panel)

I don't know how I can fix this error as no one seems to have a solution for it :/

Can anyone help me?

thanks!

Re: Raspberry Pi failure in tempfile

Posted: August 10th, 2015, 1:47 pm
by shypike
Does the folder /home/mopidy/usb/shares/SABnzbd/downloading actually exist
and does SABnzbd write access to it?
Does it exist at the moment SABnzbd is started or is it mounted later?

Re: Raspberry Pi failure in tempfile

Posted: August 10th, 2015, 1:52 pm
by nnvt
shypike wrote:Does the folder /home/mopidy/usb/shares/SABnzbd/downloading actually exist
and does SABnzbd write access to it?
Does it exist at the moment SABnzbd is started or is it mounted later?
Thanks for replying, the folder does exist and I set my Pi to start sab and mount the usb when it boots, I have no idea which it will do first, is there a chance the usb gets mounted after sab starts and that causes the issue? I also restarted sab after the mount... i chowned and chmodded the folder (777) as well

Re: Raspberry Pi failure in tempfile

Posted: August 10th, 2015, 3:33 pm
by shypike
nnvt wrote:I set my Pi to start sab and mount the usb when it boots
That's the issue likely. Does SABnzbd change the folder after it starts?
There is Config->Special->wait_for_dfolder
When you enable that, SABnzbd will wait for the temp download folder to exist before actually starting.
Careful, it will wait indefinitely.

Re: Raspberry Pi failure in tempfile

Posted: August 10th, 2015, 9:25 pm
by nnvt
shypike wrote:
nnvt wrote:I set my Pi to start sab and mount the usb when it boots
That's the issue likely. Does SABnzbd change the folder after it starts?
There is Config->Special->wait_for_dfolder
When you enable that, SABnzbd will wait for the temp download folder to exist before actually starting.
Careful, it will wait indefinitely.
Did not fix it unfortunately, sab starts up after this option is enabled but when a nzb gets sent it returns the same failure in temp file 20 times this is getting weird

Re: Raspberry Pi failure in tempfile

Posted: August 11th, 2015, 1:51 am
by shypike
Can you test with a path that's not on the USB drive?