jcfp wrote: ↑June 24th, 2023, 1:34 am
So it's all setup correctly, and the exact same check the init.d script does also passes. Maybe systemd is using a cached version of the default file, in spite of the daemon-reload? Does the issue persist after a reboot?
Hey, sorry to grab this thread out. I was afk for a few weeks.
So after we fixed the weird systemd issue I am now indeed using the init.d file.
However I can't connect via browser but everything is (apperantly) running and set up correctly.
Code: Select all
$ sudo service sabnzbdplus status
● sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber
Loaded: loaded (/etc/init.d/sabnzbdplus; generated)
Active: active (running) since Mon 2023-07-31 13:53:18 CEST; 2min 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 840 ExecStart=/etc/init.d/sabnzbdplus start (code=exited, status=0/SUCCESS)
Tasks: 23 (limit: 9407)
Memory: 70.4M
CPU: 3.503s
CGroup: /system.slice/sabnzbdplus.service
└─987 /usr/bin/python3 -OO /usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --config-file /home/debian/.sabnzbd/sabnzbd.ini
Jul 31 13:53:15 debianserver systemd[1]: Starting LSB: SABnzbd+ binary newsgrabber...
Jul 31 13:53:18 debianserver sabnzbdplus[840]: Starting SABnzbd+ binary newsgrabber:.
Jul 31 13:53:18 debianserver systemd[1]: Started LSB: SABnzbd+ binary newsgrabber.
Configs:
Code: Select all
$ cat /etc/default/sabnzbdplus
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER=debian
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
CONFIG=/home/debian/.sabnzbd/sabnzbd.ini
# [optional] hostname/ip and port number to listen on:
HOST=debianserver
PORT=8080
# [optional] extra command line options, if any:
EXTRAOPTS=
Code: Select all
$ cat /home/debian/.sabnzbd/sabnzbd.ini
__version__ = 19
__encoding__ = utf-8
[misc]
pre_script = None
REST IS REDACTED BUT CONTENTS INCLUDE USERNAME/PW AND SO ON
So everything is apperantly up, running and correctly configured. But when I want to connect via the browser I just get the standard message of the browser when it can't connect to a website/service.
However as soon as I do this
Code: Select all
$ sudo service sabnzbdplus restart
It runs normally and I can connect to it via the browser??