Hi All. Hoping someone can help or point me in the right direction. I use SABnzbd on a QNAP NAS and out of the blue today after restarting my NAS SAB on it won't open. The log on my QNAP for it says the below. Not sure what start daemon failed means and what could have caused that. I didn't change any settings at all. Any help on fixing this would be greatly appreciated!
daemon: NOT active
file (/opt/bin/git): exists
update 'SABnzbd' from remote repository: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: failed!
= ExecuteAndLog()
output: "Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/SABnzbd.py", line 56, in <module>
import sabnzbd
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/__init__.py", line 91, in <module>
import sabnzbd.rss as rss
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/rss.py", line 35, in <module>
import sabnzbd.emailer as emailer
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/emailer.py", line 36, in <module>
from sabnzbd.notifier import check_cat
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/notifier.py", line 36, in <module>
from sabnzbd.newsunpack import create_env
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/newsunpack.py", line 60, in <module>
from sabnzbd.nzbstuff import NzbObject, NzbFile
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/nzbstuff.py", line 89, in <module>
from sabnzbd.deobfuscate_filenames import is_probably_obfuscated
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/deobfuscate_filenames.py", line 38, in <module>
import sabnzbd.utils.file_extension as file_extension
File "/share/CACHEDEV1_DATA/.qpkg/SABnzbd/SABnzbd/sabnzbd/utils/file_extension.py", line 8, in <module>
import puremagic
ModuleNotFoundError: No module named 'puremagic'"
result: [1]
start daemon failed error on QNAP preventing SAB from opening
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: start daemon failed error on QNAP preventing SAB from opening
Hey Marty.
Please login to your NAS via SSH as the 'admin' user and use sherpa to start SABnzbd. This will automatically install the new Python modules required by the latest SABnzbd:
You'll only need to do this once.
Please login to your NAS via SSH as the 'admin' user and use sherpa to start SABnzbd. This will automatically install the new Python modules required by the latest SABnzbd:
Code: Select all
sherpa start sab
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: start daemon failed error on QNAP preventing SAB from opening
Thank you for the reply. I did that and got the below error in Putty
fail: Download & install 'Python3' base modules failed ! result_code: [1]
fail: Download & install 'Python3' specific modules failed ! result_code: [1]
fail: Installed 2 PIP groups failed
fail: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information
fail: Download & install 'Python3' base modules failed ! result_code: [1]
fail: Download & install 'Python3' specific modules failed ! result_code: [1]
fail: Installed 2 PIP groups failed
fail: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information
Re: start daemon failed error on QNAP preventing SAB from opening
I also tried sherpa upgrade SABnzbd and it said no new package is available and did uninstall and install, which gave the same error
Re: start daemon failed error on QNAP preventing SAB from opening
Can you please upload your sherpa log via the 'paste' command?
... then post the generated URL back here?
Code: Select all
sherpa paste log
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: start daemon failed error on QNAP preventing SAB from opening
Uh-oh, I just noticed this. I hope you backed-up your settings first.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: start daemon failed error on QNAP preventing SAB from opening
I didn't, but it's not a big deal. I have uninstalled and reinstalled in the past and it's not hard to set it back up. I am anal and have screenshots of all of it so no issue with starting over.
Sherpa paste log is at https://termbin.com/tsk5
I realized I was running sherpa v210328 and saw on github there was version 210418b. Installed that version of sherpa. I ran sherpa paste log after uninstalling SAB via new version of sherpa, restarting NAS, then installing SAB through new version of sherpa, which gave the below error:
sherpa 210926 • a mini-package-manager for QNAP NAS
fail: Download & install 'Python3' base modules failed ! result_code: [1]
fail: Download & install 'Python3' specific modules failed ! result_code: [1]
fail: Reinstallation of 'Python3 sabyenc3' module failed ! result_code: [1]
fail: Installed 3 PIP groups failed
fail: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information
done: installed 1 dependent QPKG
Sherpa paste log is at https://termbin.com/tsk5
I realized I was running sherpa v210328 and saw on github there was version 210418b. Installed that version of sherpa. I ran sherpa paste log after uninstalling SAB via new version of sherpa, restarting NAS, then installing SAB through new version of sherpa, which gave the below error:
sherpa 210926 • a mini-package-manager for QNAP NAS
fail: Download & install 'Python3' base modules failed ! result_code: [1]
fail: Download & install 'Python3' specific modules failed ! result_code: [1]
fail: Reinstallation of 'Python3 sabyenc3' module failed ! result_code: [1]
fail: Installed 3 PIP groups failed
fail: 'SABnzbd' service operation failed. Check (/var/log/SABnzbd.log) for more information
done: installed 1 dependent QPKG
Re: start daemon failed error on QNAP preventing SAB from opening
No worries.
Thank you. I think your Python modules are messed-up. Can you please run these commands and post the results back here? This can help me track-down this rather elusive issue:
Code: Select all
pip3 list
Code: Select all
opkg list-installed
Code: Select all
sherpa reinstall ew
That's OK, it's only the sherpa QPKG. Your sherpa management script always updates itself if it's been longer than 24 hours since it was last updated.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: start daemon failed error on QNAP preventing SAB from opening
Reinstalled Entware and after that stopped and started SAB via sherpa and that did the trick! Thanks so much for the help. Not sure what happened as I didn't touch Entware. I included what you asked for below anyways just for the heck of it.
pip3 list:
Traceback (most recent call last):
File "/opt/bin/pip3", line 5, in <module>
from pip._internal.cli.main import main
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 8, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 22, in <module>
from pip._internal.cli.progress_bars import BAR_TYPES
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py", line 9, in <module>
from pip._internal.utils.logging import get_indentation
File "/opt/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 14, in <module>
from pip._internal.utils.misc import ensure_dir
File "/opt/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 29, in <module>
from pip._internal.locations import get_major_minor_version, site_packages, user_site
File "/opt/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 9, in <module>
File "/opt/lib/python3.9/site-packages/pip/_internal/locations/_sysconfig.py", line 8, in <module>
ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions' (/opt/lib/python3.9/site-packages/pip/_internal/exceptions.py)
opkg installed
alsa-lib - 1.2.5.1-1
ar - 2.35.2-1
binutils - 2.35.2-1
ca-bundle - 20210119-1
ca-certificates - 20210119-1
coreutils - 8.32-6
coreutils-nice - 8.32-6
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
ffprobe - 4.3.2-1
file - 5.40-4
findutils - 4.8.0-1
gcc - 7.4.0-6a
git - 2.33.0-1
git-http - 2.33.0-1
grep - 3.6-1a
ionice - 2.37-1
lame-lib - 3.100-1
less - 590-1
libatomic - 8.4.0-11
libbfd - 2.35.2-1
libbz2 - 1.0.8-1a
libc - 2.27-11
libctf - 2.35.2-1
libcurl - 7.78.0-1
libdb47 - 4.7.25.4.NC-7
libexpat - 2.4.1-1
libffi - 3.4.2-1
libffmpeg-full - 4.3.2-1
libgcc - 8.4.0-11
libgdbm - 1.19-3
libgmp - 6.2.1-1a
libgnutls - 3.7.2-1
libintl-full - 0.21-2
liblzma - 5.2.5-3
libmagic - 5.40-4
libncurses - 6.2-2a
libncursesw - 6.2-2a
libnettle - 3.7.3-1
libopcodes - 2.35.2-1
libopenssl - 1.1.1k-1
libopus - 1.3.1-3
libpcre - 8.45-1
libpthread - 2.27-11
libpython3 - 3.9.6-2
libreadline - 8.1-1
librt - 2.27-11
libsqlite3 - 3330000-2
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libtirpc - 1.3.2-1
libuuid - 2.37-1
libx264 - 2020-10-26-1
locales - 2.27-9
nano - 5.8-1
objdump - 2.35.2-1
opkg - 2021-06-13-1bf042dd-1
p7zip - 16.02-3
python-pip-conf - 0.1-1
python3 - 3.9.6-2
python3-asyncio - 3.9.6-2
python3-base - 3.9.6-2
python3-certifi - 2020.6.20-1
python3-cffi - 1.14.6-1
python3-cgi - 3.9.6-2
python3-cgitb - 3.9.6-2
python3-codecs - 3.9.6-2
python3-cryptography - 3.4.7-1
python3-ctypes - 3.9.6-2
python3-dbm - 3.9.6-2
python3-decimal - 3.9.6-2
python3-dev - 3.9.6-2
python3-distutils - 3.9.6-2
python3-email - 3.9.6-2
python3-gdbm - 3.9.5-2
python3-lib2to3 - 3.9.6-2
python3-light - 3.9.6-2
python3-logging - 3.9.6-2
python3-lzma - 3.9.6-2
python3-multiprocessing - 3.9.6-2
python3-ncurses - 3.9.6-2
python3-openssl - 3.9.6-2
python3-pip - 21.1.3-1
python3-pkg-resources - 56.0.0-2
python3-ply - 3.11-2
python3-pycparser - 2.20-5
python3-pydoc - 3.9.6-2
python3-readline - 3.9.6-2
python3-setuptools - 56.0.0-2
python3-six - 1.16.0-1
python3-sqlite3 - 3.9.6-2
python3-unittest - 3.9.6-2
python3-urllib - 3.9.6-2
python3-xml - 3.9.6-2
sed - 4.8-3
terminfo - 6.2-2a
unrar - 6.0.6-1
zlib - 1.2.11-3
zoneinfo-asia - 2021a-1
zoneinfo-europe - 2021a-1
pip3 list:
Traceback (most recent call last):
File "/opt/bin/pip3", line 5, in <module>
from pip._internal.cli.main import main
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 8, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 22, in <module>
from pip._internal.cli.progress_bars import BAR_TYPES
File "/opt/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py", line 9, in <module>
from pip._internal.utils.logging import get_indentation
File "/opt/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 14, in <module>
from pip._internal.utils.misc import ensure_dir
File "/opt/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 29, in <module>
from pip._internal.locations import get_major_minor_version, site_packages, user_site
File "/opt/lib/python3.9/site-packages/pip/_internal/locations/__init__.py", line 9, in <module>
File "/opt/lib/python3.9/site-packages/pip/_internal/locations/_sysconfig.py", line 8, in <module>
ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions' (/opt/lib/python3.9/site-packages/pip/_internal/exceptions.py)
opkg installed
alsa-lib - 1.2.5.1-1
ar - 2.35.2-1
binutils - 2.35.2-1
ca-bundle - 20210119-1
ca-certificates - 20210119-1
coreutils - 8.32-6
coreutils-nice - 8.32-6
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
ffprobe - 4.3.2-1
file - 5.40-4
findutils - 4.8.0-1
gcc - 7.4.0-6a
git - 2.33.0-1
git-http - 2.33.0-1
grep - 3.6-1a
ionice - 2.37-1
lame-lib - 3.100-1
less - 590-1
libatomic - 8.4.0-11
libbfd - 2.35.2-1
libbz2 - 1.0.8-1a
libc - 2.27-11
libctf - 2.35.2-1
libcurl - 7.78.0-1
libdb47 - 4.7.25.4.NC-7
libexpat - 2.4.1-1
libffi - 3.4.2-1
libffmpeg-full - 4.3.2-1
libgcc - 8.4.0-11
libgdbm - 1.19-3
libgmp - 6.2.1-1a
libgnutls - 3.7.2-1
libintl-full - 0.21-2
liblzma - 5.2.5-3
libmagic - 5.40-4
libncurses - 6.2-2a
libncursesw - 6.2-2a
libnettle - 3.7.3-1
libopcodes - 2.35.2-1
libopenssl - 1.1.1k-1
libopus - 1.3.1-3
libpcre - 8.45-1
libpthread - 2.27-11
libpython3 - 3.9.6-2
libreadline - 8.1-1
librt - 2.27-11
libsqlite3 - 3330000-2
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libtirpc - 1.3.2-1
libuuid - 2.37-1
libx264 - 2020-10-26-1
locales - 2.27-9
nano - 5.8-1
objdump - 2.35.2-1
opkg - 2021-06-13-1bf042dd-1
p7zip - 16.02-3
python-pip-conf - 0.1-1
python3 - 3.9.6-2
python3-asyncio - 3.9.6-2
python3-base - 3.9.6-2
python3-certifi - 2020.6.20-1
python3-cffi - 1.14.6-1
python3-cgi - 3.9.6-2
python3-cgitb - 3.9.6-2
python3-codecs - 3.9.6-2
python3-cryptography - 3.4.7-1
python3-ctypes - 3.9.6-2
python3-dbm - 3.9.6-2
python3-decimal - 3.9.6-2
python3-dev - 3.9.6-2
python3-distutils - 3.9.6-2
python3-email - 3.9.6-2
python3-gdbm - 3.9.5-2
python3-lib2to3 - 3.9.6-2
python3-light - 3.9.6-2
python3-logging - 3.9.6-2
python3-lzma - 3.9.6-2
python3-multiprocessing - 3.9.6-2
python3-ncurses - 3.9.6-2
python3-openssl - 3.9.6-2
python3-pip - 21.1.3-1
python3-pkg-resources - 56.0.0-2
python3-ply - 3.11-2
python3-pycparser - 2.20-5
python3-pydoc - 3.9.6-2
python3-readline - 3.9.6-2
python3-setuptools - 56.0.0-2
python3-six - 1.16.0-1
python3-sqlite3 - 3.9.6-2
python3-unittest - 3.9.6-2
python3-urllib - 3.9.6-2
python3-xml - 3.9.6-2
sed - 4.8-3
terminfo - 6.2-2a
unrar - 6.0.6-1
zlib - 1.2.11-3
zoneinfo-asia - 2021a-1
zoneinfo-europe - 2021a-1
Re: start daemon failed error on QNAP preventing SAB from opening
Sorry for the double posting. Don't want to click Delete Post and lose the whole thread.
Re: start daemon failed error on QNAP preventing SAB from opening
No worries, I've removed the duplicate post.
Thanks for posting your package list. I'll compare this against mine and see if I can find any differences.
Hmm, sherpa should have restarted your SABnzbd automatically after reinstalling Entware. Did that not happen?
Hint: if you ever want to reinstall a completely fresh copy of SABnzbd and keep your settings, you can use this:
Code: Select all
sherpa backup sab uninstall sab install sab restore sab
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
Re: start daemon failed error on QNAP preventing SAB from opening
I didn't check if it restarted automatically but it's all good now. Thanks again for the help!
Re: start daemon failed error on QNAP preventing SAB from opening
After all that I set up SAB again and it's giving me errors saying:
Essential modules are missing, downloading cannot start
SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
Would you be able to help? Should I start a new topic? Figured it might relate to what's been going with this the whole time, but not sure.
Essential modules are missing, downloading cannot start
SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
Would you be able to help? Should I start a new topic? Figured it might relate to what's been going with this the whole time, but not sure.
Re: start daemon failed error on QNAP preventing SAB from opening
I added all my servers and have it set to add an nzb. It says "fetching" and doesn't start downloading.
Re: start daemon failed error on QNAP preventing SAB from opening
Can you please paste your latest sherpa log online so I can see what happened during the install?
You’ll need to post the new URL for it back here.
You’ll need to post the new URL for it back here.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE