Issues with Mapping Folder Locations and finished downloads

Sonarr version (exact version): 2.0.0.4689
OS: Windows 10

Description of issue:
I previously had Sonarr and SAB working really nicely together. Since a recent SAB update i have had to reinstall SAB on a new Windows 10 machine (it was previously running on my Synology NAS - which is where Sonarr is also running).

I am running into an issue (which might just be a configuration issue on my part, so that’s what I am hoping you can help me with). The problem is that i get an error “not a valid path, might need to use Remote Folder Mapping”.

My configuration is as follows:

In SAB, i have a category defined for Sonarr called ‘sonarr’. For this category, i have the path defined as the Media directory for TV shows. This directory is a windows network mount (\\192.168.1.9\Media -> Z:\) and i use Z:\TV Shows in this configuration item. For the Temporary Download Folder in SAB i have it set to what i believe to be the default, of ‘temporary\incomplete’ with Completed Download Folder set to ‘Downloads\complete’. After downloading 1 TV episode i find the file in that location. My thought was that Sonarr would pick up this download, and move it to the my media directory. So am i setting a configuration wrong here? Should my category for ‘Sonarr’ path be configured to be Z:/TV Shows/? I can navigate via windows Explorer to that directory and view all its contents as well as read/write (create folders and files manually through the UI).

Any thoughts, comments, suggestions would be hugely appreciated. I hope this isn’t just a simple mis-config in one of the two apps. But that seems like the most likely option of them all at this rate.

Thanks

After updating the SAB category for sonar to be \\192.168.1.9\Media\TV Shows SAB completes everything (no errors there). When navigating to the directory - a folder is created in the root of the above (not in a TV Shows\Show Name\Season X\ folder). Reviewing the activity log for Sonar i see this message about the download:

\\192.168.1.9\Media\TV Shows\Bosch.S03E01.WEBRip.X264.1-DEFLATE-Obfuscated\] is not a valid local path. You may need a Remote Path Mapping.

If i then go into SAB and change this path to be the accessible Z: network mapped drive, so the path i use is just Z:\TV Shows because Z:\ is mapped to \\192.168.1.9\Media i get the following message in SAB (whereas in the above i get no errors in SAB):

» PostProcessing was aborted (Cannot create final folder \\?\Z:\TV Shows\Bosch.S03E01.WEBRip.X264.1-DEFLATE-Obfuscated)

When this occurs, Sonar seems to see it as a failed download, and attempts to download a different copy of the same episode.

Thanks for your support and I hope i have made some sort of sense.

Not sure why, or how to enter them correctly but \ \ 1 (without the spaces) is coming out as ` above, so please be aware i didn’t completely hack job the network / IP path.

Are both SAB and Sonarr running on the same machine?
If you change the location that SAB stores completed downloads in it doesn’t change it for already completed downloads.

Have you read the ((FAQ)) about remote paths?

Yes I have read the FAQ hence the different attempts for the correct path.

SAB is running on a different machine than Sonar. Sonar is running on the NAS local to the final storage, while SAB is on a VM with a network mapped drive pointed to the Media storage on the NAS.

The only way i can get sorting to work correctly is by enabled SAB tv sort, then i have to manually do a library update in Sonar to see the new releases. Obviously WAY less than ideal. There has got to be something setting wise still wrong. Are there configuration items in Sonar that i may need to change? From what i have read it seems like Sonar reads configuration items it needs for storage paths and download locations directly through SAB API calls and has none of its own configurations for this process to work?

Thanks again

This is true, but you can use a Remote Path Mapping in Sonarr to translate the path it gets from the API to a path that Sonarr can access locally if it can’t access the path. You’ll need to set one up to remap the remote path that SAB is providing Sonarr to the local path Sonarr can access. The host field will need to match the host field entered in the SAB settings within Sonarr.

Thank you so much for the reply. I was staring at the configuration screens in Sonar for forever until i noticed what everyone (and the docs) were talking about in regard to Remote Path Mappings. It was just at the bottom and wasn’t completely obvious - so that is my mistake.

For the category in SAB, if i now set this to say \192.168.1.9\Media\Completed\TV and then turn off TV sorting in SAB, the completed downloads would end up there correct? (validated, see below edited comment) Then Sonar would use that directory if i configure a Remote Path Mapping as follows:

Host: 192.168.1.9
Remote Path: \Media\Completed\TV
Local Path: /volume1/Media/TV Shows

(Editing Q starts here) *** -> Is this what i would understand the correct configuration to be? I apologize i am way behind the ball on understanding this all - and i very much appreciate your patience and support as i work through this.

After doing a test download, the file ends up in the Media\Completed\TV directory … and Sonar says the following about the download:
\192.168.1.9\Media\Completed\TV\TV-Series-E01E01] is not a valid local path. You may need a Remote Path Mapping.

Image of config for Mapping in SAB config of sonar

The Remote Path you set needs to match the remote path being reported by SAB (minus any job specific folders, so exclude: \TV-Series-E01E01).

OK i am completely at a loss… that is exactly how i have it, its as if sonar is trying to access that path, as IT is appending the job/folder (which is actually CORRECT).

Here is my settings in Sonar for Remote Folder Mapping:
Host -> 192.168.1.9 (this is the IP address of my SAB system)
RemotePath -> \Media\Completed\TV (this is the exact path if you take the host, and use UNC to access the remote completed download directory configured for SAB. So it ends up being \192.168.1.9\Media\Completed\TV. See image below for me accessing this path from my current desktop, and it loading the directory with no issues.
http://imgur.com/a/m81NN
LocalPath -> /volume1/Media/Completed/TV (this is the absolute path of the directory where the completed downloads are put once completed on the Synology NAS (remote from SAB downloader).

Lots of confusing things here… and i apologize if i am missing the boat entirely. Based on previous comments i believe the setup i have is indeed correct?

With another test download, i got the following error after successful download from SAB, the file was unpacked then moved to the \Media\Completed\TV folder.

Error in Sonar:
Arrow.S05E19.720p.HDTV.x264-AVS
[\192.168.1.9\Media\Completed\TV\Arrow.S05E19.720p.HDTV.x264-AVS] is not a valid local path. You may need a Remote Path Mapping.

I think its looking for that directory, if i use that exact path on my windows desktop in explorer it works no problem. Because i am using SAB on 192.168.1.150, then i transfer the completed file to the Synology NAS at 192.168.1.9 (which is the SAME server as Sonar is running on) I think the path its using is therefore wrong - right? A linux machine doesn’t know what \<IP_ADDRESS>\path\to\directory is right? How can i force it to look in /volume1/Media/Completed/TV instead? Instead of thinking its a remote host?

You’ve reversed the paths.

Local = local to Sonarr, not local to the download client as explained in the tooltip:

I hate to be this guy, but now i am really confused. You say i have reversed the paths? I have my downloader (SAB) remote, but storing its saved files on the same machine (NAS @ 192.168.1.9) where Sonar is actually running (as a Synology package, so on 192.168.1.9).

In reading the tools tip it wants the same directory, but how that directory is seen from the two different applications correct?

In SAB, i use a ‘Sonar’ category with the following path (so it overrides the default download location path):
\\192.168.1.9\Media\Completed\TV

So when adding the mapping, the host is going to be ‘local’ to Sonar, so either ‘localhost’ or ‘192.168.1.9’ should work. Correct?

For the remote path, it wants the root path that the download client accesses, so this is going to match the above path, so ‘Media\Completed\TV’ would be correct?

Then the local path (using the folder nav to find the same folder) is then going to be:
’/volume1/Media/Completed/TV/’

Does this seem correct? I apologize for what seems like beating around the bush, but i think my setup (how i download, and then store the files local to Sonar might be causing my lack of understanding here).

Thanks for all your time and support.

(Just out of interest, donations on here go towards continued development and upkeep of the code base i assume?)

Copy paste of my config:
Host
192.168.1.9

Remote Path
Media\Completed\TV\

Local Path
/volume1/Media/Completed/TV/

Error:
[\\192.168.1.9\Media\Completed\TV\Gilmore.Girls.S02E19.720p.WEB-DL-Obfuscated] is not a valid local path. You may need a Remote Path Mapping.

When i use this path ‘\\192.168.1.9\Media\Completed\TV\Gilmore.Girls.S02E19.720p.WEB-DL-Obfuscated’ directly copy/pasted into windows explorer from this windows desktop, it pops up and asks for user/password. I give it the synology nas credentials, and i see the file downloaded in that directory. Thoughts?

Is Sonarr not running on Windows 10 like you indicated in your original post? That’s what I was basing the fact that they were reversed on.

Your remote path doesn’t match the path being reported in the error (you’re missing the \\192.168.1.9\) so that’s not going to match, you need to whole path that’s being reported (minus the job folder) for it to match, not just the part relative to the server.

Yes, and paying for server hosting, domains, anything else required to support Sonarr running.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.