Closed ouija closed 1 year ago
Hi @ouija :)
Can you please try starting SAB with the service script in debug mode?
/etc/init.d/sabnzbd.sh start debug
Are any useful errors shown?
Here's the output when running that debug command:
begin action: start, datetime: Sat May 27 20:47:07 MDT 2023, package: 230527, service: 230527
daemon active: false
auto-update: true
file /opt/bin/git: exists
update 'SABnzbd' from remote repository:
exec: 'cd /tmp; /opt/bin/git -C /share/CACHEDEV3_DATA/.qpkg/SABnzbd/repo-cache clean -f; /opt/bin/git -C /share/CACHEDEV3_DATA/.qpkg/SABnzbd/repo-cache reset --hard origin/master; /opt/bin/git -C /share/CACHEDEV3_DATA/.qpkg/SABnzbd/repo-cache pull'
HEAD is now at 1263068 Set version to 4.0.1
Already up to date.
exec: completed OK
active git branch: 'master'
include rebuild directive for 'ujson' in 'requirements':
exec: 'echo "--no-binary=ujson" >> /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt'
exec: completed OK
include rebuild directive for 'sabctools' in 'requirements':
exec: 'echo "--no-binary=sabctools" >> /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt'
exec: completed OK
exclude problem PyPI modules from 'requirements':
exec: '/bin/sed -i '/^cassandra-driver\|^cffi\|^cryptography\|^dateutil\|^defusedxml\|^Levenshtein\|^mako\|^packaging\|^Pillow\|^psutil\|^pysnmp\|^python-dateutil\|^pyzmq\|^requests\|^six\|^urllib3\|^wifi\|^zeroconf/d' /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt'
exec: completed OK
install PyPI modules from 'requirements':
exec: '. /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/bin/activate && pip install --no-input --upgrade pip -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt'
Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring pyobjc: markers 'sys_platform == "darwin"' don't match your environment
Requirement already satisfied: pip in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (23.1.2)
Requirement already satisfied: sabctools==7.0.2 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 3)) (7.0.2)
Requirement already satisfied: cheetah3==3.2.6.post1 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 4)) (3.2.6.post1)
Requirement already satisfied: pycparser==2.21 in /share/CACHEDEV3_DATA/.qpkg/Entware/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 5)) (2.21)
Requirement already satisfied: feedparser==6.0.10 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 6)) (6.0.10)
Requirement already satisfied: configobj==5.0.8 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 7)) (5.0.8)
Requirement already satisfied: cheroot==9.0.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 8)) (9.0.0)
Requirement already satisfied: cherrypy==18.8.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 9)) (18.8.0)
Requirement already satisfied: jaraco.functools==3.6.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 10)) (3.6.0)
Requirement already satisfied: jaraco.collections==4.1.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 11)) (4.1.0)
Requirement already satisfied: jaraco.text==3.8.1 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 12)) (3.8.1)
Requirement already satisfied: jaraco.classes==3.2.3 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 13)) (3.2.3)
Requirement already satisfied: jaraco.context==4.3.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 14)) (4.3.0)
Requirement already satisfied: more-itertools==9.1.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 15)) (9.1.0)
Requirement already satisfied: zc.lockfile==3.0.post1 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 16)) (3.0.post1)
Requirement already satisfied: tempora==5.2.2 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 17)) (5.2.2)
Requirement already satisfied: pytz==2023.3 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 18)) (2023.3)
Requirement already satisfied: sgmllib3k==1.0.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 19)) (1.0.0)
Requirement already satisfied: portend==3.1.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 20)) (3.1.0)
Requirement already satisfied: chardet==5.1.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 21)) (5.1.0)
Requirement already satisfied: PySocks==1.7.1 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 22)) (1.7.1)
Requirement already satisfied: puremagic==1.15 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 23)) (1.15)
Requirement already satisfied: guessit==3.7.1 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 24)) (3.7.1)
Requirement already satisfied: babelfish==0.6.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 25)) (0.6.0)
Requirement already satisfied: rebulk==3.2.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 26)) (3.2.0)
Requirement already satisfied: ujson==5.7.0 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 33)) (5.7.0)
Requirement already satisfied: notify2==0.3.1 in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from -r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 42)) (0.3.1)
Requirement already satisfied: six in /share/CACHEDEV3_DATA/.qpkg/Entware/lib/python3.10/site-packages (from configobj==5.0.8->-r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 7)) (1.16.0)
Requirement already satisfied: setuptools in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from zc.lockfile==3.0.post1->-r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 16)) (65.6.3)
Requirement already satisfied: python-dateutil in /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/lib/python3.10/site-packages (from guessit==3.7.1->-r /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/requirements.txt (line 24)) (2.8.2)
exec: completed OK
file /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/bin/python3: exists
load ports from configuration file: OK
start daemon:
exec: '. /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/bin/activate && cd /share/CACHEDEV3_DATA/.qpkg/SABnzbd/repo-cache && /share/CACHEDEV3_DATA/.qpkg/SABnzbd/venv/bin/python3 /share/CACHEDEV3_DATA/.qpkg/SABnzbd/repo-cache/SABnzbd.py --daemon --browser 0 --config-file /share/CACHEDEV3_DATA/.qpkg/SABnzbd/config/config.ini --pidfile /var/run/SABnzbd.pid'
Not all required Python modules are available, please check requirements.txt
Missing module: sabctools.sabctools
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
exec: completed, but with errors
failed!
wait for daemon to appear: (no-more than 60 seconds): 1, 2, 3, 4, 5, 6, 7, 8.......
Appears to be an issue with sabctools.sabctools
module missing?
Yep, I think so too. There’s an issue installing any of the many2linux PYPI packages in QTS that requires them to be rebuilt. This should happen automatically.
Can you please run a clean action?
/etc/init.d/sabnzbd.sh clean debug
Excellent, running that /etc/init.d/sabnzbd.sh clean debug
command appears to have rebuilt the modules (including the missing sabctools.sabctools
module) and all is working again.
Thanks for your assistance as always.
Hey,
Did my monthly routine of updates via sherpa and having issues with SABnzbd failing to load now; Running
sherpa check
andsherpa reinstall ew
doesn't seem to have fixed it.Here's the SABnzbd log:
Any help is appreciated!