SabNZBd+ and NZBDrone integration error

I’m a a beginner at this, I’m switching from Sickbeard over to NZBDrone. I’m running a home headless server, on Debian Wheezy. I’ve used some apt-get trickery to get mono 3.2 and its dependencies to all be installed from the testing distribution, so it should be current.

I’ve got SabNZBd+ bound to HOST 0.0.0.0 and port 8080, no password. When trying to get NZBDrone connected, I get an error in the UI:

Test was aborted due to an error: Object reference not set to an instance of an object

I’ve tried using 127.0.0.1, localhost and 0.0.0.0. If I use a random host, it’ll give me the error:

Test was aborted due to an error: Unable to connect to SABnzbd, please check your settings

Which tells me, that when the host is correct, I get the first error.

I’ve tried with a password in Sab, without a password, with the category created, without it. When the host is correct, here is the debug:

[Error] Sabnzbd: Test aborted due to exception

System.NullReferenceException: Object reference not set to an instance of an object
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd+d__13.MoveNext () [0x000a6] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:277
at System.Linq.Enumerable.First[SabnzbdCategory] (IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00000] in :0
at System.Linq.Enumerable.FirstOrDefault[SabnzbdCategory] (IEnumerable1 source, System.Func2 predicate) [0x00000] in :0
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.TestCategory () [0x00012] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:423
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.Test (System.Collections.Generic.List1 failures) [0x00024] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:359 at NzbDrone.Core.Download.DownloadClientBase1[NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdSettings].Test () [0x00006] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Core\Download\DownloadClientBase.cs:110

[Warn] NzbDroneErrorPipeline: Invalid request Validation failed:
– Test was aborted due to an error: Object reference not set to an instance of an object

I would really appreciate some input as to what the issue could be, and possible even use this experience to create a how-to guide for Debian users from start to finish.

Thankyou all in advance!

Do you have a category added in sab itself? and if so, what version of sabnzbd?

Yeah, the category in sab (tried with, and without).
Sab v. 0.6.15

I have exactly the same issue. My NZBDrone is running off Raspbian. My SABnzbd version is 0.6.15.

0.6.15 is pretty old (february 2012), you should look into updating.
I think drone isn’t able to fetch the categories via the api, in all likeliness 0.6 returns the configuration differently. I’ll see if I can add a version check to make it more obvious.

Its all running on a clean VM for me, so I dont mind stuffing around to work this out. I purged my SabNZBd+ and reinstalled the new version, it works now. Thanks for the pointer @gearyp and @Taloth

This is what I’ve done:

echo “deb http://ftp.au.debian.org/debian/ testing main contrib non-free” >> /etc/apt/sources.list

This adds the testing mirror to your sources for apt-get. Default pinning should mean that you only install from testing if you explicitly mark it, and dependencies will be grabbed from the same mirror as the base application. This may be different per OS, so not sure on Raspbian, I’m using Debian Wheezy.

apt-get remove --purge sabnzbdplus

This will purge sab and all its configs. Use with caution.

apt-get -t testing install sabnzbdplus

Will install latest version from the testing repository. Now its all working. For the record, this is how I also installed the latest mono. After using the echo, use:

apt-get -t testing install mono-complete

Let me know if you need more help @gearyp to get it running.

So yeah, a version check would be great.

Thanks @wasabi_warrior! I’ll give it a try and shout if I get stuck.