[OFFICIAL] sabnzbd

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

Re: [OFFICIAL] sabnzbd

Postby L11 » Thu Feb 16, 2012 8:37 pm

Hi. I've read all the threads I can but I still can't work out why i can't connect to my sabnzbd web server (just get a page not found in chrome).. It's installed correctly, and starts without any errors.

Netstat shows this

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:8200 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
tcp6 0 0 :::139 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::445 :::* LISTEN

Which, according to a previous post, means that it's not listening externally, so i edited the config file, but still no joy! What am I missing?
L11
 
Posts: 2
Joined: Thu Feb 16, 2012 8:21 pm

Re: [OFFICIAL] sabnzbd

Postby WarheadsSE » Thu Feb 16, 2012 9:30 pm

tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN

Here's your problem ^ it is only listening from localhost.
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3481
Joined: Mon Oct 18, 2010 2:12 pm

Re: [OFFICIAL] sabnzbd

Postby L11 » Thu Feb 16, 2012 10:02 pm

That's what I figured, but how do i fix it, I've already edited the config file to say


# Set the protocol, IP and port
SABNZBD_PROTOCOL="http"
SABNZBD_IP="192.168.0.4"
SABNZBD_PORT="8080"
L11
 
Posts: 2
Joined: Thu Feb 16, 2012 8:21 pm

Re: [OFFICIAL] sabnzbd

Postby rgb » Mon Feb 20, 2012 11:40 am

Hi,

I have an annoying problem:
I recently bought a pogoplug running now Archlinuxarm (of course ;)) with sabnzbd and sickbeard. On my MacbookPro sabnzbd has no problems fetching nzbs given by sickbeard. But on my pogoplug it fails:
Code: Select all
https://api.nzbmatrix.com/v1.1/download.php?id=xxxxx&username=xxxxxxx&apikey=xxxxxxxx&scenename=1 - URL Fetching failed; ()

Adding nzbs manually works fine. Temporarily setted sickbeard to "Blackhole" and its loading...
Everything is right: my nzbmatrix username, the API etc... Tried to generate new Api several times, but with no luck. Also connections to the ssl-Server by Astraweb (US & EU) are failing, which is also not the case on my MBP:
Code: Select all
[Errno 111] Failed to connect: (0, 'Error') -1@ssl-us.astraweb.com:563


Because everything works fine on my MBP, I thought it has to be a problem with the configuration of Arch? Maybe SSL configuration? You see, I'm new in that and hope you will help me :)

[SOLVED]: restarting sabnzbd with --clear solved all problems...
rgb
 
Posts: 1
Joined: Mon Feb 20, 2012 11:27 am

Re: [OFFICIAL] sabnzbd

Postby Chemodile » Sun Apr 08, 2012 12:28 am

minmao wrote:One more question, it seems sabnzbd does not allow me to change the downolad directory.
I tried to point the download folder to the mounted hdd drive (the system is on a small flash drive), however, whenever I tried to change the download folder, I got the following:

ERROR: download_dir directory: /media/Download/incomplete error accessing

I could tried both the GUI and changed the .ini file. Neither work.
What shall I do? Thanks!

I'm having this problem as well, and have been trying all day to solve it. It SEEMS like a permissions problem, so that's where I've been focusing my efforts, but nothing seems to work.

Here's what I've tried so far:
- chmod 777 on the folder and all subfolders that I'm attempting to point sab to.
- chown these folders to sabnzbd. I've noticed that I can issue these commands (as root) without any errors, but the settings don't seem to actually change. Possibly something to do with the mount parameters? I'm using udev-automount from the sticky in this forum.
- Added various secondary groups to the sabnzbd user (disk, storage, optical, and even root just to test when nothing else worked. As far as I can tell it should only need 'disk' permissions, but the error persists even when the sabnzbd user belongs to root!)

Very frustrating that I've finally got all the software I want running nicely, but the entire setup is bottlenecked by the fact that sab can't use my hard drive.

edit: Solution found and detailed two posts down, hopefully this helps someone.
Last edited by Chemodile on Sun Apr 08, 2012 2:58 pm, edited 1 time in total.
Chemodile
 
Posts: 2
Joined: Sun Apr 08, 2012 12:04 am

Re: [OFFICIAL] sabnzbd

Postby WarheadsSE » Sun Apr 08, 2012 12:55 am

Dumb ? What is the FS on this hard drive it can't use?
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3481
Joined: Mon Oct 18, 2010 2:12 pm

Re: [OFFICIAL] sabnzbd

Postby Chemodile » Sun Apr 08, 2012 1:01 am

WarheadsSE wrote:Dumb ? What is the FS on this hard drive it can't use?

NTFS. Thanks for the hint, I finally got this all sorted out without any undesirable side effects.

SAB apparently doesn't like the mount parameters used by udev-automount so I removed it and set up my own. Here are the steps I took:

