Raspberry Pi failure in tempfile

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
nnvt
Newbie
Newbie
Posts: 3
Joined: August 10th, 2015, 10:50 am

Raspberry Pi failure in tempfile

Post 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!
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Raspberry Pi failure in tempfile

Post 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?
nnvt
Newbie
Newbie
Posts: 3
Joined: August 10th, 2015, 10:50 am

Re: Raspberry Pi failure in tempfile

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Raspberry Pi failure in tempfile

Post 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.
nnvt
Newbie
Newbie
Posts: 3
Joined: August 10th, 2015, 10:50 am

Re: Raspberry Pi failure in tempfile

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Raspberry Pi failure in tempfile

Post by shypike »

Can you test with a path that's not on the USB drive?
Post Reply