Failure in tempfile.mkstemp

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
badogski29
Newbie
Newbie
Posts: 3
Joined: December 1st, 2023, 12:51 am

Failure in tempfile.mkstemp

Post by badogski29 »

Hello,

I keep getting "Failure in tempfile.mkstemp", below is the log from sabnzbd:

pastebin. com/SXJEmcNE

I verified that the user running sabnzbd is a user that has permissions to the temp folder that is on my NAS. I even deleted the Usenet folder on my share and let SABnzbd create the folder itself so I am really confused. Screenshots:

imgur. com/a/CkjoWeg

My setup:
NAS: Truenas Core and the share is mounted via NFS
Sabnzbd: hosted on a separate ubuntu machine and a similar user permission is set to the user running Qbittorrent (same machine), both part of plex(GID 997) Qbittorrent has no issues saving to the same share.
SABnzbd version: 4.1.0
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failure in tempfile.mkstemp

Post by sander »

PermissionError: [Errno 1] Operation not permitted: '/media/Usenet/temp/What.If.blabla-ABHOR/__ADMIN__/SABnzbd_nzf_u9az8c5d'

Easy: don't put your SABnzbd Incomplete / Temp on a NFS mount; keep it local, inside your system / guest
badogski29
Newbie
Newbie
Posts: 3
Joined: December 1st, 2023, 12:51 am

Re: Failure in tempfile.mkstemp

Post by badogski29 »

sander wrote: December 1st, 2023, 1:20 am PermissionError: [Errno 1] Operation not permitted: '/media/Usenet/temp/What.If.blabla-ABHOR/__ADMIN__/SABnzbd_nzf_u9az8c5d'

Easy: don't put your SABnzbd Incomplete / Temp on a NFS mount; keep it local, inside your system / guest
Is it just straight up unsupported? I tried googling why but it seems like some people are successful using an nfs mounted share and some are not.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Failure in tempfile.mkstemp

Post by sander »

badogski29 wrote: December 1st, 2023, 4:00 pm
sander wrote: December 1st, 2023, 1:20 am PermissionError: [Errno 1] Operation not permitted: '/media/Usenet/temp/What.If.blabla-ABHOR/__ADMIN__/SABnzbd_nzf_u9az8c5d'

Easy: don't put your SABnzbd Incomplete / Temp on a NFS mount; keep it local, inside your system / guest
Is it just straight up unsupported? I tried googling why but it seems like some people are successful using an nfs mounted share and some are not.
You can do anything you want, and if it works ... good for you.
If it doesn't work ... find out yourself, or go back to safety.

SABnzbd needs a reliable drive.
SABnzbd does all kinds of hard core file writing on Incomplete and Temp.
So better make sure Incomplete and Temp are very reliable, and fast.

And SABnzbd is just reporting what the OS is reporting.
badogski29
Newbie
Newbie
Posts: 3
Joined: December 1st, 2023, 12:51 am

Re: Failure in tempfile.mkstemp

Post by badogski29 »

I got it working somehow, I changed the fstab config from nfs v3 to v4 and switched the options from "defaults" to "rw".

I'll probably still use an ssd for the temp folder like you recommended.
Post Reply