Jump to content
linuxserver.io

[Support] Linuxserver.io - Sonarr

1143 posts in this topic Last Reply

Recommended Posts

Ok I fixed that and it workd for 2 episodes.  However, one episode gave me the following error 

Couldn't import episode /data/Completed/Titans.2018.S02E05.Deathstroke.2160p.DCU.WEB-DL.DD5.1.H265-NTb.mkv: Access to the path "/data/Completed/Titans.2018.S02E05.Deathstroke.2160p.DCU.WEB-DL.DD5.1.H265-NTb.mkv" or "/tv/Titans (2018)/Season 2/Titans.2018.S02E05.Deathstroke.2160p.DCU.WEB-DL.DD5.1.H265-NTb.mkv.partial~" is denied.

 

I find it odd as it was able to copy the other tv show episodes. For ex, The Blacklist.  it copied the downloaded file to the appropriate season folder.

 

I then ran a test.  I deleted the Season 2 folder.  Then reran Sonarr to check for downloaded files.  It then was able to create a season 2 folder and copy the file over.   Is this because I was doing some cleanup and created the Season 2 folder via my windows laptop?  It was either me or Emby which created the season 2 folder.

Share this post


Link to post

Automatic import issue:

Mappings are correct unless i'm missing something stupid or misunderstanding the data folder.

Sabnzbd drops the completed Sonarr downloads into

/mnt/user/downloads/complete/complete/sonarr/

Sonarr's data folder is mapped to

/mnt/user/downloads/complete/complete/sonarr/

I can manually import successfully directly from the Wanted>Manual Import and use the /data/ folder. From using the manual import button on the activity page, it says 'No video files were found in the selected folder.'

 

Am i missing something terribly stupid?

Share this post


Link to post
4 hours ago, jonfive said:

Sonarr's data folder is mapped to

And what is the container path for Sabnzbd?

Share this post


Link to post

Hello,

 

Is there way to run 2 instances of Sonarr? I want one instance for my TV-Series and one instance for Anime just to keep them separated.

When I try and create a new docker and set different webgui ports and config folders it doesnt work. Seems to default back to the standard port and when I change it then it can't find anything.

 

Share this post


Link to post
Posted (edited)
10 hours ago, Squid said:

And what is the container path for Sabnzbd?

/mnt/user/downloads/complete/complete/ with the sonarr category, making the completed files go into /mnt/user/downloads/complete/complete/sonarr/

Files are indeed there.
image.png.0c3426d8f5930139e051b0b19a511b41.png

Wanted page manual import:
image.png.be3d8e053bd512dc56e5bce952174d09.png

 

Activity page manual import:

image.png.5d61158ea544037017e9e542eb59b14c.png

 

I've had to recover some data with appdata restore, it's worked just fine for about a year since i had to redo everything. Possibly something got mixed up in the config since the restore? If need-be, is there a way where i can wipe out the config and 'start fresh' without losing the show database? or reinstall and preserve the db?

Edited by jonfive

Share this post


Link to post
50 minutes ago, Squid said:

Yes, the host paths are the same between the two.  But on the template, what is the container path for each of them?  Or post the docker run command for each.

 

https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345

 

Thanks for taking the time, i really appreciate it.

Sonarr

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-sonarr' --net='bridge' --log-opt max-size='10m' --log-opt max-file='1' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8989:8989/tcp' -p '9897:9897/tcp' -v '/mnt/user/Downloads/Complete/Complete/Sonarr/':'/data':'rw' -v '/mnt/user/Media/':'/media':'rw' -v '/mnt/user/appdata/binhex-sonarr':'/config':'rw' 'binhex/arch-sonarr' 

4a9a4e45951b5c7b0c6b82f1211504c6c86a738a7d2d9a2c13ec4a93c8ea3bdf

Sabnzbd

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-sabnzbd' --net='bridge' --log-opt max-size='10m' --log-opt max-file='1' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8080:8080/tcp' -p '8090:8090/tcp' -v '/mnt/user/Downloads/Complete/':'/data':'rw' -v '/mnt/user/appdata/binhex-sabnzbd':'/config':'rw' 'binhex/arch-sabnzbd' 

