Skip to content

[BUG] Container fails to restart from web gui #259

@MED1975

Description

@MED1975

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

From the web hamburger menu, selecting restart does not restart SABnzbd. Instead the containers gets stuck and the only way to resolve is by stopping and starting the container again from the command line.

I have noticed this has been happening for a long time now, I finally recreated the container and imported my backup yet the issue persists. I am using version 4.55 of your container.

Expected Behavior

The container gracefully stops and starts back up.

Steps To Reproduce

  1. Open the web server for SABnzbd
  2. Select the hamburger menu top right
  3. Select the restart option
  4. Message appears in the browser confirming that SABnzbd will restart
  5. SABnzbd does not restart - instead you have to 'docker stop Sabnzbd && docker start sabnzbd' to regain access.

Environment

- OS: Ubuntu 24.04.3 LTS
- How docker service was installed: apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

CPU architecture

x86-64

Docker creation

services:
  sabnzbd:
    image: lscr.io/linuxserver/sabnzbd:latest
    container_name: sabnzbd
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - ./config:/config
      - /mnt/nas/temp/Downloads/Complete:/downloads
      - /mnt/nas/temp/Downloads/Incomplete:/incomplete-downloads
    ports:
      - 8080:8080
    restart: unless-stopped

Container logs

Logs taken after the restart and at time of crash:

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.5.5-ls236
Build-date: 2025-10-30T02:20:52+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
2025-11-14 10:05:28,866::INFO::[SABnzbd:1134] --------------------------------
2025-11-14 10:05:28,866::INFO::[SABnzbd:1135] SABnzbd.py-4.5.5
2025-11-14 10:05:28,866::INFO::[SABnzbd:1136] Full executable path = /app/sabnzbd/SABnzbd.py
2025-11-14 10:05:28,866::INFO::[SABnzbd:1137] Arguments = "/app/sabnzbd/SABnzbd.py" "--config-file" "/config" "--server" "::"
2025-11-14 10:05:28,867::INFO::[SABnzbd:1146] Certifi version = 2025.10.05
2025-11-14 10:05:28,867::INFO::[SABnzbd:1147] Loaded additional certificates from /lsiopy/lib/python3.12/site-packages/certifi/cacert.pem
2025-11-14 10:05:28,867::INFO::[SABnzbd:1153] Using INI file /config/sabnzbd.ini
2025-11-14 10:05:28,868::INFO::[postproc:141] Loading postproc queue
2025-11-14 10:05:28,868::INFO::[scheduler:191] Scheduling RSS interval task every 60 min (delay=10)
2025-11-14 10:05:28,869::INFO::[scheduler:200] Scheduling version check in 10 minutes and daily at 18:42
2025-11-14 10:05:28,869::INFO::[scheduler:215] Setting schedule for midnight auto history-purge
2025-11-14 10:05:28,869::INFO::[scheduler:224] Setting schedule for midnight BPS reset
2025-11-14 10:05:28,869::INFO::[scheduler:233] Setting schedule for midnight server expiration check
2025-11-14 10:05:28,869::INFO::[scheduler:242] Setting schedule for server quota check
2025-11-14 10:05:28,869::INFO::[__init__:306] All processes started
2025-11-14 10:05:28,869::INFO::[SABnzbd:337] Template location for Glitter is /app/sabnzbd/interfaces/Glitter
2025-11-14 10:05:28,869::INFO::[SABnzbd:337] Template location for Config is /app/sabnzbd/interfaces/Config
2025-11-14 10:05:28,870::INFO::[misc:1324] [N/A] Running external command: ['/usr/bin/unrar']
2025-11-14 10:05:28,871::INFO::[misc:1324] [N/A] Running external command: ['/usr/bin/7zz']
2025-11-14 10:05:28,873::INFO::[misc:1324] [N/A] Running external command: ['/usr/local/bin/par2', '-V']
2025-11-14 10:05:28,875::INFO::[SABnzbd:422] SABCTools module (v8.2.6)... found!
2025-11-14 10:05:28,875::INFO::[SABnzbd:423] SABCTools module is using SIMD set: SSSE3
2025-11-14 10:05:28,875::INFO::[SABnzbd:424] SABCTools module is linked to OpenSSL: True
2025-11-14 10:05:28,875::INFO::[SABnzbd:441] Cryptography module (v46.0.3)... found!
2025-11-14 10:05:28,875::INFO::[SABnzbd:444] par2 binary... found (/usr/local/bin/par2)
2025-11-14 10:05:28,875::INFO::[SABnzbd:451] UNRAR binary... found (/usr/bin/unrar)
2025-11-14 10:05:28,875::INFO::[SABnzbd:459] UNRAR binary version 7.13
2025-11-14 10:05:28,876::INFO::[SABnzbd:466] 7za binary... found (/usr/bin/7zz)
2025-11-14 10:05:28,876::INFO::[SABnzbd:468] 7za binary version 24.09
2025-11-14 10:05:28,876::INFO::[SABnzbd:474] nice binary... found (/bin/nice)
2025-11-14 10:05:28,876::INFO::[SABnzbd:478] ionice binary... found (/bin/ionice)
2025-11-14 10:05:28,876::INFO::[SABnzbd:1350] Starting web-interface on :::8080
2025-11-14 10:05:28,876::INFO::[_cplogging:213] [14/Nov/2025:10:05:28] ENGINE Bus STARTING
2025-11-14 10:05:28,979::INFO::[_cplogging:213] [14/Nov/2025:10:05:28] ENGINE Serving on http://:::8080
2025-11-14 10:05:28,979::INFO::[_cplogging:213] [14/Nov/2025:10:05:28] ENGINE Bus STARTED
2025-11-14 10:05:28,979::INFO::[SABnzbd:1389] Starting SABnzbd.py-4.5.5
2025-11-14 10:05:28,980::INFO::[dirscanner:112] Dirscanner starting up
2025-11-14 10:05:28,981::INFO::[panic:239] Launching browser with http://127.0.0.1:8080/sabnzbd
2025-11-14 10:05:28,981::INFO::[notifier:166] Sending notification: SABnzbd - SABnzbd 4.5.5 started (type=startup, job_cat=None)
2025-11-14 10:05:28,982::INFO::[__init__:460] Commit = 11ba9ae12ade8c8f2abb42d44ea35efdd361fae5
2025-11-14 10:05:28,982::INFO::[__init__:461] Python-version = 3.12.12 (main, Oct 11 2025, 15:09:54) [GCC 14.2.0]
2025-11-14 10:05:28,982::INFO::[__init__:462] CPU architecture = x86_64
2025-11-14 10:05:28,982::INFO::[__init__:463] Platform = Docker
2025-11-14 10:05:28,982::INFO::[__init__:464] JSON-module = orjson 3.11.3
2025-11-14 10:05:28,982::INFO::[__init__:465] Preferred encoding = UTF-8
2025-11-14 10:05:28,982::INFO::[__init__:466] SSL version = OpenSSL 3.5.4 30 Sep 2025
2025-11-14 10:05:29,180::INFO::[misc:97] /incomplete-downloads is not writable with special character filenames. This can cause problems.
2025-11-14 10:05:29,306::INFO::[misc:97] /downloads is not writable with special character filenames. This can cause problems.
2025-11-14 10:05:29,307::INFO::[zconfig:61] No bonjour/zeroconf support installed
2025-11-14 10:05:29,307::INFO::[ssdp:108] Serving SSDP on 172.23.0.2 as SABnzbd
[ls.io-init] done.
2025-11-14 10:17:47,787::INFO::[api:747] Restart requested by API
2025-11-14 10:17:48,788::INFO::[SABnzbd:1449] Performing triggered restart
2025-11-14 10:17:48,788::INFO::[__init__:419] [N/A] Performing SABnzbd shutdown
2025-11-14 10:17:48,788::INFO::[__init__:336] SABnzbd shutting down...
2025-11-14 10:17:48,789::INFO::[ssdp:102] Stopping SSDP
2025-11-14 10:17:48,789::INFO::[directunpacker:551] Aborting all DirectUnpackers
2025-11-14 10:17:48,789::INFO::[notifier:166] Sending notification: SABnzbd - Shutting down (type=startup, job_cat=None)
2025-11-14 10:17:48,790::INFO::[downloader:643] Shutting down
2025-11-14 10:17:48,790::INFO::[nzbqueue:230] Saving queue
2025-11-14 10:17:48,790::INFO::[postproc:136] Saving postproc queue
2025-11-14 10:17:48,791::INFO::[__init__:405] All processes stopped
2025-11-14 10:17:48,791::INFO::[_cplogging:213] [14/Nov/2025:10:17:48] ENGINE Bus STOPPING
2025-11-14 10:17:48,802::INFO::[_cplogging:213] [14/Nov/2025:10:17:48] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 8080)) shut down
2025-11-14 10:17:48,802::INFO::[_cplogging:213] [14/Nov/2025:10:17:48] ENGINE Bus STOPPED
2025-11-14 10:17:48,802::INFO::[_cplogging:213] [14/Nov/2025:10:17:48] ENGINE Bus EXITING
2025-11-14 10:17:48,802::INFO::[_cplogging:213] [14/Nov/2025:10:17:48] ENGINE Bus EXITED
2025-11-14 10:17:48,802::INFO::[_cplogging:213] [14/Nov/2025:10:17:48] ENGINE Re-spawning python3 /app/sabnzbd/SABnzbd.py --config-file /config --server ::

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions