It appears to be working. However, when I try to add a series, and select a folder, it says:
[POST] Internal Server Error : /api/rootfolder
Or sometimes the same thing with a [GET].
My home directory is /home/myname. The folder I’m trying to use is /media/media4/TV/000Temp, and that’s where a bunch of my shows are located. I’m getting the error whether I type in that folder name or selecting the existing folder.
I like the idea of being able to import existing series, since I already have an extensive SickBeard setup that I want to migrate. Once this folder issue is resolved, I assume I’d be able to do that?
@Croq there should be a corresponding message logged server side as well, going to System (in NzbDrone) will show you the AppData directory and the logs should be in a logs folder in that location.
The user that is running NzbDrone does have read/write access to that folder, correct?
System.InvalidOperationException: Operation is not valid due to the current state of the object
at System.Linq.Enumerable.Single[DriveInfo] (IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00000] in :0
at System.Linq.Enumerable.SingleOrDefault[DriveInfo] (IEnumerable1 source, System.Func2 predicate) [0x00000] in :0
at NzbDrone.Common.DiskProvider.GetAvilableSpace (System.String path) [0x00000] in :0
at NzbDrone.Core.RootFolders.RootFolderService.b__0 (NzbDrone.Core.RootFolders.RootFolder folder) [0x00000] in :0
at System.Collections.Generic.List1[NzbDrone.Core.RootFolders.RootFolder].ForEach (System.Action1 action) [0x00000] in :0
at NzbDrone.Core.RootFolders.RootFolderService.AllWithUnmappedFolders () [0x00000] in :0
at NzbDrone.Api.NzbDroneRestModule1[NzbDrone.Api.RootFolders.RootFolderResource].ToListResource[RootFolder] (System.Func1 function) [0x00000] in :0
at NzbDrone.Api.RootFolders.RootFolderModule.GetRootFolders () [0x00000] in :0
at NzbDrone.Api.REST.RestModule`1[NzbDrone.Api.RootFolders.RootFolderResource].<set_GetResourceAll>b__c (System.Object options) [0x00000] in :0
at Nancy.Routing.Route.Invoke (Nancy.DynamicDictionary parameters) [0x00000] in :0
at Nancy.Routing.DefaultRouteInvoker.Invoke (Nancy.Routing.Route route, Nancy.DynamicDictionary parameters, Nancy.NancyContext context) [0x00000] in :0
at Nancy.Routing.DefaultRequestDispatcher.Dispatch (Nancy.NancyContext context) [0x00000] in :0
System.InvalidOperationException: Recent directory already exists.
at NzbDrone.Core.RootFolders.RootFolderService.Add (NzbDrone.Core.RootFolders.RootFolder rootFolder) [0x00000] in :0
at NzbDrone.Api.NzbDroneRestModule1[NzbDrone.Api.RootFolders.RootFolderResource].GetNewId[RootFolder] (System.Func2 function, NzbDrone.Api.RootFolders.RootFolderResource resource) [0x00000] in :0
at NzbDrone.Api.RootFolders.RootFolderModule.CreateRootFolder (NzbDrone.Api.RootFolders.RootFolderResource rootFolderResource) [0x00000] in :0
at NzbDrone.Api.REST.RestModule`1[NzbDrone.Api.RootFolders.RootFolderResource].<set_CreateResource>b__f (System.Object options) [0x00000] in :0
at Nancy.Routing.Route.Invoke (Nancy.DynamicDictionary parameters) [0x00000] in :0
at Nancy.Routing.DefaultRouteInvoker.Invoke (Nancy.Routing.Route route, Nancy.DynamicDictionary parameters, Nancy.NancyContext context) [0x00000] in :0
at Nancy.Routing.DefaultRequestDispatcher.Dispatch (Nancy.NancyContext context) [0x00000] in :0
System.InvalidOperationException: Recent directory already exists.
at NzbDrone.Core.RootFolders.RootFolderService.Add (NzbDrone.Core.RootFolders.RootFolder rootFolder) [0x00000] in :0
at NzbDrone.Api.NzbDroneRestModule1[NzbDrone.Api.RootFolders.RootFolderResource].GetNewId[RootFolder] (System.Func2 function, NzbDrone.Api.RootFolders.RootFolderResource resource) [0x00000] in :0
at NzbDrone.Api.RootFolders.RootFolderModule.CreateRootFolder (NzbDrone.Api.RootFolders.RootFolderResource rootFolderResource) [0x00000] in :0
at NzbDrone.Api.REST.RestModule`1[NzbDrone.Api.RootFolders.RootFolderResource].<set_CreateResource>b__f (System.Object options) [0x00000] in :0
at Nancy.Routing.Route.Invoke (Nancy.DynamicDictionary parameters) [0x00000] in :0
at Nancy.Routing.DefaultRouteInvoker.Invoke (Nancy.Routing.Route route, Nancy.DynamicDictionary parameters, Nancy.NancyContext context) [0x00000] in :0
at Nancy.Routing.DefaultRequestDispatcher.Dispatch (Nancy.NancyContext context) [0x00000] in :0
Croq, sound like the exact some issue I had before. I assume that the folder is located on some kind of mounted drive (non root harddrive, external drive or network)?
I got the exact some issue with all mounted devices.
The way I managed to solve it was by making a symlink to it from my home folder instead, which allowed me to add the folders.
Thanks kayone, I’ll be happy to try the new version when it’s available. I’ll also try nosscire’s suggestion of doing a symbolic link, because it is on a mounted drive.
how is nzbdrone meant to run normally in linux do i have to run the .exe after each reboot and if so will nzbdrone shutdown when i close the browser i only ask as when using on windows i used to run the service install the first time and that was t from then on it started with windows
hey thanks for the link but that seemed way over my head so i started toying around with different alternative and found one it is not pretty but seems to work i have just created a thread with instructions for those wanting to try it out