eacb2791776f258d3ba207c2176d4f525b0a45db625f9b9f8e029dd8fc9ca1c2

 

Share this post


Link to post
1 minute ago, jonfive said:

/mnt/user/Downloads/Complete/Complete/Sonarr/':'/data'

 

1 minute ago, jonfive said:

/mnt/user/Downloads/Complete/':'/data'

You host mappings on the /data do not match between the apps

Share this post


Link to post
1 minute ago, Squid said:

 

You host mappings on the /data do not match between the apps

i have sabnzbd using another 'complete' folder from itself working with categories inside that complete folder - hence the complete/complete/sonarr
image.png.2edc4749ca1f1aa5736f471a20472cf9.png

So just make sonarr match the output path of sabnzbd plus the sonarr category folder?
sorry, i'm just a little confused - the files do end up in /complete/complete/sonarr when they're finished downloading. 

 

Share this post


Link to post

You don't need to worry about categories or anything.  Sab will pass through to sonarr the full path including the category.  So long as the host path matches between the two.

 

Right now, Sab says that a download is sitting at 

 

/data/category/TVShow.mkv  This works out to a host path of /mnt/user/Downloads/Complete/category/TVShow.mkv

 

Because the mappings don't match between Sab and Sonarr, sonarr is effectively looking for the file at

 

/mnt/user/Downloads/Complete/Complete/Sonarr/category/TVShow.mkv  And the file is obviously not there.

Share this post


Link to post
1 minute ago, Squid said:

You don't need to worry about categories or anything.  Sab will pass through to sonarr the full path including the category.  So long as the host path matches between the two.

 

Right now, Sab says that a download is sitting at 

 

/data/category/TVShow.mkv  This works out to a host path of /mnt/user/Downloads/Complete/category/TVShow.mkv

 

Because the mappings don't match between Sab and Sonarr, sonarr is effectively looking for the file at

 

/mnt/user/Downloads/Complete/Complete/Sonarr/category/TVShow.mkv  And the file is obviously not there.

ahhh gotcha! That's an excellent explanation :)
I think i was just treating it like a 'watch folder' rather than considering the sab/sonarr communication

It works now - i just backed them both down to mnt/user/downloads.

Thank you very much! You're a real asset to the community :)

Share this post


Link to post

I'm encountering an odd issue  When Sonaar creates a season folder, Emby is not able to write into the folder.  Normally when I had Emby handling the autoorganize, it would create the folder, copy the video file to the folder and then create an nfo file and a thumbnail.  I stopped Emby from doing the copy of the file, which Sonarr now handles.  But after Sonaar copies the file, Emby is unable to create the thumbnails.  If I create the season folder first via logging in and using MC, Sonarr will copy the video file and Emby will create the thumbnails.  So Sonarr must be creating the folders with some permissions but I'm not sure how to change or fix this.  Any idea?

Share this post


Link to post
3 minutes ago, DigitalDivide said:

I'm encountering an odd issue  When Sonaar creates a season folder, Emby is not able to write into the folder.  Normally when I had Emby handling the autoorganize, it would create the folder, copy the video file to the folder and then create an nfo file and a thumbnail.  I stopped Emby from doing the copy of the file, which Sonarr now handles.  But after Sonaar copies the file, Emby is unable to create the thumbnails.  If I create the season folder first via logging in and using MC, Sonarr will copy the video file and Emby will create the thumbnails.  So Sonarr must be creating the folders with some permissions but I'm not sure how to change or fix this.  Any idea?

Settings - Media Management - Advanced Settings

image.png.811aa4a8ce361b1ba150c898457db014.png

Share this post


Link to post

Ok thanks, will make those changes.  I'm guessing that won't change any existing folders once I save that.  Is that correct?

 

Share this post


Link to post

Correct

Sent from my NSA monitored device

Share this post


Link to post

Still having a small problem.  In the Sonarr forum I was asked if I'm running Sonarr as Nobody.   When Sonarr is installed, when it runs what user is it running as?  When it copies a file to disk, what user owns the file?  I've been looking around but other than putting in Nobody in the Permissions, I don't see anything else.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.