Sonarr/Radarr and network drives...

Having issues with your DietPi installation, or, found a bug? Post it here.
codenomics
Posts: 14
Joined: Sat Apr 11, 2020 7:57 pm

Sonarr/Radarr and network drives...

Post by codenomics »

I just got this all setup on my Pi and running into an issue.

I used the drive mapper and mounted a couple drives. Seems to have no issues aside from not being able to browse those from the user I created. I can browse them fine from dietpi and root users.

When downloading something using sonarr/radarr and nzbget, the files are not importing to their proper directories.
I don't know how to troubleshoot this at this point.

::Edit::
The user that I have setup is "codenomics" and the remote samba directories are mapped using the user "codenomics" that is a user on the file server"

Sonarr/Radarr are located on the Pi
NZBGet/Plex are located on the media server.
(not sure if that helps anything out)
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr and network drives...

Post by Joulinar »

Hi,

each application is having it's own user and you would need to add these users to the group that you used to mount the drives. Next to that you would need to ensure the proper write access for that group.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
codenomics
Posts: 14
Joined: Sat Apr 11, 2020 7:57 pm

Re: Sonarr/Radarr and network drives...

Post by codenomics »

I just set this to 0777 in fstab and it looks like the users all have access now... Still not importing properly. Working on troubleshooting that now.
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr and network drives...

Post by Joulinar »

Can you maybe post ls -la from your mount point.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
codenomics
Posts: 14
Joined: Sat Apr 11, 2020 7:57 pm

Re: Sonarr/Radarr and network drives...

Post by codenomics »

codenomics@threepointonefour:/mnt/storaid $ ls -la
total 9220
drwxrwxrwx 2 dietpi dietpi 0 Apr 10 01:42 .
drwxr-xr-x 7 root root 4096 Apr 10 15:56 ..
drwxrwxrwx 2 dietpi dietpi 0 Apr 10 16:11 anime
drwxrwxrwx 2 dietpi dietpi 0 Apr 10 19:48 animovie
drwxrwxrwx 2 dietpi dietpi 0 Apr 10 16:13 cartoons
drwxrwxrwx 2 dietpi dietpi 0 Apr 7 21:02 'laptop timeshift'
drwxrwxrwx 2 dietpi dietpi 0 Jun 20 2017 lost+found
drwxrwxrwx 2 dietpi dietpi 0 Apr 11 17:31 movies
drwxrwxrwx 2 dietpi dietpi 0 Jan 31 2019 'Next Cloud'
-rwxrwxrwx 1 dietpi dietpi 8534331 Jul 25 2018 notflix.mp4
drwxrwxrwx 2 dietpi dietpi 0 Sep 27 2017 scripts
drwxrwxrwx 2 dietpi dietpi 0 Jun 23 2017 temp
drwxrwxrwx 2 dietpi dietpi 0 Apr 11 20:12 timeshift
drwxrwxrwx 2 dietpi dietpi 0 Apr 11 05:19 tv
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr and network drives...

Post by Joulinar »

User dietpi has mounted the share and is owning the folders. Instead of 777, you could add application users to dietpi group. At least from security point of view a better option ;).

Regarding the import issue, you might need to check on the application logs if you see some permission issues. As well you could have a look to samba server logs.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
codenomics
Posts: 14
Joined: Sat Apr 11, 2020 7:57 pm

Re: Sonarr/Radarr and network drives...

Post by codenomics »

I know 777 isn't the best option but it was a quick and dirty way to test.
codenomics
Posts: 14
Joined: Sat Apr 11, 2020 7:57 pm

Re: Sonarr/Radarr and network drives...

Post by codenomics »

OK, I may be wrong but I think that I know what the issue is, but I don't know how to fix it



files are downloaded to the media server using nzbget which is on the media server.
My pi has Sonarr.

Pi has mounted samba drives in this case "/mnt/storaid/movies/moviename"
The logs on Sonarr say "Import failed, path does not exist or is not accessible by Radarr: /storaid/temp/completed/Movies/moviename"

I noticed that the paths are different. Sonarr won't have access to "/storaid" like nzbget does. Sonarr would have access to "/mnt/storaid"

I may be way off base here though.
codenomics
Posts: 14
Joined: Sat Apr 11, 2020 7:57 pm

Re: Sonarr/Radarr and network drives...

Post by codenomics »

I guess I can just run NZBGet on the pi and possibly solve this issue right now
User avatar
Joulinar
Posts: 2588
Joined: Sat Nov 16, 2019 12:49 am

Re: Sonarr/Radarr and network drives...

Post by Joulinar »

and if you try to mount the samba share to /storaid on the RPi instead of /mnt/storaid/?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply