Mine was still set to /opt/sabnzbd
, so I got to test it. You can't change it while running, so I think most will get the error and be told to do it themselves after stopping.
Search Criteria
Package Details: sabnzbd 4.3.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/sabnzbd.git (read-only, click to copy) |
---|---|
Package Base: | sabnzbd |
Description: | A web-interface based binary newsgrabber with NZB file support |
Upstream URL: | http://www.sabnzbd.org |
Keywords: | network usenet |
Licenses: | GPL |
Submitter: | esh |
Maintainer: | fryfrog |
Last Packager: | fryfrog |
Votes: | 269 |
Popularity: | 0.25 |
First Submitted: | 2007-11-09 16:21 (UTC) |
Last Updated: | 2024-05-05 15:16 (UTC) |
Dependencies (40)
- apprise
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR)
- par2cmdline (par2cmdline-turbo-gitAUR, par2cmdline-gitAUR, par2cmdline-turboAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-babelfish
- python-cffi
- python-chardet
- python-cheetah3
- python-cheroot
- python-cherrypy
- python-configobj
- python-cryptography
- python-dateutil
- python-feedparser
- python-guessit
- python-jaraco.classes
- python-jaraco.collections
- python-jaraco.context
- python-jaraco.functools
- python-jaraco.text
- python-more-itertools
- python-notify2
- python-portend
- python-puremagic
- python-pycparser (python-pycparser-gitAUR)
- python-pysocks
- python-pytz
- python-rebulk
- python-sabctoolsAUR
- python-sabyenc3AUR
- python-sgmllib3k
- python-six
- python-tempora
- python-zc.lockfile
- sqlite (sqlite-fossilAUR)
- unrar (rarAUR)
- unzip (unzip-natspecAUR, unzip-zstdAUR)
- dbus-python (optional) – for system power management
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (optional) – for .7z support
- python-orjson (python-orjson-gitAUR) (optional) – ~2x faster than ujson, requires rust
Required by (14)
- headphones (optional)
- headphones-git (optional)
- lidarr (optional)
- lidarr-develop (optional)
- lidarr-git (optional)
- lidarr-nightly (optional)
- radarr (optional)
- radarr-develop (optional)
- radarr-nightly (optional)
- readarr-develop (optional)
- readarr-nightly (optional)
- sonarr (optional)
- sonarr-develop (optional)
- whisparr-nightly (optional)
Sources (5)
Latest Comments
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 64 Next › Last »
fryfrog commented on 2020-08-09 15:36 (UTC)
francoism90 commented on 2020-08-09 08:44 (UTC)
$ cat /etc/passwd | grep sab
sabnzbd:x:977:977:SABnzbd user:/opt/sabnzbd:/sbin/nologin
I think you indeed need to run usermod as well.
fryfrog commented on 2020-08-09 06:01 (UTC)
@mhicklen: Can you confirm the user's homedir isn't getting changed? The package is using sabnzbd.sysusers, so I'd think that would override?
fryfrog commented on 2020-08-09 06:00 (UTC)
@francoism90: That is a good idea, I switched to cp
to get the folders to /var/lib/sabnzbd
and then just added .saved
to the files/folders left in /opt
. That way they can't accidentally overwrite the new files in /var/lib/sabnzbd
and anything running from /opt/sabnzbd
will stop working still.
francoism90 commented on 2020-08-09 05:02 (UTC)
I would suggest to use cp instead of moving the config files to the new location and/or maybe just copy everything as SAB should convert does if I'm not mistaking.
hicklemon commented on 2020-08-08 23:06 (UTC)
@fryfrog I ran into some issues.
I think we'll need a usermod to update the homedir for the user.
I think we'll also need a way of ensuring that things get moved or copied over proper. I lost all my settings, and my custom postprocessing scripts weren't brought over, either.
I'm having trouble with the new version now -- I've blown it completely away from the disk and reinstalled and I can't get it to start up, even when dropping into a shell for the user. The python script doesn't output anything. Will continue to tinker.
martinm1000 commented on 2020-08-05 03:50 (UTC)
@fryfrog
You can forget this, it works !
I changed the Group=%I to Group=users
I don't known why it worked before and just stopped, and if its related to systemd or sabnzbd.
martinm1000 commented on 2020-08-05 03:44 (UTC) (edited on 2020-08-05 03:45 (UTC) by martinm1000)
@fryfrog
Here is my old file that do not work anymore, but the ExecStart does work when running in a terminal:
[Unit]
Description=SABnzbd binary newsreader
After=network.target
[Service]
User=%I
Group=users
Type=simple
SyslogIdentifier=sabnzbd
ExecStart=/usr/lib/sabnzbd/SABnzbd.py --logging 0 --browser 0 --config-file /home/%I/.sabnzbd.ini
[Install]
WantedBy=multi-user.target
As described in https://wiki.archlinux.org/index.php/SABnzbd#Running_SABnzbd_as_a_user_w/_systemd
My ~/.sabnzbd.ini is a directory, but the problem isn't there.
fryfrog commented on 2020-08-05 03:41 (UTC)
@martinm1000: I don't use that method of .service
, can you describe a little bit about how you do it and I can try it on mine?
Pinned Comments
fryfrog commented on 2024-04-30 04:23 (UTC)
Arch updated Python to 3.12, you need to re-build/re-install python-sabyenc3 and python-sabctools!
Using
paru
:@hoban, thanks for reminding me to post about this!