SABnzbd Configuration Stuck on Install Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
hughesjs
Posts: 2
Joined: Thu Feb 20, 2020 9:31 pm

SABnzbd Configuration Stuck on Install

Post by hughesjs »

I'm just installing DietPi for the first time on my Ras Pi 4.

All of the software installations seem to go fine but then SABnzbd gets stuck at the configuration stage. No errors, it just sticks.

Any ideas?
DietPi-Software
─────────────────────────────────────────────────────
Mode: Configuring SABnzbd: nzb download manager

[ INFO ] DietPi-Software | Generating initial config, please wait...
User avatar
Joulinar
Posts: 2091
Joined: Sat Nov 16, 2019 12:49 am

Re: SABnzbd Configuration Stuck on Install

Post by Joulinar »

hmm strange, I tried it on my VM system right now without issues

Code: Select all

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Configuring SABnzbd: nzb download manager

[ INFO ] DietPi-Software | Generating initial config, please wait...
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: download_dir = /mnt/dietpi_userdata/downloads/incomplete
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: complete_dir = /mnt/dietpi_userdata/downloads/complete
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: nzb_backup_dir = /mnt/dietpi_userdata/downloads/sabnzbd_nzb_backup
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: admin_dir = /mnt/dietpi_userdata/downloads/sabnzbd_admin
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: log_dir = /var/log/sabnzbd
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: log_level = 0
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: refresh_rate = 2
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: host = 0.0.0.0
[  OK  ] DietPi-Software | Setting in /etc/sabnzbd/sabnzbd.ini adjusted: permissions = 0775
[  OK  ] DietPi-Software | Desired setting in /etc/sabnzbd/sabnzbd.ini was already set: auto_browser = 0
[  OK  ] DietPi-Software | python2.7 tools/make_mo.py
did you tried to reboot und retry?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
hughesjs
Posts: 2
Joined: Thu Feb 20, 2020 9:31 pm

Re: SABnzbd Configuration Stuck on Install

Post by hughesjs »

Hi,

Yeah I tried that a couple of times.

In the end I just went and installed it manually from the PPA so at least I've got it working but something's up with the installer.

Are there any logs I could send over that might help?
User avatar
Joulinar
Posts: 2091
Joined: Sat Nov 16, 2019 12:49 am

Re: SABnzbd Configuration Stuck on Install

Post by Joulinar »

well the installer was working fine for me. So there is no general issue.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
marcoboy
Posts: 8
Joined: Mon Mar 09, 2020 9:35 am

Re: SABnzbd Configuration Stuck on Install

Post by marcoboy »

I actually encountered a same problem on raspberry pi 4.

Install gets stuck at the same point, after restart SABnzbd fails to install or start.

I did notice a error message during the install informing something about old/wrong python version (2.7 vs >3).

Here is systemd status log for the SABnzbd (if that helps at all...):

Code: Select all

 ● sabnzbd.service - SABnzbd (DietPi)
│    Loaded: loaded (/etc/systemd/system/sabnzbd.service; disabled; vendor
│ preset: enabled)
│    Active: failed (Result: exit-code) since Mon 2020-03-09 08:30:28 GMT;
│ 1min 13s ago
│      Docs: https://sabnzbd.org/wiki/
│   Process: 855 ExecStart=/usr/bin/python2.7 -OO /etc/sabnzbd/SABnzbd.py -b 0
│-f /etc/sabnzbd/sabnzbd.ini (code=exited, status=1/FAILURE)
│  Main PID: 855 (code=exited, status=1/FAILURE)
│
│ Mar 09 08:30:28 DietPi systemd[1]: sabnzbd.service: Service RestartSec=100ms
│ expired, scheduling restart.
│ Mar 09 08:30:28 DietPi systemd[1]: sabnzbd.service: Scheduled restart job,
│ restart counter is at 5.
│ Mar 09 08:30:28 DietPi systemd[1]: Stopped SABnzbd (DietPi).
│ Mar 09 08:30:28 DietPi systemd[1]: sabnzbd.service: Start request repeated
│ too quickly.
│ Mar 09 08:30:28 DietPi systemd[1]: sabnzbd.service: Failed with result
│ 'exit-code'.
│ Mar 09 08:30:28 DietPi systemd[1]: Failed to start SABnzbd (DietPi).
User avatar
Joulinar
Posts: 2091
Joined: Sat Nov 16, 2019 12:49 am

