I won’t get in to making sure the Sonarr install is clean (backup, uninstall, purge old folder, reinstall, restore), but here’s what I did in the folder structure to make it clean through the GUI. I didn’t want to muk around in old configs to be sure there weren’t remnants conflicting, so started “started from scratch” as much as possible.
Please note that I was stressed for time, so didn’t follow the ACL best-practices fully (didn’t change old dir/files)
This is something you might want to try, and then if t doesn’t suit your need, alter it to your prefered structure.
The only 1 thing you need to do in the shell/CLI is checking if the group membership is correct.
Validation (optional)
- Login to the CLI and give the command “cat /etc/group |grep sc-”. Output is dependent on your installed package, but should be similar to:
sc-download:x:65537:deluge,autosub,sabnzbd,nzbget,jackett,transmission,sc-nzbdrone
sc-media:x:65536:autosub,sc-nzbdrone,plex
Download setup
-
Go to “control panel”, “shared folder”, and select “create” to create a new shared folder “download_client”.
-
When prompted for permissions, select “local groups” from the drop-down menu, and grant “read/write” permissions to administrators, sc-download, and sc-media.
-
Through file-station, add subfolders for your download clients, like NZBGet, Deluge, and Sonarr. I use the Sonarr directory as a destination for tv-shows and sonarr post-processing.
-
In NZBGet under “settings” and “paths” set your “MainDir” to “/volume1/download_client/NZBGet”. “Destdir” can be to your choosing.
-
In NZBGet under “settings” and “categories” set your Sonarr category to “DestDir” “/volume1/download_client/Sonarr”.
-
Do the similar actions for your other download clients.
Sonarr processing
I was in luck here, as Sonarr doesn’t like path changes as far as I’m aware. My TV show folder is already a dedicated Shared Folder. If this not the case for you, then just try adding the permission recusively through the GUI. Also, all my “old” files have 777 like most did in the past.
-
Important: Shutdown Sonarr
-
Rename your Shared Folder to _1
-
Create a new Shared Folder with the original name, and add the permission in the pop-up
-
Move all your folder to the newly created Shared Folder. This results in identical paths.
-
Start Sonarr.
New shows will get the ACL permissions. This looks like:
drwxrwxrwx+ 2 sc-nzbdrone nzbdrone 4096 Mar 21 13:32 Bl…
-rwxr-xr-x 1 nzbget users 2265550267 Jan 20 14:33 Bl…mkv
-rwxrwxrwx+ 1 sc-nzbdrone nzbdrone 373322 Mar 21 13:26 poster.jpg
If your old folders don’t work, you might want to try to set the Shared Folder permissions recursively.