[OFFICIAL] sabnzbd

Problems with packages? Post here, using [tags] of the package name.

Re: [OFFICIAL] sabnzbd

Postby niko86 » Sun Mar 20, 2011 5:06 pm

pepedog wrote:Did you run updates first?
Be careful and follow this
http://Arch Linux ARM.com/index.php5/PlugApps_February_Update


Edit: fixed that problem by actually reading ygators post :(

I can only get sabnzbd running by using the:

python2 /opt/sabnzbd/python2 SABnzbd.py

Is this fine? Seeing as '/usr/bin/python-config' points to python3 in its first line in nano. Could it be changed to point to python2 or would that break stuff?

I need to add it as a daemon, but having trouble getting it to work.

Also I'm stuck on actually mounting a usb hard drive and specifying sabnzbd to use that as a download directory.

I do enjoy working things out for myself, but I do feel totally out of my depth as a total linux novice.
niko86
 
Posts: 3
Joined: Sun Mar 20, 2011 4:42 pm

Re: [OFFICIAL] sabnzbd

Postby ygator » Mon Mar 21, 2011 5:19 am

They have fixed everything now, though I have not tested from a clean install, but nothing really special to do.
First make sure everything is up to date with
Code: Select all
pacman -Syyu
and then you simply do a
Code: Select all
pacman -S sabnzbd
To start and stop you do
Code: Select all
/etc/rc.d/sabnzbd start
/etc/rc.d/sabnzbd stop
You can also add it to the daemon list at the end of /etc/rc.conf to have it auto start at boot.

Once you have setup sabnzbd you will need to edit /etc/conf.d/sabnzbd and set your api key.
You will also want to set the IP up as well. This is used when doing an /etc/rc.d/sabnzbd stop.

When you setup sabnzbd to put the files to your mounted drive instead of the default you want to make sure it is mounted before starting sabnzbd or else it will reset back to defaults. Also sabnzbd defaults and runs under the sabnzbd user. If you keep it this way you will want to mount the drive with sabnzbd as the owner of the drive. If you don't do this then you will need to have it run under root by changing the user in /etc/conf.d/sabnzbd.
ygator
 
Posts: 94
Joined: Tue Aug 10, 2010 9:37 pm

Re: [OFFICIAL] sabnzbd

Postby niko86 » Mon Mar 21, 2011 10:33 am

Thanks ygator, I'll try a clean install and start from scratch not got anything to lose really :lol:

Is there a total novice guide to Arch Linux ARM? I do ok at scraping together info from the wiki and forum posts, but the majority of information assumes you know what is being talked about. For example mounting a hard drive, proper way to shutdown etc.
niko86
 
Posts: 3
Joined: Sun Mar 20, 2011 4:42 pm

Re: [OFFICIAL] sabnzbd

Postby Parsa » Mon Mar 21, 2011 12:30 pm

niko86 wrote:Is there a total novice guide to Arch Linux ARM? I do ok at scraping together info from the wiki and forum posts, but the majority of information assumes you know what is being talked about. For example mounting a hard drive, proper way to shutdown etc.


Many of those things are not about Arch Linux ARM but arch distro or even more so about linux in general so you can find them out easily yourself using google or even manual command (i.e. "man shutdown" in terminal). :)
PogoPlug v2 Pink
Parsa
 
Posts: 16
Joined: Tue Mar 15, 2011 8:38 am
Location: London, UK

Re: [OFFICIAL] sabnzbd

Postby sporez » Tue Mar 22, 2011 2:21 am

ygator wrote:sabnzbd defaults to running on 8080 which from you netstat it is.
However, it is only listening on the loopback device 127.0.0.1.
You need to change SABNZBD_IP in /etc/conf.d/sabnzbd to that of the IP address of your pogo plug.


sorry for the late reply, but someone in IRC helped me get up and running. Indeed the problem was that I needed to edit the /etc/conf.d/sabnzbd file.

and once sabnzbd was running I had trouble changing some settings and it turned out that the script in /etc/rc.d/sabnzbd was buggy or something and gave me problems when starting it with that, so I ended up replacing it with a script found here.
sporez
 
Posts: 3
Joined: Tue Mar 01, 2011 8:11 pm

Re: [OFFICIAL] sabnzbd

Postby robotron1971 » Fri Apr 01, 2011 4:31 pm

ygator wrote:They have fixed everything now, though I have not tested from a clean install, but nothing really special to do.
First make sure everything is up to date with
Code: Select all
pacman -Syyu
and then you simply do a
Code: Select all
pacman -S sabnzbd
To start and stop you do
Code: Select all
/etc/rc.d/sabnzbd start
/etc/rc.d/sabnzbd stop
You can also add it to the daemon list at the end of /etc/rc.conf to have it auto start at boot.

Once you have setup sabnzbd you will need to edit /etc/conf.d/sabnzbd and set your api key.
You will also want to set the IP up as well. This is used when doing an /etc/rc.d/sabnzbd stop.

When you setup sabnzbd to put the files to your mounted drive instead of the default you want to make sure it is mounted before starting sabnzbd or else it will reset back to defaults. Also sabnzbd defaults and runs under the sabnzbd user. If you keep it this way you will want to mount the drive with sabnzbd as the owner of the drive. If you don't do this then you will need to have it run under root by changing the user in /etc/conf.d/sabnzbd.



Well, after a fresh install, everything seems to work just fine, but stepping through the wizard, it crashes on page 5:
Traceback (most recent call last):
File "/opt/sabnzbd/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/opt/sabnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/sabnzbd/sabnzbd/wizard.py", line 205, in five
info['access_url'], info['urls'] = self.get_access_info()
File "/opt/sabnzbd/sabnzbd/wizard.py", line 222, in get_access_info
addresses = socket.getaddrinfo(host, None)
gaierror: [Errno -2] Name or service not known


curl is installed and up-to-date
any other suggestions?
robotron1971
 
Posts: 11
Joined: Mon Jul 19, 2010 8:06 pm

Re: [OFFICIAL] sabnzbd

Postby pepedog » Fri Apr 01, 2011 4:38 pm

Did you
pacman -Sf iana-etc libnl e2fsprogs
As perhttp://Arch Linux ARM.com/index.php5/PlugApps_February_Update
pepedog
Developer
 
Posts: 2416
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [OFFICIAL] sabnzbd

Postby robotron1971 » Fri Apr 01, 2011 4:41 pm

pepedog wrote:Did you
pacman -Sf iana-etc libnl e2fsprogs



Hmmn. Didn't see that in the instructions.....and now when i try :
failed retrieving file 'libnl-1.1-2-arm.pkg.tar.xz' from Arch Linux ARM.com : Not Found



sigh. Once i get this working again, I think i just need to tar it all up for safe keeping, and never ever upgrade my Arch Linux ARM install again...it is a broken package dependency nightmare ever time......

I appreaciate the help though!
robotron1971
 
Posts: 11
Joined: Mon Jul 19, 2010 8:06 pm

Re: [OFFICIAL] sabnzbd

Postby pepedog » Fri Apr 01, 2011 6:04 pm

Can you
pacman -Syu
If that don't work
pacman -Uf http://Arch Linux ARM.com/arm/core/libnl-1.1-3-arm.pkg.tar.xz
pepedog
Developer
 
Posts: 2416
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [OFFICIAL] sabnzbd

Postby robotron1971 » Fri Apr 01, 2011 6:38 pm

pepedog wrote:Can you
pacman -Syu
If that don't work
pacman -Uf http://Arch Linux ARM.com/arm/core/libnl-1.1-3-arm.pkg.tar.xz


A manual download seems to fix it. Thanks for your help, as always.
robotron1971
 
Posts: 11
Joined: Mon Jul 19, 2010 8:06 pm

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest