SOLVED I think I'm having permission issues? Or is it a path? Radarr not renaming folders/files.

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
The movie downloads in the correct location, but it appears to fail when renaming the folder and movie file on my FreeNAS server.
Radarr does appear to be doing the renaming in the Radarr UI, but not the folder/file at freenas/media/Movies folder. That leads me to think it's a permission issue.
  • I've installed Plex, Medusa, Sabnzb, and Radarr in separate jails. All those users are members of a group called "allmedia".
  • I have an SMB share for the Media dataset that has two directories, Movies, and Shows. The ACL has nobody:allmedia as the owner.
  • I added and gave full control to the radarr user in that ACL.
Sab mount points:
Source: /mnt/Media/PlexMedia
Destination: /mnt/Media/iocage/jails/sabnzb/root/media

Radarr mount points:
Source: /mnt/Media/PlexMedia/Movies
Destination: /mnt/Media/iocage/jails/radarr/root/media/movies

Radar Rename Settings:
1592415515385.png


Movie file as stated in Radarr:
1592415530766.png


Radarr Queue:
1592415585347.png
Folder Config:
1592415833050.png


Movie Category Folder:
1592415849316.png
1592415918965.png
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Do you have the UID/GIDs sync'ed across all 3 jails and the base OS?
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
@Samuel Tai Not sure. How can I double-check that?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Compare /etc/passwd and /etc/group across all 4 environments to make sure the common users and groups are set to the same UID/GID numbers.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Sab Users:
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
_sabnzbd:*:350:350:sabnzb Daemon:/nonexistent:/usr/sbin/nologin
pixelgeek:*:973:973:User &:/nonexistent:/usr/sbin/nologin

Radarr Users:
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
radarr:*:352:352:radarr:/nonexistent:/usr/bin/nologin

Plex User:
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
plex:*:972:972: plex Media Server:/nonexistent:/usr/sbin/nologin

Medusa Users:
pixelgeek:*:973:973:User &:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin

Sab Groups:
nobody:*:65534:
_sabnzbd:*:350:
pixelgeek:*:973:
allmedia:*:1000: pixelgeek

Radarr Group:
nobody:*:65534:
radarr:*:352:
allmedia:*:1000:radarr

Plex Group:
nobody:*:65534:
plex:*:972:

Medusa Groups:
pixelgeek:*:973:
allmedia:*:1000: pixelgeek
nobody:*:65534:

@Samuel Tai The last entries for groups is odd... it shows the extra ":user" at the end.
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What's the ownership and permissions of the Plex folder?
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
@Samuel Tai Do you mean the PlexMedia dataset?

The ACL for that has a few items:
  • owner -- nobody:allmedia
  • Full Control -- owner@, group@, Plex(user), radarr(user)
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try adding the radarr user on the host Medusa, and also adding radarr to the allmedia group.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
@Samuel Tai "radarr" user is already a member of "allmedia" group. Added via freenas GUI.

Add "radarr" to Medusa like this? pw user add radarr -c radarr -u 352 -d /nonexistent -s /usr/bin/nologin
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
@Samuel Tai "radarr" user is already a member of "allmedia" group. Added via freenas GUI.

Add "radarr" to Medusa like this? pw user add radarr -c radarr -u 352 -d /nonexistent -s /usr/bin/nologin

No, also via the GUI.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Not sure I follow how to add radar user "on the host Medusa" via gui?

Allmedia group:
pixelgeek
plex
radarr
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Basically the fix is to make sure the host (which I thought was Medusa), has user and group entries for all the jail members of the allmedia group.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Would there be a host? They are all separate jails. If that makes any difference.

Perhaps it’s Plex. It was the first to get installed and doesn’t appear to have the “allmedia” group.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Jail mounts have to satisfy 2 sets of permissions, both within the jail, and also outside the jail.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
I’m not sure what to do with that information.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are all the jails resident on the same server? If so, you'll need to make the host server aware of all the jail accounts using the allmedia group.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Yes, all jails on the same server. How do make the host server aware?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Create _sabnzbd, radarr, plex accounts and groups with the appropriate IDs, and then add them to the server-level allmedia group.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Ok, added via freenas gui:

Newly Added Users:
_sabnzbd 350
radarr 352

Newly Added Groups:
radarr 352
_sabnzbd 350

Allmedia group:
_sabnzbd
pixelgeek
plex
radarr
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Restarted all jails, tested out a Radarr download. It's still not renaming the folder/files.
 
Top