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

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What's the actual Unix permissions for the /mnt/Media/PlexMedia and /mnt/Media/PlexMedia/Movies folders? When you set the ACL, did you apply it recursively?
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Looking at files on Filezilla:
1592437609596.png

1592437619991.png

Movies folder:
1592437760869.png

Not sure how to check "actual Unix permissions". I don't remember if I applied recrusively. I belive so, but not 100%.

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

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Not sure why some folders are mixed user:group.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
I added _sabnzb user to the ACL, applied recursively.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
ls -ld /mnt/Media/PlexMedia
ls -ld /mnt/Media/PlexMedia/Movies
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, the Unix permissions match.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
And yet it still doesn't work. Perhaps it's not a permissions issue?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Can you describe your desired renaming? You may have it out of sequence; i.e., renaming the folder and then its contents. Try renaming the contents then the folder.
 
Last edited:

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Radarr downloads a file and is supposed to rename the folder and file automatically after unpacking it from the web. I'm getting errors from Radarr saying Import failed, path does not exist or is not accessible by Radarr: /media/Movies/ which to me sounds like a permissions issue.

The folder and file still ends up in /media/Movies...just not renamed.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, this appears to be a case-sensitivity issue.

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

You'll likely have to rebuild the jail mount as /mnt/Media/iocage/jails/radarr/root/media/Movies.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Well, that's frustrating. I thought it worked on my initial test but after trying again. No luck.

It appears to be an intermittent issue.
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Did you restart the jail after modifying the mount?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
@thepixelgeek, you may also need to reboot to clear ARC of references to the incorrect jail mount path.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Did you restart the jail after modifying the mount?
Yes, I stopped the jail, fixed the mount then started jail again. I will restart FreeNAS and do another test.

I am seeing intermittent success with renaming folders/files.

At first, I thought it may be due to mixed owners at the individual folder level under /Movies. But, my latest test renamed the folder even though the owner was pixelgeek.

This successfully renamed and it's owner is "radarr".
1592498590520.png


This failed to rename and it's owner is "pixelgeek".
1592498646760.png
 

Attachments

  • 1592499228614.png
    1592499228614.png
    8.4 KB · Views: 217

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
@Samuel Tai Something is not right. There seems to be an issue when the folder is owned by pixelgeek. See below. That file did not rename either.

1592510860784.png
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Inside the radarr jail, you'll need to create the pixelgeek account and add it to the allmedia group. The easiest thing is to make sure all the jails have the same set of users/groups.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
@Samuel Tai Ok, pixelgeek is a member of allmedia already. But, not part of radarr users.

Add using this pw user add pixelgeek -c pixelgeek -u 973 -d /nonexistent -s /usr/bin/nologin?

I just added this to the psswd file pixelgeek:*:973:973:pixelgeek:/nonexistent:/usr/bin/nologin

Restarting jail now.
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
pw groupadd pixelgeek -g 973
pw useradd pixelgeek -c pixelgeek -u 973 -g pixelgeek -G allmedia -d /nonexistent -s /usr/bin/nologin
 
Top