linuxserver / docker-sabnzbd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing module: sabctools on latest stable image

FearTheGrackle opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

sabnzbd docker fails on startup after updating to latest image this morning with latest tag

Expected Behavior

sabnzbd was working fine for years, updating whenever a new latest stable update is available. After update today it fails at startup

Steps To Reproduce

  1. Update to latest image today
  2. Unable to load webUI
  3. Check docker logs and find missing sabctools module

Environment

- OS: Synology DSM 7.1.1-42962
- How docker service was installed: command line with docker pull commands, managed by portioner after that.  Used recreate with pull latest image.

CPU architecture

x86-64

Docker creation

docker create --name=sabnzbd3 \
--restart=always \
-v /volume2/docker/sabnzbd3:/config \
-v /volume2/soliddata:/nzbdownloads \
-v /volume1/Downloads:/data \
-e PGID=100 -e PUID=1026 \
-e TZ=America/Chicago \
-p 8080:8080 \
linuxserver/sabnzbd:latest

Container logs

You can read more at: https://sabnzbd.org/wiki/installation/install-off-modules

If you still experience problems, remove all .pyc files in this folder and subfolders

Not all required Python modules are available, please check requirements.txt

Missing module: sabctools
commented

I can't replicate this, have tried on my usual docker host and my Synology NAS with the same results:

2023-05-18 14:51:37,095::INFO::[SABnzbd:425] SABCTools module (v7.0.2)... found!
2023-05-18 14:51:37,095::INFO::[SABnzbd:426] SABCTools module is using SIMD set: SSSE3
2023-05-18 14:51:37,095::INFO::[SABnzbd:427] SABCTools module is linked to OpenSSL: True
2023-05-18 14:51:37,095::INFO::[SABnzbd:446] Cryptography module (v40.0.2)... found!
2023-05-18 14:51:37,096::INFO::[SABnzbd:451] par2 binary... found (/usr/bin/par2)
2023-05-18 14:51:37,096::INFO::[SABnzbd:458] UNRAR binary... found (/usr/local/bin/unrar)
2023-05-18 14:51:37,096::INFO::[SABnzbd:466] UNRAR binary version 6.21
2023-05-18 14:51:37,097::INFO::[SABnzbd:474] 7za binary... found (/usr/bin/7z)
2023-05-18 14:51:37,097::INFO::[SABnzbd:476] 7za binary version 22.01
2023-05-18 14:51:37,097::INFO::[SABnzbd:487] nice binary... found (/bin/nice)
2023-05-18 14:51:37,097::INFO::[SABnzbd:491] ionice binary... found (/bin/ionice)
2023-05-18 14:51:37,099::INFO::[SABnzbd:1438] Starting web-interface on :::8080
2023-05-18 14:51:37,099::INFO::[_cplogging:213] [18/May/2023:14:51:37] ENGINE Bus STARTING

Can you please run a test container with the following:

docker run -d --rm --name=sabtest --tmpfs /config lscr.io/linuxserver/sabnzbd:latest && docker logs -f sabtest

And see if you get the same behaviour (webui obviously won't work because it's not exposing any ports).

root@plexnas:~# docker run -d --rm --name=sabtest --tmpfs /config lscr.io/linuxserver/sabnzbd:latest && docker logs -f sabtest
Unable to find image 'lscr.io/linuxserver/sabnzbd:latest' locally
latest: Pulling from linuxserver/sabnzbd
Digest: sha256:6aa583e74e3fce1dec440878705fc528c87abc5ec2b241b58efa97ac197fc2e4
Status: Downloaded newer image for lscr.io/linuxserver/sabnzbd:latest
8e5f7b28964c7d9b837dc61d219afb6d1347af3efbf46352ca8dc5d8d55d2536
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

To support the app dev(s) visit:
SABnzbd: https://sabnzbd.org/donate

To support LSIO projects visit:
https://www.linuxserver.io/donate/

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

User UID: 911
User GID: 911

