SABnzbd hangs after URLGrabber line

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

SABnzbd hangs after URLGrabber line

Post by EmPleh »

Hi all,

I have been installing SABnzbd/Sickbeard over the weekend on Open Media Vault. I am a complete Linux n00b so stick with me. I have googled and searched these forums for my problem but haven't found much, so hopefully it is not a repeated question. Sorry if so.

So I have followed tutorials on loading SABnzbd, but when I run it using the 'SABnzbd.py -c sabnzbd.ini' command (or any for of running it) it gets so far as the URLGrabber line and then hangs.

I have also tried changing the host in the ini file (in .SABnzbd folder) from 0.0.0.0, to the server address, back to 0.0.0.0

SABnzbd is actually accessible via the web gui, but with ssh hung on the URLGrabber line, I am unable to do anything else.

I saw in another thread someone say
That's the last line in the log with a normal program startup. Time to start feeding it nzbs.
Which obviously sounds great, but is it right that once SABnzbd has been started, ssh is then unusable?

Below is the log:

root@XBMCServer:/opt/SABnzbd-0.7.6# python SABnzbd.py -c sabnzbd.ini
2012-12-02 20:53:04,860::INFO::[SABnzbd:1256] --------------------------------
2012-12-02 20:53:04,861::INFO::[SABnzbd:1257] SABnzbd.py-0.7.6 (rev=bc6b3091ebf54e7739235198f9bd054d1e190e0c)
2012-12-02 20:53:04,861::INFO::[SABnzbd:1269] Platform = posix
2012-12-02 20:53:04,861::INFO::[SABnzbd:1270] Python-version = 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
2012-12-02 20:53:04,862::INFO::[SABnzbd:1271] Arguments = SABnzbd.py -c sabnzbd.ini
2012-12-02 20:53:04,862::INFO::[SABnzbd:1284] Read INI file /root/.sabnzbd/sabnzbd.ini
2012-12-02 20:53:04,864::INFO::[misc:1288] Cannot remove folder /root/.sabnzbd/admin
2012-12-02 20:53:04,865::INFO::[__init__:921] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2012-12-02 20:53:04,866::INFO::[__init__:924] /root/.sabnzbd/admin/bookmarks.sab missing, trying old cache
2012-12-02 20:53:04,866::INFO::[__init__:927] /root/.sabnzbd/cache/bookmarks.sab missing
2012-12-02 20:53:04,867::INFO::[__init__:921] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2012-12-02 20:53:04,867::INFO::[__init__:924] /root/.sabnzbd/admin/rss_data.sab missing, trying old cache
2012-12-02 20:53:04,868::INFO::[__init__:927] /root/.sabnzbd/cache/rss_data.sab missing
2012-12-02 20:53:04,868::INFO::[__init__:921] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2012-12-02 20:53:04,868::INFO::[__init__:924] /root/.sabnzbd/admin/totals9.sab missing, trying old cache
2012-12-02 20:53:04,869::INFO::[__init__:927] /root/.sabnzbd/cache/totals9.sab missing
2012-12-02 20:53:04,974::INFO::[postproc:90] Loading postproc queue
2012-12-02 20:53:04,975::INFO::[__init__:921] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2012-12-02 20:53:04,975::INFO::[__init__:924] /root/.sabnzbd/admin/postproc1.sab missing, trying old cache
2012-12-02 20:53:04,975::INFO::[__init__:927] /root/.sabnzbd/cache/postproc1.sab missing
2012-12-02 20:53:04,976::INFO::[__init__:921] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2012-12-02 20:53:04,977::INFO::[__init__:924] /root/.sabnzbd/admin/queue9.sab missing, trying old cache
2012-12-02 20:53:04,977::INFO::[__init__:927] /root/.sabnzbd/cache/queue9.sab missing
2012-12-02 20:53:04,978::INFO::[__init__:921] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2012-12-02 20:53:04,979::INFO::[__init__:924] /root/.sabnzbd/admin/watched_data.sab missing, trying old cache
2012-12-02 20:53:04,979::INFO::[__init__:927] /root/.sabnzbd/cache/watched_data.sab missing
2012-12-02 20:53:04,980::INFO::[downloader:208] Resuming
2012-12-02 20:53:04,981::INFO::[__init__:323] All processes started
2012-12-02 20:53:04,981::INFO::[SABnzbd:334] Web dir is /opt/SABnzbd-0.7.6/interfaces/Plush
2012-12-02 20:53:04,982::INFO::[SABnzbd:334] Web dir is /opt/SABnzbd-0.7.6/interfaces/Config
2012-12-02 20:53:04,993::INFO::[SABnzbd:463] _yenc module... found!
2012-12-02 20:53:04,994::INFO::[SABnzbd:471] par2 binary... found (/usr/bin/par2)
2012-12-02 20:53:04,994::INFO::[SABnzbd:479] unrar binary... found (/usr/sbin/unrar)
2012-12-02 20:53:04,994::INFO::[SABnzbd:484] unzip binary... found (/usr/bin/unzip)
2012-12-02 20:53:04,995::INFO::[SABnzbd:490] nice binary... found (/usr/bin/nice)
2012-12-02 20:53:04,995::INFO::[SABnzbd:494] ionice binary... found (/usr/bin/ionice)
2012-12-02 20:53:04,995::INFO::[SABnzbd:499] pyOpenSSL... found (True)
2012-12-02 20:53:04,998::INFO::[SABnzbd:1483] Starting web-interface on 0.0.0.0:8080
2012-12-02 20:53:04,999::INFO::[_cplogging:55] [02/Dec/2012:20:53:04] ENGINE Bus STARTING
2012-12-02 20:53:05,004::INFO::[_cplogging:55] [02/Dec/2012:20:53:05] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-12-02 20:53:05,107::INFO::[_cplogging:55] [02/Dec/2012:20:53:05] ENGINE Serving on 0.0.0.0:8080
2012-12-02 20:53:05,108::INFO::[_cplogging:55] [02/Dec/2012:20:53:05] ENGINE Bus STARTED
2012-12-02 20:53:06,823::INFO::[SABnzbd:1552] Starting SABnzbd.py-0.7.6
2012-12-02 20:53:06,826::INFO::[dirscanner:265] Dirscanner starting up
2012-12-02 20:53:06,829::INFO::[urlgrabber:77] URLGrabber starting up
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd hangs after URLGrabber line

Post by sander »

I see nothing problematic. You should now access SABnzbd via your webbrowser, and put a NZB into it.
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

Re: SABnzbd hangs after URLGrabber line

Post by EmPleh »

Yeah, like I said it runs fine and I can access it via the web gui.

But ssh is just stuck on the last line so I cant do anything with it unless I quit it. Is that normal? Is there anyway I can run SAB, let it finish and allow me to continue using ssh?
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd hangs after URLGrabber line

Post by sander »

Ah, now I understand.

Open Media Vault seems to be based on Debian Linux. If so, does the file /etc/default/sabnzbdplus exist? If so, find the line "USER=", and append the username you're using on your Open Media Vault (check with "whoami"). Save the file, and reboot your system.
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

Re: SABnzbd hangs after URLGrabber line

Post by EmPleh »

Ah yeah, I checked that earlier.

That dir doesn't actually exist.
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd hangs after URLGrabber line

Post by sander »

EmPleh wrote:Ah yeah, I checked that earlier.

That dir doesn't actually exist.
It's not a dir, but a file.

Anyway: how did you install: the tar.gz-file, or the PPA for Ubuntu/Debian?
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

Re: SABnzbd hangs after URLGrabber line

Post by EmPleh »

I used the tar.gz-file and extracted it to /opt

/opt/SABnzbd-.0.7.6
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd hangs after URLGrabber line

Post by sander »

EmPleh wrote:I used the tar.gz-file and extracted it to /opt

/opt/SABnzbd-.0.7.6
That explains it.

Does "sudo apt-get install sabnzbdplus" work on your system?
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

Re: SABnzbd hangs after URLGrabber line

Post by EmPleh »

I get a Python error:

/opt# sudo apt-get install sabnzbdplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sabnzbdplus : Depends: python (>= 2.6.6-7~) but 2.6.6-3+squeeze7 is to be installed
E: Broken packages
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd hangs after URLGrabber line

Post by sander »

Ah. I'm not sure how to solve that. Maybe:

sudo apt-get update
sudo apt-get upgrade

... and then try again.
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

Re: SABnzbd hangs after URLGrabber line

Post by EmPleh »

Tried that, lots of updates seem to run but still end up with the same error:

sudo apt-get install sabnzbdplus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sabnzbdplus : Depends: python (>= 2.6.6-7~) but 2.6.6-3+squeeze7 is to be installed
E: Broken packages

Thanks for your help so far, maybe someone else has an idea of what to do?
User avatar
jcfp
Release Testers
Release Testers
Posts: 1022
Joined: February 7th, 2008, 12:45 pm

Re: SABnzbd hangs after URLGrabber line

Post by jcfp »

Looks like the result of mixing (binary) packages from various debian releases. Did you download and install a separate deb file? Post the output of apt-cache policy python sabnzbdplus
EmPleh
Newbie
Newbie
Posts: 7
Joined: December 2nd, 2012, 3:55 pm

Re: SABnzbd hangs after URLGrabber line

Post by EmPleh »

I think you're correct.

I hadn't realised there was an automated installation process for Open Media Vault on their forum:

http://forums.openmediavault.org/viewtopic.php?f=13&t=6

The first post instructs you how to install it and other plug-ins.

Can't believe I wasted hours trying to do it manually when that took 5 minutes
Post Reply