Re: SABnzbd Configuration Stuck on Install

Post by Joulinar »

can you check journalctl if there are some error messages listed?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
marcoboy
Posts: 8
Joined: Mon Mar 09, 2020 9:35 am

Re: SABnzbd Configuration Stuck on Install

Post by marcoboy »

Here you go (errors only) :)

Code: Select all

-- Logs begin at Mon 2020-03-09 09:00:11 GMT, end at Mon 2020-03-09 12:25:02 GMT. --
Mar 09 09:00:11 DietPi kernel: bcm2708_fb soc:fb: Unable to determine number of FB's. Assuming 1
Mar 09 09:00:11 DietPi kernel: raspberrypi-firmware soc:firmware: Request 0x00048003 returned status 0x80000001
Mar 09 09:00:11 DietPi kernel: bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
Mar 09 09:00:11 DietPi kernel: bcm2708_fb soc:fb: probe failed, err -22
Mar 09 09:00:11 DietPi kernel: vc_vchi_sm_init: failed to open VCHI service (-1)
Mar 09 09:00:11 DietPi kernel: [vc_sm_connected_init]: failed to initialize shared memory service
Mar 09 09:00:11 DietPi kernel: vc_sm_cma_vchi_init: failed to open VCHI service (-1)
Mar 09 09:00:11 DietPi kernel: [vc_sm_connected_init]: failed to initialize shared memory service
Mar 09 09:00:58 DietPi systemd[1]: Failed to start SABnzbd (DietPi).
-- Subject: A start job for unit sabnzbd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit sabnzbd.service has finished with a failure.
--
-- The job identifier is 612 and the job result is failed.
Mar 09 10:25:21 DietPi kernel: CIFS VFS: Autodisabling the use of server inode numbers on \\192.168.86.24\tv. This s
erver doesn't seem to support them properly. Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option
 to silence this message.
User avatar
Joulinar
Posts: 2091
Joined: Sat Nov 16, 2019 12:49 am

Re: SABnzbd Configuration Stuck on Install

Post by Joulinar »

hmm not sure if they are related but seems you have an issue to initialize shared memory service next to sabnzbd.service failing.

So let's try to get rid of shared memory stuff. Can you have a look to /Dietpi/config.txt. There should be a GPU Memory area. I guess it's set to 16. Maybe you can try setting it to 32 and reboot your system. At least it should clean these messages I hope 8)

Reagrding SABnzbd, can you check SABnzbd Log file? Maybe there are some useful information

Code: Select all

cat /var/log/sabnzbd/sabnzbd.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
marcoboy
Posts: 8
Joined: Mon Mar 09, 2020 9:35 am

Re: SABnzbd Configuration Stuck on Install

Post by marcoboy »

Thanks for investigating this error :) I updated the mem settings and the error changed a bit, but still majority remains.

Code: Select all

-- Logs begin at Mon 2020-03-09 16:33:26 GMT, end at Mon 2020-03-09 16:34:51 GMT. --
Mar 09 16:33:26 DietPi kernel: bcm2708_fb soc:fb: Unable to determine number of FB's. Assuming 1
Mar 09 16:33:26 DietPi kernel: raspberrypi-firmware soc:firmware: Request 0x00048003 returned status 0x80000001
Mar 09 16:33:26 DietPi kernel: bcm2708_fb soc:fb: Failed to allocate GPU framebuffer (-22)
Mar 09 16:33:26 DietPi kernel: bcm2708_fb soc:fb: probe failed, err -22
Mar 09 16:34:13 DietPi systemd[1]: Failed to start SABnzbd (DietPi).
-- Subject: A start job for unit sabnzbd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit sabnzbd.service has finished with a failure.
--
-- The job identifier is 612 and the job result is failed.
I don't seem to have the directory "sabnzbd" or the log file in "log" directory. This could be a problem in it self? Every other software I have installed seem to have a log file present (openvpn, sonarr)
marcoboy
Posts: 8
Joined: Mon Mar 09, 2020 9:35 am

Re: SABnzbd Configuration Stuck on Install

Post by marcoboy »

BTW: I don't know why it would matter but this is a 4GB version of the RPI 4.
Post Reply