Remove automount:
Code: Select all
pacman -R udev-automount


Unmount the NTFS partition you want SAB to save to.
Code: Select all
umount /media/{Your mount point}


Find the UUID of said partition.
Code: Select all
blkid


Output should look something like this. The partition we're looking for is the one with TYPE="ntfs"
Code: Select all
[root@alarm ~]# blkid
/dev/sda1: UUID="7a18d305-a9c3-4c6d-98c4-cb3d45aa2037" TYPE="ext2"
/dev/sdb1: LABEL="DVR" UUID="01CD1614230ACDC0" TYPE="ntfs"
/dev/sdb2: UUID="a0ca2678-0808-487d-bccf-41245c68f2f3" TYPE="swap"
[root@alarm ~]#


Edit /etc/fstab and add the following line, making sure to replace the UUID with the one you found using blkid. Also make sure to keep an empty newline at the end of /etc/fstab or you'll get warning messages about it later.
Code: Select all
UUID=01CD1614230ACDC0 /media/DVR ntfs-3g rw,umask=0000,defaults 0 0


Create your mount point if it doesn't already exist.
Code: Select all
mkdir /media/DVR


And mount the partition.
Code: Select all
mount /media/DVR


I also gave disk permissions to the user that SABnzbd runs under but this may or may not actually be necessary. If you do this, make sure the user is correct, as it can vary depending on how you installed SAB. It's easy to check by using the 'top' command while SAB is running.
Code: Select all
usermod -a -G disk sabnzbd


At this point you should be good. Make sure to go back into SAB and change the folders, as it will have likely reset them to default when you unmounted the drive.

I also set up a script called 'attach' that I run manually when I connect the drive, which mounts the NTFS partition, restores my sabnzbd.ini from a backup file (to fix the folder settings,) and activates the swap partition that I've set up on the same drive. Eventually I'd like to be able to do this all automatically when the drive is connected, but I haven't figured out how to do that yet.
Code: Select all
[root@alarm ~]# cat /usr/sbin/attach
#!/bin/bash
mount /media/DVR
cp /opt/sabnzbd/sabnzbd.ini.fix /opt/sabnzbd/sabnzbd.ini
swapon /dev/sdb2
free
[root@alarm ~]#
Chemodile
 
Posts: 2
Joined: Sun Apr 08, 2012 12:04 am

Re: [OFFICIAL] sabnzbd

Postby chaskito » Sat Apr 21, 2012 9:54 pm

PORTS!!!! This was mentioned previously, but I want to iterate how important this is for efficient use of sab on these little servers. I was having miserable problems with sab running my pogo P01 really "hot" ie. sysload around 5-6.5.

My usenet provider allowed 50 ports so I allowed sab to use that many. Big mistake. In SABnzbd under "config - servers" - I changed the ports to 40 (no change) then down to 30. Now I get consistent download speeds (max out my dl speed) and don't choke the pogo. I also changed the setting under "config - switches - queue" so that while a job is being verified and repaired downloading is paused allowing more efficient use of resources.

Hope this helps someone, I know I was getting frustrated - -
chaskito
 
Posts: 26
Joined: Sun Feb 27, 2011 8:50 pm

Re: [OFFICIAL] sabnzbd

Postby Snerler » Mon Jun 18, 2012 3:34 pm

Sabnzbd is now showing that there is an update available. Is there going to be an update through pacman in the near future?
Snerler
 
Posts: 21
Joined: Fri May 11, 2012 2:52 am

Re: [OFFICIAL] sabnzbd

Postby caderoux » Wed Jul 25, 2012 3:53 am

I updated my system with pacman -Syu and it just updated sabnzbd, but the web interface is not coming up at http://192.168.1.197:8080/sabnzbd/ like it was before.

