Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SABNZB postprocessing error

Featured Replies

A few days ago I went from 4.7 to 5.0b14. This went pretty smooth but.....

 

I have SABNZB running and there a categorie. named netgear, defined which writes to a mounted SMB-share. This share is at mount-point /mnt/netgear.

 

The absolute path in this categorie is set as /mnt/netgear/DVD.

 

When i load an NZB in SAB and set the categorie to netgear it starts downloading happily. When download finishes I get an error:

 

Postprocessing was aborted (Cannot create final folder /mnt/netgear/DVD/<name of download>.

 

Is there something wrong with permissions?

It used to work in 4.7.

Copying files to this share in Midnight Commander also works.

 

A few days ago I went from 4.7 to 5.0b14. This went pretty smooth but.....

 

I have SABNZB running and there a categorie. named netgear, defined which writes to a mounted SMB-share. This share is at mount-point /mnt/netgear.

 

The absolute path in this categorie is set as /mnt/netgear/DVD.

 

When i load an NZB in SAB and set the categorie to netgear it starts downloading happily. When download finishes I get an error:

 

Postprocessing was aborted (Cannot create final folder /mnt/netgear/DVD/<name of download>.

 

Is there something wrong with permissions?

It used to work in 4.7.

Copying files to this share in Midnight Commander also works.

It is most likely permissions related.

 

Midnight command works most likely because you are telnet'ed into the server as the "root" user.  SABnzbd is probably running as the "nobody" user if the folder and files at /mnt/netgear/DVD are owned by root:root (user:group) then SABnzbd will more than like not be able to create an folders/files at that mount point.

 

You probably need to fix the permissions on the netgear box before SABnzbd will be able to write to it.  A "chown -R nobody:users /mnt/netgear/DVD" will likely fix the issue.

  • Author

A few days ago I went from 4.7 to 5.0b14. This went pretty smooth but.....

 

I have SABNZB running and there a categorie. named netgear, defined which writes to a mounted SMB-share. This share is at mount-point /mnt/netgear.

 

The absolute path in this categorie is set as /mnt/netgear/DVD.

 

When i load an NZB in SAB and set the categorie to netgear it starts downloading happily. When download finishes I get an error:

 

Postprocessing was aborted (Cannot create final folder /mnt/netgear/DVD/<name of download>.

 

Is there something wrong with permissions?

It used to work in 4.7.

Copying files to this share in Midnight Commander also works.

It is most likely permissions related.

 

Midnight command works most likely because you are telnet'ed into the server as the "root" user.  SABnzbd is probably running as the "nobody" user if the folder and files at /mnt/netgear/DVD are owned by root:root (user:group) then SABnzbd will more than like not be able to create an folders/files at that mount point.

 

You probably need to fix the permissions on the netgear box before SABnzbd will be able to write to it.  A "chown -R nobody:users /mnt/netgear/DVD" will likely fix the issue.

 

Thanks prostuff1, shouldn't utils/new permissions in 5.0b14 fix this? Or doesn't that change permissions on mounted shares?

 

I sure have a lot to learn about Linux. UID, GID, permissions it's a lot to comprehend. I hope this all will fix the issue.

 

Thanks again.

  • Author

No, it didn't do the trick. still the same error.

 

How can I check if SAB is running as "nobody"

 

A file that I downloaded yesterday inside an array folder shows up as nobody:users

 

the share /mnt/netgear/DVD is still root:root

 

looks i cant chown this share

 

No, it didn't do the trick. still the same error.

 

How can I check if SAB is running as "nobody"

 

A file that I downloaded yesterday inside an array folder shows up as nobody:users

 

the share /mnt/netgear/DVD is still root:root

 

looks i cant chown this share

a ps -ef and then finding the running SABnzbd process will tell you who it is running as.

 

As far as chown'ing the netgear mount.  Might have to do that from the netgear box... not really sure as I don't have one of those and have not messed with one before.  But I do know that is what you have to do to be able to write to /mnt/netgear

  • Author

No, it didn't do the trick. still the same error.

 

How can I check if SAB is running as "nobody"

 

A file that I downloaded yesterday inside an array folder shows up as nobody:users

 

the share /mnt/netgear/DVD is still root:root

 

looks i cant chown this share

a ps -ef and then finding the running SABnzbd process will tell you who it is running as.

 

As far as chown'ing the netgear mount.  Might have to do that from the netgear box... not really sure as I don't have one of those and have not messed with one before.  But I do know that is what you have to do to be able to write to /mnt/netgear

 

that is also not working

 

still the same error

i chowned it on the netgear to nobody:users, but still cant write

 

can sab be run as root:root?

 

Maybe the share wasn't mounted correctly? On 4.7 I used smbmount - ip-address/media - -mount-point

but smbmount won't work in 5.0b14 (see other post of me)

 

so in 5.0b14 i used: mount -t cifs -o username=media,password= //ip-adres/media /mount-point

 

mayb something needs to be added to the mount command

No, it didn't do the trick. still the same error.

 

How can I check if SAB is running as "nobody"

 

A file that I downloaded yesterday inside an array folder shows up as nobody:users

 

the share /mnt/netgear/DVD is still root:root

 

looks i cant chown this share

a ps -ef and then finding the running SABnzbd process will tell you who it is running as.

 

As far as chown'ing the netgear mount.  Might have to do that from the netgear box... not really sure as I don't have one of those and have not messed with one before.  But I do know that is what you have to do to be able to write to /mnt/netgear

 

that is also not working

 

still the same error

i chowned it on the netgear to nobody:users, but still cant write

 

can sab be run as root:root?

sure, but not via my unMenu packages on 5.0bX.  Running it as root is NOT the proper approach in this instance.

 

If I had to guess the mount point in /mnt for netgear is probably root:root.  An ls -al /mnt/ should reveal it.

 

You need to fix the mount and then it should work.

 

A

su nobody -c "MOUNT_COMMAND_STUFF_HERE"

might be what you need to do.

  • Author

No, it didn't do the trick. still the same error.

 

How can I check if SAB is running as "nobody"

 

A file that I downloaded yesterday inside an array folder shows up as nobody:users

 

the share /mnt/netgear/DVD is still root:root

 

looks i cant chown this share

a ps -ef and then finding the running SABnzbd process will tell you who it is running as.

 

As far as chown'ing the netgear mount.  Might have to do that from the netgear box... not really sure as I don't have one of those and have not messed with one before.  But I do know that is what you have to do to be able to write to /mnt/netgear

 

that is also not working

 

still the same error

i chowned it on the netgear to nobody:users, but still cant write

 

can sab be run as root:root?

sure, but not via my unMenu packages on 5.0bX.  Running it as root is NOT the proper approach in this instance.

 

If I had to guess the mount point in /mnt for netgear is probably root:root.  An ls -al /mnt/ should reveal it.

 

You need to fix the mount and then it should work.

 

A

su nobody -c "MOUNT_COMMAND_STUFF_HERE"

might be what you need to do.

 

Something I added to prevous message:

 

Maybe the share wasn't mounted correctly? On 4.7 I used smbmount - ip-address/media - -mount-point

but smbmount won't work in 5.0b14 (see other post of me)

 

so in 5.0b14 i used: mount -t cifs -o username=media,password= //ip-adres/media /mount-point

 

mayb something needs to be added to the mount command

 

I guess I have to unmount the share first and then add sudo nobody when remounting it?

 

Are there things that need to be done on the Netgear? Or can all this be done on the Unraid server?

  • Author

I tried:

 

su nobody -c mount -t cifs -o username=media,password= //192.168.xxx.xxx/media /mnt/netgear

 

and I get this:

 

su: invalid option -- 't'

Usage: su [options] [LOGIN]

 

Options:

  -c, --command COMMAND        pass COMMAND to the invoked shell

  -h, --help                    display this help message and exit

  -, -l, --login                make the shell a login shell

  -m, -p,

  --preserve-environment        do not reset environment variables, and

                                keep the same shell

  -s, --shell SHELL            use SHELL instead of the default in passwd

 

What did I do wrong?

 

  • Author

put quote marks around it like my example shows.

 

Then I get:

 

mount: only root can do that

 

Boy o boy, this takes a lot of patience

 

Makes me wonder:

What all has changed from 4.7 to 5.0b14?

 

Shoul I put this ' or this " around it?

put quote marks around it like my example shows.

 

Then I get:

 

mount: only root can do that

 

Boy o boy, this takes a lot of patience

 

Makes me wonder:

What all has changed from 4.7 to 5.0b14?

 

Shoul I put this ' or this " around it?

double quote (the second one)

  • Author

put quote marks around it like my example shows.

 

Then I get:

 

mount: only root can do that

 

Boy o boy, this takes a lot of patience

 

Makes me wonder:

What all has changed from 4.7 to 5.0b14?

 

Shoul I put this ' or this " around it?

double quote (the second one)

 

Tried both.

Both time same result.

Well, someone else might have to chime in then.  LimeTech obviously got the permissions for /mnt/disk* set to nobody:users somehow.

 

the only thing I can recommend at this point is to google search "man mount" and the like to see what you get back.

  • Author

Well, someone else might have to chime in then.  LimeTech obviously got the permissions for /mnt/disk* set to nobody:users somehow.

 

the only thing I can recommend at this point is to google search "man mount" and the like to see what you get back.

 

Prostuff1 thank you, so far. Maybe you can contact someone who knows te ins and outs of this matter, Somehow I get the feeling you are closer to them then I am.

 

Thanks again.

  • Author

Hi prostuff1,

 

I mounted the share this way (I added uid and gid)

mount -t cifs -o username=media,password=,uid=nobody,gid=users //192.168.10.101/media /mnt/netgear

 

and SABNZB saved its first download to the share. Yippie.

 

I hope it stays that way.

 

I used information that I found here:

 

http://opensuse.swerdna.org/susesambacifs.html#tempsec

 

Thanks for all the help and have a nice weekend.

Hi prostuff1,

 

I mounted the share this way (I added uid and gid)

mount -t cifs -o username=media,password=,uid=nobody,gid=users //192.168.10.101/media /mnt/netgear

 

and SABNZB saved its first download to the share. Yippie.

 

I hope it stays that way.

 

I used information that I found here:

 

http://opensuse.swerdna.org/susesambacifs.html#tempsec

 

Thanks for all the help and have a nice weekend.

Great!!  Glad you got it figured out.

  • Author

Still think it is strange that the smbmount=command doesn't work. It seems to rely on mount.cifs, which is either corrupt or non-existent in 5.0b14.

I think it was accidentally left out in the latest beta because of the update to SMB2.  I think the explanation was that the samba guys broke smbmount into its own project or something like that and Tom did not realize that.

  • Author

Is it possible to make some sort of batchfile holding these lines:

 

mkdir /mnt/netgear

mount -t cifs -o username=media,password=,uid=nobody,gid=users //192.168.10.101/media /mnt/netgear

 

and place it on the flash drive or some other place, so I can call it when the server is rebooted?

Is it possible to make some sort of batchfile holding these lines:

 

mkdir /mnt/netgear

mount -t cifs -o username=media,password=,uid=nobody,gid=users //192.168.10.101/media /mnt/netgear

 

and place it on the flash drive or some other place, so I can call it when the server is rebooted?

You should be able to place those lines in the go script and then everything will run when the server boots.

  • Author

Is it possible to make some sort of batchfile holding these lines:

 

mkdir /mnt/netgear

mount -t cifs -o username=media,password=,uid=nobody,gid=users //192.168.10.101/media /mnt/netgear

 

and place it on the flash drive or some other place, so I can call it when the server is rebooted?

You should be able to place those lines in the go script and then everything will run when the server boots.

 

Can you recommend a good editor for Windows that will handle script files fine? I don't trust Notepad or Wordpad and I am not comfortable with VI.

Is it possible to make some sort of batchfile holding these lines:

 

mkdir /mnt/netgear

mount -t cifs -o username=media,password=,uid=nobody,gid=users //192.168.10.101/media /mnt/netgear

 

and place it on the flash drive or some other place, so I can call it when the server is rebooted?

You should be able to place those lines in the go script and then everything will run when the server boots.

 

Can you recommend a good editor for Windows that will handle script files fine? I don't trust Notepad or Wordpad and I am not comfortable with VI.

 

type in a telnet session:

 

mcedit /boot/config/go

 

not the greatest editor but is better than vi if you don't know vi.

Can you recommend a good editor for Windows that will handle script files fine? I don't trust Notepad or Wordpad and I am not comfortable with VI.

 

TextPad works well for me, can save in *nix or Windows mode

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.