sabnzbd install on arch/manajro issues?

Not sure if I understand your issue completely. Is the issue getting it to start up via Systemd, or that part works but then you can't access the downloaded files with your normal user account?

I am mostly curious about this, as I want to redo my whole sabnzbd/sickbeard/ect setup on CentOS 7 which also uses systemd, and was thinking of using some of the Arch guides to help me with the systemd part, however I will be managing my install with salt states.
 
I haven't used sabnzb in ages (or any nzb client/app/daemon for that matter). Last time I used sabnzbd all the downloaded files had root permissions set, which I understood the reasons for. Now I can't get it started using the various methods described in that wiki and the arch wiki usually never fails to deliver. systemd fails to start it.

Apparently one can simply extract the package to a folder and launch the relevant file with python2 which I'll give a bash tomorrow as I'm just gatvol right now.
 
there`s a rather comprehensive sabnzb guide on these forums
google it

Show me one that applies to arch or systemd?

Setting up sabnzbd is piss, if you can get it started. It's not the first time i've installed & used sabnzbd either.
 
Last edited:
Interesting. I never had my files downloaded by sabnzbd set as root ownership or permissions, but that is because I have always had it run as a specific user. The systemd startup also let you run as a specific user.

At this point it will help if you show us the sabnzbd configs you use, systemd file, and perhaps the journal log specific to sabnzbd startup. Something like "journalctl" when it failed or "systemctl status sabnzbd". Check out https://wiki.archlinux.org/index.php/systemd#Troubleshooting for systemd troubleshooting. You can tail the journal with "journalctl -f", -f stands for "follow" or something like that.

ps. @ponder, I am highly surprised that you are having issues with it, as I know you are more of an advanced to expert than most users when it come to linux. That said, its a good idea to get to know systemd now, as it is part of CentOS 7/RHEL 7 and will be in debian/ubuntu later on.
 
What is the user that the process runs as?
I have set everything (xbmc, sabnzb, etc) to all run as the "xbmc" user. This works well because I do not have to worry about file permissions.
If it is not, look at the setting under /etc/default/<appname>
 
Not yet but it looks similar to the one in the arch wiki at a quick glance.
 
I think you are just lazy.

I followed the most basic steps to install sabnzbd on my work archlinux pc...and it worked without even trying.

Command 1: pbfetch -S sabnzbd
^^ you can use yaourt instead of pbfetch, thats just what I used at the time when I built this install

Command 2:
sudo systemctl start sabnzbd

Command 3 confirms that it is working.
Code:
tinuva@wadavidb-nix ~ % sudo systemctl status sabnzbd
? sabnzbd.service - SABnzbd binary newsreader
   Loaded: loaded (/usr/lib/systemd/system/sabnzbd.service; disabled)
   Active: active (running) since Wed 2014-07-16 15:25:06 SAST; 37s ago
 Main PID: 21901 (SABnzbd.py)
   CGroup: /system.slice/sabnzbd.service
           +-21901 /usr/bin/python2 -OO /opt/sabnzbd/SABnzbd.py -l0

Command 4 confirms it really really is working:
Code:
tinuva@wadavidb-nix ~ % ps aux | grep SABnzbd | grep -v grep
sabnzbd  21901  0.2  1.4 1475796 86044 ?       Ssl  15:25   0:01 /usr/bin/python2 -OO /opt/sabnzbd/SABnzbd.py -l0
Ok so it runs by default as the sabnzbd user on Archlinux. No biggie, you can go change that if you really want to, heck I could have edited the PKGBUILD before install if I used yaourt instead of pbfetch.

Command 5 confirms it really really is listening on the default port of 8080 (which is also in /opt/sabnzbd/sabnzbd.ini)
Code:
tinuva@wadavidb-nix ~ % sudo netstat -ntpl   
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      21901/python2

Browsing to http://localhost:8080/ shows the quick start wizard.

Oh and best of all, didn't use any guide to get it up and running, systemctl file was already there.
 
If I was lazy I would not have tried this about six times. I'm also on a fresh install. Maybe I should just format and start again.
Tell us a bit more as to how you tried to install it, and paste some logs or status outputs so that people can help. It is very difficult trying to figure out what went wrong with the little bit of information you supplied thus far. I am not trying to be a douche here, but the urge is strong with zero information, and actually wanting to help.

Did you build the AUR package yourself or user a tool like yaourt which automatically pulls in the dependencies for you?
 
I did a format and started again. It now works using the standard install running as sabnzbd user which is not really what I wanted but I see one can set the completed folder permissions from within sabnzbd to whatever one wants, so I set it to 755.
 
Top
Sign up to the MyBroadband newsletter
X