Sonarr Ver. 2.0.0.4326
Windows 7 Home Professional
Logs: N/A?
I know about an issue where Sonarr running as a service makes it so my QNAP TS-253A mapped network drive is not found so I followed a recommendation to not run it as a service and instead have it run at startup. This works fine often, but a lot of the time after re-starting my computer the Task Scheduler does not start the NzbDrone file. Sometimes I have to restart about 4 or 5 times for the program to run via task scheduler. I’ve also tried adding it to my startup folder.
Are there any tricks to fixing this? I went through all the settings of Task Scheduler to make it run at startup, at the highest privilege, etc.
If not, anyone have any idea how to make it run as a service without messing up and not finding my network drive?
You could run it manually instead of rebooting it. Does the scheduked task say it was executed and failed? Do the Sonarr logs show that it was started?
The ((FAQ)) also mentions that you could use a UNC path \\server\share instead of mapped network drive, which will work if the NAS doesn’t have any permissions required (since those are stored where the service can’t reliably access it).
I’ll have to look at the logs. While I didn’t really think it’s really as much of an issue with Sonarr as it is with Windows, I was hoping someone that uses Sonarr might have encountered and resolved this.
I’ll try messing with changing the service to a specific user. Not sure about UNC path stuff.
Probably a dumb question, but I can’t find an answer. How do I know what the UNC path is? My Media folder that contains all my stuff on my NAS is the K: drive. I have a TV Shows folder at K:\TV Shows\ that has folders for each show.
And once I know it, I just make the paths for my shows that instead of K:\TV Shows\Show1 ?
Looks like you can use net use at a command prompt to get it.
More details:
Yeah it would be \\server\share\TV Shows\Show1 (you can use Series Editor to change them quickly). Starting with one series and then rescanning that series would be the easiest way to ensure it is working.
Sorry, but that is not making sense to me. I don’t understand why it’s so hard to find a UNC path. My NAS/Server is called Martorious. I only have one storage pool/drive (K: which I named Media). Inside this is a folder called TV Shows and inside that a folder for each show.
It may be under Martorious (can you can access \\Martorious in Windows Explorer?) Share is just a place holder, you’d need to replace it with the actual share name. A UNC path is built using a host name or IP and a share name (the same thing that was used to map K:\).
That’s the part I don’t understand, even after reading the last article you sent. When I type K:\net use or K:\TV Shows\net use it says K:\net use is not recognized as an internal or external command
It’s just net use no K:\ at the start. Doesn’t matter if you can access it by the host name (but will save you from figuring out what the share name is).
What do you see in Windows Explorer after you type in \\Martorious?
The items listed there are the share name if you double click on the one that is linked to K:\ then the address you get by copying it out of the address bar is what you replace K:\ with in the series paths.
ah, when I just type net use I see the remote path is \MARTORIOUS\Media. That folder houses all my subfolders (TV Shows, Movies, etc).
When I type \Martorious in Explorer I see all the folders from my NAS, including Media, which is the folder where everything is.
If I double click on the one linked to K:\ it just shows my folder names (TV Shows, Movies, etc) so are those the share names? Is it \MARTORIOUS\Media\TV Shows\Show1 for the UNC path?
That means K:\ and \\Martorious\Media are the same so K:\TV Shows and \\Martorious\Media\TV Shows are the same, so replace K:\ with \\Martorious\Media\ in the series paths and you’ll be using UNC paths.
Using the UNC path of \Martorious\Media\TV Shows\Watching\Show for all my shows gave me errors in Sonarr AFTER also changing the service to log on as the Local System Account. I had altered the service previously to only log on as a specific user (only user on comp) via services.msc and figured if I was using UNC paths I could have the service function as it does with a fresh install (logging on as local system account). The error was “Multiple root folders are missing: \Martorious\Media\TV Shows\Watching | \Martorious\Media\TV Shows\Saved”
When using a combination of the UNC paths and having the service only log on with a specific user everything is fine so I will keep it that way for now, unless something else comes up.
Do you know why the service running for the local system account would cause issues when using the UNC paths?