Hello Guys,
first of all I want to say, that amy english is not that good! :-D And my knowlegde of Sbnzbd is also not that advanced.
I use sabnzbd with a raspberry pi.
I use it for about 1 Year without any problems. Since yesterday I have the problem, that the running download stops at a random point. Sabnzbd throws 20 failure messages. If i restart the Raspberry pi it delets my running nzb queue. And it says: 4,07GB free (temp) 36,57 GB Free Space. If I add now a nzb file with 6 GB it says at the "free temp" -> "Not enough diskspace to complete downloads"
EDIT: Okay after the restart did it change the settings on itself, I set the temporary folder again on my external drive. The problem is still remaining.
What is this temp space? It worked for 1 year, dont know why this is happening now.
The failure messages about 20 of it:
Failure in tempfile.mkstemp
I hope you know what I mean!
Best Regards Enjoyxx aka. Manuel
While downloading - Failure in tempfile.mkstemp
Forum rules
Help us help you:
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.
Re: While downloading - Failure in tempfile.mkstemp
Probably partition full or otherwise not writable (possibly because of rights).
Log in onto your raspi, and type
Post the output here
Log in onto your raspi, and type
Code: Select all
df -h
Re: While downloading - Failure in tempfile.mkstemp
Hey,
thanks for replying!!! Here the output:
41 GB should be enough. Did you read my EDIT on the first post?
-> Okay after the restart did it change the settings on itself, I set the temporary folder again on my external drive. The problem is still remaining. (Now the notification about the temp folder is away) Nevertheless the download stops at a random point.
thanks for replying!!! Here the output:
Code: Select all
rootfs 7,2G 2,8G 4,1G 41% /
/dev/root 7,2G 2,8G 4,1G 41% /
devtmpfs 215M 0 215M 0% /dev
tmpfs 44M 712K 44M 2% /run
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 88M 0 88M 0% /run/shm
/dev/mmcblk0p1 56M 9,7M 47M 18% /boot
/dev/sda1 1,9T 1,8T 41G 98% /media/Festplatte
-> Okay after the restart did it change the settings on itself, I set the temporary folder again on my external drive. The problem is still remaining. (Now the notification about the temp folder is away) Nevertheless the download stops at a random point.
Re: While downloading - Failure in tempfile.mkstemp
External drives are often a problem because of write rights.
What is the output of:
Put the result in a Code-block
What is the output of:
Code: Select all
cat ~/.sabnzbd/sabnzbd.ini | grep _dir
Re: While downloading - Failure in tempfile.mkstemp
Yeah, but it worked without any problems one year? Why is there a problem just because of nothing?
BR
Code: Select all
dirscan_dir = ""
email_dir = ""
log_dir = logs
admin_dir = admin
nzb_backup_dir = ""
download_dir = /media/Festplatte/12Download
cache_dir = cache
complete_dir = /media/Festplatte/12Download
script_dir = ""
web_dir2 = ""
web_dir = Plush
Re: While downloading - Failure in tempfile.mkstemp
download_dir and complete_dir point to the same directory? Does that work?
Via de WebGUI change to
and restart SABnzbd
What is the output of
Via de WebGUI change to
Code: Select all
download_dir = /media/Festplatte/12Download/incomplete
complete_dir = /media/Festplatte/12Download/complete
What is the output of
Code: Select all
touch /media/Festplatte/12Download/blabla.txt
Re: While downloading - Failure in tempfile.mkstemp
Hey,
I got another warning:
Traceback (most recent call last:)
File
"usr/share/sabnzbdplus/cherrypy/_cpwsgi.py" line 79, in setapp
s,h,b = self, get_response()
File
"usr/share/sabnzbdplus/cherrypy/_cpwsgi.py" line 219, in get_response
Response = self.request.run(meth, path, qs, rproto, headers, rfile)
File
"usr/share/sabnzbdplus/cherrypy/_cprequest.py" line 579, in run
raise
cherrypy.TimeoutError()
download_dir and complete_dir worked also for about 1 year :-D
I changed it nonetheless
The result of the touch is:
It creates a txt file in my /12download. Nothing more.
Best Regards
I got another warning:
Traceback (most recent call last:)
File
"usr/share/sabnzbdplus/cherrypy/_cpwsgi.py" line 79, in setapp
s,h,b = self, get_response()
File
"usr/share/sabnzbdplus/cherrypy/_cpwsgi.py" line 219, in get_response
Response = self.request.run(meth, path, qs, rproto, headers, rfile)
File
"usr/share/sabnzbdplus/cherrypy/_cprequest.py" line 579, in run
raise
cherrypy.TimeoutError()
download_dir and complete_dir worked also for about 1 year :-D
I changed it nonetheless
The result of the touch is:
It creates a txt file in my /12download. Nothing more.
Best Regards
Re: While downloading - Failure in tempfile.mkstemp
The CherryPy warning is just an internal timeout.
If it happens occasionally, it's not a problem.
For the incomplete folder, use a sub-folder of the complete one,
so that SABnzbd won't see completed downloads as incomplete ones.
Other than that, your "temp" file problems is likely access rights.
One other potential issue is that the system-wide maximum amount of open files is too low.
There's a way to configure that, but I'm not very knowledgeable in that area.
If it happens occasionally, it's not a problem.
For the incomplete folder, use a sub-folder of the complete one,
so that SABnzbd won't see completed downloads as incomplete ones.
Other than that, your "temp" file problems is likely access rights.
One other potential issue is that the system-wide maximum amount of open files is too low.
There's a way to configure that, but I'm not very knowledgeable in that area.
Re: While downloading - Failure in tempfile.mkstemp
How can i fix those access rights? I didnt change any access rights.
Re: While downloading - Failure in tempfile.mkstemp
Can you post the current output of:
Put the result in code blocks
Code: Select all
cat ~/.sabnzbd/sabnzbd.ini | grep _dir
Re: While downloading - Failure in tempfile.mkstemp
Hey,
thanks for replying.
Here the Code:
I also changed the HDD. Maybe the HDD is broken..
We will see :-)
BR
thanks for replying.
Here the Code:
Code: Select all
dirscan_dir = ""
email_dir = ""
log_dir = logs
admin_dir = admin
nzb_backup_dir = ""
download_dir = /media/Festplatte/Download/incomplete
cache_dir = cache
complete_dir = /media/Festplatte/Download/complete
script_dir = ""
web_dir2 = ""
web_dir = Plush
We will see :-)
BR
Re: While downloading - Failure in tempfile.mkstemp
How do you run SABnzbd: from the command line, or as a service?
If as service: under which account?
Now do this as the same user as which you run SABnzbd:
Post the full output here in a CODE block.
If as service: under which account?
Now do this as the same user as which you run SABnzbd:
Code: Select all
mkdir "/media/Festplatte/Download/incomplete/bla ppp_33"
touch "/media/Festplatte/Download/incomplete/bla ppp_33/test"
ls -al "/media/Festplatte/Download/incomplete/bla ppp_33/test"
Re: While downloading - Failure in tempfile.mkstemp
No response? If so, I will unsubscribe from this thread. Let me know.
Re: While downloading - Failure in tempfile.mkstemp
Sorry had problems with my provider.
Here the result:
Changing the HDD didnt change anything.
Its so strange, it downloads about 800 MB and then just stops..?
After a Raspberry Pi restart, it works normal for a few hours.
Here the result:
Code: Select all
pi@raspberrypi ~ $ mkdir "/media/Festplatte/Download/incomplete/bla ppp_33"
pi@raspberrypi ~ $ touch "/media/Festplatte/Download/incomplete/bla ppp_33/test"
pi@raspberrypi ~ $ ls -al "/media/Festplatte/Download/incomplete/bla ppp_33/test"
-rwxrwxrwx 1 pi pi 0 Sep 5 10:26 /media/Festplatte/Download/incomplete/bla ppp_33/test
Its so strange, it downloads about 800 MB and then just stops..?
After a Raspberry Pi restart, it works normal for a few hours.
Re: While downloading - Failure in tempfile.mkstemp
Output looks good.
How about my other two questions? Please read and answer carefully.
So it *sometimes* gives the error "Failure in tempfile.mkstemp"? Things are getting more vague to me.
Or is it not giving that error, but something else?
How big are your downloads? Below 2GB?
How about my other two questions? Please read and answer carefully.
So it *sometimes* gives the error "Failure in tempfile.mkstemp"? Things are getting more vague to me.
Or is it not giving that error, but something else?
How big are your downloads? Below 2GB?