[custom-init] No custom files found, skipping...
2023-05-18 15:01:43,820::INFO::[SABnzbd:1170] --------------------------------
2023-05-18 15:01:43,820::INFO::[SABnzbd:1171] SABnzbd.py-4.0.1
2023-05-18 15:01:43,820::INFO::[SABnzbd:1181] Commit = 1263068140dc810548856cc4cab28b8eddd6ab8f
2023-05-18 15:01:43,821::INFO::[SABnzbd:1183] Full executable path = /app/sabnzbd/SABnzbd.py
2023-05-18 15:01:43,822::INFO::[SABnzbd:1184] Arguments = "/app/sabnzbd/SABnzbd.py" "--config-file" "/config" "--server" "::"
2023-05-18 15:01:43,822::INFO::[SABnzbd:1185] Python-version = 3.11.3 (main, May 10 2023, 12:26:31) [GCC 12.2.1 20220924]
2023-05-18 15:01:43,822::INFO::[SABnzbd:1186] Dockerized = True
2023-05-18 15:01:43,823::INFO::[SABnzbd:1187] CPU architecture = x86_64
2023-05-18 15:01:43,827::INFO::[SABnzbd:1190] Platform = posix - Linux-4.4.180+-x86_64-with
2023-05-18 15:01:43,828::INFO::[SABnzbd:1196] Preferred encoding = UTF-8
2023-05-18 15:01:43,828::INFO::[SABnzbd:1218] SSL version = OpenSSL 3.1.0 14 Mar 2023
2023-05-18 15:01:43,831::INFO::[SABnzbd:1227] Certifi version = 2023.05.07
2023-05-18 15:01:43,831::INFO::[SABnzbd:1228] Loaded additional certificates from /lsiopy/lib/python3.11/site-packages/certifi/cacert.pem
2023-05-18 15:01:43,832::INFO::[SABnzbd:1249] Using INI file /config/sabnzbd.ini
2023-05-18 15:01:43,833::INFO::[filesystem:710] Creating directories: /config/Downloads/complete
2023-05-18 15:01:43,833::INFO::[filesystem:710] Creating directories: /config/Downloads/incomplete
2023-05-18 15:01:43,835::INFO::[filesystem:1147] [N/A] /config/admin/totals10.sab missing
2023-05-18 15:01:43,838::INFO::[postproc:134] Loading postproc queue
2023-05-18 15:01:43,838::INFO::[filesystem:1147] [N/A] /config/admin/postproc2.sab missing
2023-05-18 15:01:43,839::INFO::[filesystem:1147] [N/A] /config/admin/watched_data2.sab missing
2023-05-18 15:01:43,840::INFO::[filesystem:1147] [N/A] /config/admin/rss_data.sab missing
2023-05-18 15:01:43,840::INFO::[scheduler:190] Scheduling RSS interval task every 60 min (delay=32)
2023-05-18 15:01:43,841::INFO::[scheduler:201] Scheduling VersionCheck on day 5 at 2:44
2023-05-18 15:01:43,841::INFO::[scheduler:215] Setting schedule for midnight BPS reset
2023-05-18 15:01:43,842::INFO::[scheduler:218] Setting schedule for server expiration check
2023-05-18 15:01:43,842::INFO::[scheduler:223] Setting schedule for server quota check
2023-05-18 15:01:43,842::INFO::[filesystem:1147] [N/A] /config/admin/queue10.sab missing
2023-05-18 15:01:43,845::INFO::[config:999] Writing settings to INI file /config/sabnzbd.ini
2023-05-18 15:01:43,849::INFO::[init:329] All processes started
2023-05-18 15:01:43,849::INFO::[SABnzbd:340] Template location for Glitter is /app/sabnzbd/interfaces/Glitter
2023-05-18 15:01:43,850::INFO::[SABnzbd:340] Template location for Config is /app/sabnzbd/interfaces/Config
2023-05-18 15:01:43,852::INFO::[misc:1169] [N/A] Running external command: ['/usr/local/bin/unrar']
2023-05-18 15:01:43,868::INFO::[misc:1169] [N/A] Running external command: ['/usr/bin/7z']
2023-05-18 15:01:43,876::INFO::[misc:1169] [N/A] Running external command: ['/usr/bin/par2', '-h']
2023-05-18 15:01:43,882::INFO::[SABnzbd:425] SABCTools module (v7.0.2)... found!
2023-05-18 15:01:43,883::INFO::[SABnzbd:426] SABCTools module is using SIMD set: SSSE3
2023-05-18 15:01:43,883::INFO::[SABnzbd:427] SABCTools module is linked to OpenSSL: True
2023-05-18 15:01:43,883::INFO::[SABnzbd:446] Cryptography module (v40.0.2)... found!
2023-05-18 15:01:43,883::INFO::[SABnzbd:451] par2 binary... found (/usr/bin/par2)
2023-05-18 15:01:43,884::INFO::[SABnzbd:458] UNRAR binary... found (/usr/local/bin/unrar)
2023-05-18 15:01:43,884::INFO::[SABnzbd:466] UNRAR binary version 6.21
2023-05-18 15:01:43,884::INFO::[SABnzbd:474] 7za binary... found (/usr/bin/7z)
2023-05-18 15:01:43,885::INFO::[SABnzbd:476] 7za binary version 22.01
2023-05-18 15:01:43,885::INFO::[SABnzbd:487] nice binary... found (/bin/nice)
2023-05-18 15:01:43,885::INFO::[SABnzbd:491] ionice binary... found (/bin/ionice)
2023-05-18 15:01:43,887::INFO::[SABnzbd:1438] Starting web-interface on :::8080
2023-05-18 15:01:43,887::INFO::[_cplogging:213] [18/May/2023:15:01:43] ENGINE Bus STARTING
[ls.io-init] done.
/lsiopy/lib/python3.11/site-packages/cherrypy/process/servers.py:416: UserWarning: Unable to verify that the server is bound on 8080
warnings.warn(msg)
2023-05-18 15:01:49,011::INFO::[_cplogging:213] [18/May/2023:15:01:49] ENGINE Serving on http://:::8080
2023-05-18 15:01:49,011::INFO::[_cplogging:213] [18/May/2023:15:01:49] ENGINE Bus STARTED
2023-05-18 15:01:49,012::INFO::[SABnzbd:1483] Starting SABnzbd.py-4.0.1
2023-05-18 15:01:49,014::INFO::[dirscanner:111] Dirscanner starting up
2023-05-18 15:01:49,015::INFO::[panic:239] Launching browser with http://127.0.0.1:8080/sabnzbd
2023-05-18 15:01:49,018::INFO::[notifier:123] Sending notification: SABnzbd - SABnzbd 4.0.1 started (type=startup, job_cat=None)
2023-05-18 15:01:49,021::INFO::[database:558] Scheduled history purge
2023-05-18 15:01:49,206::INFO::[zconfig:61] No bonjour/zeroconf support installed
2023-05-18 15:01:49,207::INFO::[ssdp:108] Serving SSDP on 172.17.0.4 as SABnzbd

well, not sure why this happened, but removed the old container, deleted local latest image, and re-ran create (after backing up my persistent /config) and now it works. thanks for your time