The only thing I see in the logs for today is this (notice the first line, which I'm not sure why since I have been able to download fine using nzbmatrix and a Chrome plugin)

Code: Select all
2012-07-24 21:27:46,742::WARNING::[interface:196] API Key missing, please enter the api key from Config->General into your 3rd party program:
2012-07-24 21:27:46,946::WARNING::[__init__:161] Signal 15 caught, saving and exiting...
2012-07-24 21:27:46,949::INFO::[nzbqueue:174] Saving queue
2012-07-24 21:27:47,666::INFO::[__init__:880] Saving data for queue9.sab in /opt/sabnzbd/admin/queue9.sab
2012-07-24 21:27:47,670::INFO::[__init__:880] Saving data for totals9.sab in /opt/sabnzbd/admin/totals9.sab
2012-07-24 21:27:47,708::INFO::[__init__:880] Saving data for rss_data.sab in /opt/sabnzbd/admin/rss_data.sab
2012-07-24 21:27:47,711::INFO::[__init__:880] Saving data for bookmarks.sab in /opt/sabnzbd/admin/bookmarks.sab
2012-07-24 21:27:47,728::INFO::[__init__:880] Saving data for watched_data.sab in /opt/sabnzbd/admin/watched_data.sab
2012-07-24 21:27:47,731::INFO::[postproc:84] Saving postproc queue
2012-07-24 21:27:47,734::INFO::[__init__:880] Saving data for postproc1.sab in /opt/sabnzbd/admin/postproc1.sab
2012-07-24 22:23:39,247::INFO::[SABnzbd:1259] --------------------------------
2012-07-24 22:23:39,270::INFO::[SABnzbd:1260] SABnzbd.py-0.7.2 (rev=7170325df56fcc39749b19d6a5c1e70c4dbe28f9)
2012-07-24 22:23:39,272::INFO::[SABnzbd:1272] Platform = posix
2012-07-24 22:23:39,274::INFO::[SABnzbd:1273] Python-version = 2.7.3 (default, Apr 29 2012, 15:21:38)
[GCC 4.6.3]
2012-07-24 22:23:39,276::INFO::[SABnzbd:1274] Arguments = /opt/sabnzbd/SABnzbd.py -f /opt/sabnzbd/sabnzbd.ini -s 127.0.0.1:8080 -d
2012-07-24 22:23:39,278::INFO::[SABnzbd:1287] Read INI file /opt/sabnzbd/sabnzbd.ini
2012-07-24 22:23:39,303::INFO::[__init__:904] Loading data for bookmarks.sab from /opt/sabnzbd/admin/bookmarks.sab
2012-07-24 22:23:39,320::INFO::[__init__:904] Loading data for rss_data.sab from /opt/sabnzbd/admin/rss_data.sab
2012-07-24 22:23:39,324::INFO::[__init__:904] Loading data for totals9.sab from /opt/sabnzbd/admin/totals9.sab
2012-07-24 22:23:39,332::INFO::[postproc:90] Loading postproc queue
2012-07-24 22:23:39,335::INFO::[__init__:904] Loading data for postproc1.sab from /opt/sabnzbd/admin/postproc1.sab
2012-07-24 22:23:39,340::INFO::[__init__:904] Loading data for queue9.sab from /opt/sabnzbd/admin/queue9.sab
2012-07-24 22:23:39,743::INFO::[__init__:904] Loading data for watched_data.sab from /opt/sabnzbd/admin/watched_data.sab
2012-07-24 22:23:39,771::INFO::[downloader:208] Resuming
2012-07-24 22:23:39,773::INFO::[__init__:314] All processes started
2012-07-24 22:23:39,776::INFO::[SABnzbd:333] Web dir is /opt/sabnzbd/interfaces/Plush
2012-07-24 22:23:39,801::INFO::[SABnzbd:333] Web dir is /opt/sabnzbd/interfaces/Config
2012-07-24 22:23:40,200::INFO::[SABnzbd:462] _yenc module... found!
2012-07-24 22:23:40,204::INFO::[SABnzbd:470] par2 binary... found (/usr/bin/par2)
2012-07-24 22:23:40,206::INFO::[SABnzbd:478] unrar binary... found (/usr/bin/unrar)
2012-07-24 22:23:40,208::INFO::[SABnzbd:483] unzip binary... found (/usr/bin/unzip)
2012-07-24 22:23:40,230::INFO::[SABnzbd:489] nice binary... found (/usr/bin/nice)
2012-07-24 22:23:40,232::INFO::[SABnzbd:493] ionice binary... found (/usr/bin/ionice)
2012-07-24 22:23:40,234::INFO::[SABnzbd:498] pyOpenSSL... found (True)
2012-07-24 22:23:40,294::INFO::[SABnzbd:1470] Starting web-interface on 127.0.0.1:8080
2012-07-24 22:23:40,299::INFO::[_cplogging:55] [24/Jul/2012:22:23:40] ENGINE Bus STARTING
2012-07-24 22:23:40,460::INFO::[_cplogging:55] [24/Jul/2012:22:23:40] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-07-24 22:23:40,749::INFO::[_cplogging:55] [24/Jul/2012:22:23:40] ENGINE Serving on 127.0.0.1:8080
2012-07-24 22:23:40,755::INFO::[_cplogging:55] [24/Jul/2012:22:23:40] ENGINE Bus STARTED
2012-07-24 22:23:40,783::INFO::[notifier:87] Sending registration to localhost:23053
2012-07-24 22:23:41,920::INFO::[SABnzbd:1539] Starting SABnzbd.py-0.7.2
2012-07-24 22:23:41,939::INFO::[dirscanner:265] Dirscanner starting up
2012-07-24 22:23:41,951::INFO::[urlgrabber:77] URLGrabber starting up
[root@alarm logs]#
caderoux
 
Posts: 43
Joined: Sat Jun 30, 2012 3:46 am

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest