Sabnzbd folder issues for complete/incomplete

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
You are trying to set it to /media in sabnzbd?
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
What changes to permissions did you do to fix? I have tried to chown and chmod to get it fixed but no luck!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
What changes to permissions did you do to fix? I have tried to chown and chmod to get it fixed but no luck!
what are you trying to do, settings won't stick in sabnzbd?
did you mount any datasets into your jail?
what does 'ls -l /path/to/mountpoint' output?
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
I just removed my SABNZBD jail was going to start from scratch. I know its a permission issue and I know sabnzbd uses UID 816. I have created user "Media" as UID 816 and assigned it to a group. The trouble is I need the group to place nicely with Couchpotato and Sonarr. Is it best to change the user and group for the three jails (CP, Sonarr, and sabnzbd) all to the same user:group?
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
Or maybe its better to have the same user for the three jails. All I need them to do is send the information to SABNZBD to download and then unpack/unrar and also rename, grab metadata and then move to correct directory. Once they are in the correct directory after all that I am good.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I just removed my SABNZBD jail was going to start from scratch. I know its a permission issue and I know sabnzbd uses UID 816. I have created user "Media" as UID 816 and assigned it to a group. The trouble is I need the group to place nicely with Couchpotato and Sonarr. Is it best to change the user and group for the three jails (CP, Sonarr, and sabnzbd) all to the same user:group?
at the moment, all those plugins use the same user 'media' (not 'Media'). permissions processing each others files will not be an issue because of this.

never change the permissions of the jails, that will break the jails.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I personally have all my related downloading/post-processing plugins (sabnzbd/sickrage/CP) in the same jail. makes things a bit simpler.
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
Ok I will recreate the user "media" instead of "Media". So you simply point the storage for folder for downloads and completed downloads to one folder? What do you do with Plex? Also point it to that same source?
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
Sorry my english was really bad. So you simply have one source for the "incomplete" and "complete" folders but now what about the renamer for CP? Or Sonarr to move to the files/folder to the directory I have plex accessing currently?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok I will recreate the user "media" instead of "Media". So you simply point the storage for folder for downloads and completed downloads to one folder? What do you do with Plex? Also point it to that same source?
I'm not sure what you are asking. in my setup, I have a jail with sabnzbd/transmission/SR/CP installed to it. It has a single mountpoint to a dataset with my downloads and media.

I don't use plex, but do use emby in a separate jail. which works the same. it has the same dataset mounted, but instead read-only. there's no permission issues here because emby only needs read access to stream the files.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Sorry my english was really bad. So you simply have one source for the "incomplete" and "complete" folders but now what about the renamer for CP? Or Sonarr to move to the files/folder to the directory I have plex accessing currently?
I wouldnt think about plex at first. is get your other plugins working together, then you can just install plex to a separate jail to stream the files. if you need plex to have write access as well to write subtitles/delete files, things can get more complicated.
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
Got it I will work on installing all three to the same jail. Will report back if I have any issues. Thanks for your help Josh.
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
Josh just letting you know it was permission issues but I did install three seperate jails for the three but got it working. Now since I have everything downloading like it should and even moving/renaming when it can. I do run into an issue with SABNZBD saying it does not have a PAR2 program to unrar/unpack the files and I think it might be permission related. Should the files in /usr/local/bin be under the same user and group media:media or should it be under root?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Josh just letting you know it was permission issues but I did install three seperate jails for the three but got it working. Now since I have everything downloading like it should and even moving/renaming when it can. I do run into an issue with SABNZBD saying it does not have a PAR2 program to unrar/unpack the files and I think it might be permission related. Should the files in /usr/local/bin be under the same user and group media:media or should it be under root?
I doubt the par2 issue is a permission issue. 99% of the time, binaries in bin should be owned by root. as long add the file has execute permissions any user can use the program.

what output do you get when you run 'par2' in your jail? maybe some of the system linked binaries/libraries got deleted somehow.
other commands to try are 'ls -l /usr/local/bin | grep par2'
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
upload_2015-12-29_11-29-7.png
 

Steve Brown

Explorer
Joined
May 7, 2015
Messages
80
Here is the permissions on /usr/local/bin on the jail.

upload_2015-12-29_11-29-55.png
 
Status
Not open for further replies.
Top