Radarr/Sonarr/SABnzbd moving completed downloads to cache drive rather than array


Recommended Posts

Hi there, struggling with this a bit. I have it setup so appdata is cache-only, Downloads is cache-prefer, Media is cache-no.

 

Downloading is fine. However, on completion, downloads move into the Downloads/sabnzbd/complete folder [fine] and then into the /mnt/cache/Media/[movies/tv]/[showname] folder. This is obviously a problem, as it means that they then need to be manually moved over to the array. As a side-note, sabnzbd reports the free space on the cache only, not the array as a whole.

 

I have it set up so all 3 have 2 mount points each: '/mnt/user' points to '/mnt/user/' and '/config' points to '/config/mnt/user/appdata/[appname]'

 

I've attached my logs below. I initially just had /mnt pointing to /mnt/, but I changed that, hoping it would fix it - no such luck. The root folder in radarr/sonarr is '/mnt/user/Media/movies' and I've checked for individual titles, they're set as that also. But they still end up on the cache.

 

I've attached my logs below. Can anyone help?

 

Radarr:

[Info] DownloadService: Report sent to SABNZBD. unrelatedmovie.2014.1080p.AMZN.WEBRip.DD5.1.x264-AJP69-xpost
[Info] NzbSearchService: Searching 3 indexers for [TARGETMOVIE]
[Info] DownloadDecisionMaker: Processing 14 releases
[Info] Sabnzbd: Adding report [TARGETMOVIE.2015.1080p.NF.WEB-DL] to the queue.
[Info] DownloadService: Report sent to SABNZBD. TARGETMOVIE.2015.1080p.NF.WEB-DL
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] DownloadDecisionMaker: Processing 6 releases
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] DownloadDecisionMaker: Processing 2 releases
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] DownloadDecisionMaker: No results found
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] DownloadDecisionMaker: Processing 46 releases
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] DownloadDecisionMaker: Processing 39 releases
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] DownloadDecisionMaker: Processing 138 releases
[Info] Sabnzbd: Adding report [unrelatedmovie.2011.Extended.Cut.1080p.BD.Remux.DTS-HD.MA.DD.5.1.AVC.MULTi-HARRY] to the queue.
[Info] DownloadService: Report sent to SABNZBD. unrelatedmovie.2011.Extended.Cut.1080p.BD.Remux.DTS-HD.MA.DD.5.1.AVC.MULTi-HARRY
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]
[Info] MovieService: Assigning file [TARGETMOVIE.2015.WEBDL-1080p.mkv] to movie [[TARGETMOVIE (2015)][tt3482062, 371442]]
[Info] DownloadDecisionMaker: Processing 1002 releases
[Info] NzbSearchService: Searching 3 indexers for [unrelatedmovie]

 

SABnzbd:


2021-02-13 08:41:28,391::INFO::[postproc:372] Starting Post-Processing on TARGETMOVIE.2015.1080p.NF.WEB-DL => Repair:True, Unpack:True, Delete:True, Script:None, Cat:movies
2021-02-13 08:41:28,391::INFO::[notifier:122] Sending notification: Post-processing - TARGETMOVIE.2015.1080p.NF.WEB-DL (type=pp, job_cat=movies)
2021-02-13 08:41:28,392::INFO::[postproc:728] Starting verification and repair of TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:28,392::INFO::[__init__:951] [N/A] /mnt/user/Downloads/sabnzbd/incomplete/TARGETMOVIE.2015.1080p.NF.WEB-DL/__ADMIN__/__verified__ missing
2021-02-13 08:41:28,393::INFO::[postproc:748] Running verification and repair on set TARGETMOVIE.2015.1080p.NF.WEB-DL.DD5.1.x264-monkee
2021-02-13 08:41:28,394::INFO::[newsunpack:1121] Quick-check for TARGETMOVIE.2015.1080p.NF.WEB-DL.DD5.1.x264-monkee is OK, skipping repair
2021-02-13 08:41:28,397::INFO::[postproc:804] Verification and repair finished for TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:28,405::INFO::[filesystem:577] Creating directories: /mnt/user/Downloads/sabnzbd/complete/TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:28,407::INFO::[postproc:425] Running unpack_magic on TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:28,422::INFO::[newsunpack:265] Unrar starting on /mnt/user/Downloads/sabnzbd/incomplete/TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:28,422::INFO::[newsunpack:532] Extracting rarfile /mnt/user/Downloads/sabnzbd/incomplete/TARGETMOVIE.2015.1080p.NF.WEB-DL/TARGETMOVIE.2015.1080p.NF.WEB-DL.DD5.1.x264-monkee.rar (belonging to TARGETMOVIE.2015.1080p.NF.WEB-DL.DD5.1.x264-monkee) to /mnt/user/Downloads/sabnzbd/complete/_UNPACK_TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:28,423::INFO::[misc:986] [N/A] Running external command: ['/usr/bin/unrar', 'x', '-idp', '-o-', '-or', '-p-', '/mnt/user/Downloads/sabnzbd/incomplete/TARGETMOVIE.2015.1080p.NF.WEB-DL/TARGETMOVIE.2015.1080p.NF.WEB-DL.DD5.1.x264-monkee.rar', '/mnt/user/Downloads/sabnzbd/complete/_UNPACK_TARGETMOVIE.2015.1080p.NF.WEB-DL/']
2021-02-13 08:41:36,686::INFO::[newsunpack:851] Unpacked 1 files/folders in 8 seconds
2021-02-13 08:41:36,933::INFO::[newsunpack:269] Unrar finished on /mnt/user/Downloads/sabnzbd/incomplete/TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:36,937::INFO::[postproc:429] Unpacked files ['/mnt/user/Downloads/sabnzbd/complete/_UNPACK_TARGETMOVIE.2015.1080p.NF.WEB-DL/TARGETMOVIE.2015.1080p.NF.WEB-DL.DD5.1.x264-monkee.mkv']
2021-02-13 08:41:36,938::INFO::[postproc:434] Finished unpack_magic on TARGETMOVIE.2015.1080p.NF.WEB-DL
2021-02-13 08:41:36,947::INFO::[nzbstuff:1790] [N/A] Purging data for job TARGETMOVIE.2015.1080p.NF.WEB-DL (delete_all_data=True)
2021-02-13 08:41:36,953::INFO::[notifier:122] Sending notification: Download Completed - TARGETMOVIE.2015.1080p.NF.WEB-DL (type=complete, job_cat=movies)
2021-02-13 08:41:37,164::INFO::[database:290] Added job TARGETMOVIE.2015.1080p.NF.WEB-DL to history
2021-02-13 08:41:37,165::INFO::[postproc:134] Saving postproc queue
2021-02-13 08:41:37,166::INFO::[downloader:310] Post-processing finished, resuming download
2021-02-13 08:42:35,544::INFO::[downloader:297] Pausing
2021-02-13 08:42:35,545::INFO::[notifier:122] Sending notification: SABnzbd - Paused (type=pause_resume, job_cat=None)
2021-02-13 08:43:40,492::INFO::[__init__:687] Attempting to add unrelatedmovie.2002.1080p.WEBRip.x264-RARBG-xpost.nzb
2021-02-13 08:43:40,493::INFO::[filesystem:577] Creating directories: /mnt/user/Downloads/sabnzbd/incomplete/unrelatedmovie.2002.1080p.WEBRip.x264-RARBG-xpost

 

Link to comment

I am afraid that you have run into an oddity due to the fact that your docker containers are working at the Linux level which is not directly aware of the User Share system.   If it thinks source and target are on the same mount point Linux implements 'move' by first trying a rename, and only if that fails doing a copy/delete.   In this the rename is working which is leaving it on the same drive, and because you have the Download share set to Use Cache = No, the mover ignores the file.

 

The easiest 'fix' is to set the Media share to Use Cache = Yes so that mover will later move the file to the array.

Link to comment
9 hours ago, itimpi said:

I am afraid that you have run into an oddity due to the fact that your docker containers are working at the Linux level which is not directly aware of the User Share system.   If it thinks source and target are on the same mount point Linux implements 'move' by first trying a rename, and only if that fails doing a copy/delete.   In this the rename is working which is leaving it on the same drive, and because you have the Download share set to Use Cache = No, the mover ignores the file.

 

The easiest 'fix' is to set the Media share to Use Cache = Yes so that mover will later move the file to the array.

Thank you very much. Would I be right in saying that on a cache-yes, everything is moved off, rather than just a case of whether there's enough available space on the origin drive?

 

Is there any way to force a copy/delete rather than a rename, just to save on the need for setting mover to run hourly?

Link to comment

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.