NzbDrone for Ubuntu/Debian/Mint

We promised you guy first class linux support. here it is. now you can download NzbDrone using debian APT package manager.

just follow the steps posted here : https://github.com/NzbDrone/NzbDrone/wiki/Installation

Please use this thread if you have any with the repository of package itself. for any issues regarding NzbDrone itself please start a new thread.

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?

can’t you repeat those the steps that cause the error and send your logs from `http://localhost:8989/logs/files’

Okay, I tried the steps again, and got some errors in the log file. Here’s what got saved there:

13-8-31 11:38:17.4|Fatal|NzbDroneErrorPipeline|Request Failed

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

13-8-31 11:39:14.3|Fatal|NzbDroneErrorPipeline|Request Failed

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

13-8-31 11:40:05.7|Fatal|NzbDroneErrorPipeline|Request Failed

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.

It seems like its blowing up when trying to get the free space. I’ll see if I can make it fail nicer.

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.

Setting up the symbolic link seems to have fixed things so I can start adding series.

can you guys update to 2.0.0.397 and see if the issue is still there.

That seems to have fixed the errors. I’ll do some more testing on it. Thanks!

anyone know how to add nzbdrone as service and make sure it starts at boot in Ubuntu

@protocol77 - not too familiar with the process, but this should help: https://help.ubuntu.com/community/UbuntuBootupHowto

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

no, NzbDrone doesn’t exit when you exit the browser. it’s running as long as the mono process is running.

follow the link above your post or http://upstart.ubuntu.com/getting-started.html to install nzbdrone as a service.

let us know how it goes.

@kayone said:
no, NzbDrone doesn’t exit when you exit the browser. it’s running as long as the mono process is running.

follow the link above your post or http://upstart.ubuntu.com/getting-started.html to install nzbdrone as a service.

let us know how it goes.

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

http://forums.nzbdrone.com/discussion/380/making-nzbdrone-boot-with-linux-ubuntu-tested-only#Item_1

@protocol 77. would you mind updating our wiki page. that way we can just point users to the wiki.

hey not sure if this is what you meant by adding to wiki but here you go if you want me to add or change anything let me know

Link To Pages:

Direct Link:

Woops, wrong place.