OneCDOnly / sherpa

A mini-package-manager for QNAP NAS
GNU General Public License v3.0
114 stars 13 forks source link

SABnzbd and Mylar3 stopped working #287

Closed OneCDOnly closed 8 months ago

OneCDOnly commented 8 months ago

Discussed in https://github.com/OneCDOnly/sherpa/discussions/286

Originally posted by **dltyih** February 28, 2024 Can anyone help? SABnzbd and Mylar3 suddenly stopped working and remains "inactive" despite being enabled. Tried starting / activating, reinstalling, and uninstall and then install. Sherpa says For more information: /etc/init.d/sabnzbd.sh log. I followed the path and sabnzbd.sh does not appear to be a log? Many thanks
OneCDOnly commented 8 months ago

Hi mate, I'll do some testing here and see if Mylar is still working since the recent Entware package upgrade. I'll post back shortly.

OneCDOnly commented 8 months ago

Works fine here, so it seems to be a local problem on your NAS.

@dltyih, can you please run the following commands?

First, let's activate the Python virtualenv for Mylar:

. /share/CACHEDEV1_DATA/.qpkg/Mylar3/venv/bin/activate

... Then, check which Mako module your Python virtualenv can see:

pip list -v | grep -i mako

... and lastly, try importing mako as a Python module:

python -c "import mako; print("mako.__version__")"

Please post back what you see.

dltyih commented 8 months ago

Looks like no mako file? I was in Terminal, checked Sherpa Status and confirmed that Mylar3 is still inactive.

I'll attach a screen shot:

IMG_0454

OneCDOnly commented 8 months ago

Let's try installing it manually and see if it throws an error.

Please start by activating the virtual environment again:

. /share/CACHEDEV1_DATA/.qpkg/Mylar3/venv/bin/activate

... then install the mako module:

pip install mako

... then test import it again:

python -c "import mako; print("mako.__version__")"

If the import works, we should see this:

(venv) [~] # python -c "import mako; print("mako.__version__")"
1.3.0
dltyih commented 8 months ago

This worked well - thank you so much! Version that got imported was 1.3.2.

I rebooted the NAS and the two apps are still active. Thank you - really appreciated your help.

OneCDOnly commented 8 months ago

Good work. 🤓

If the problem re-occurs, please reopen this issue, and I'll take another look at it.

Thanks for reporting this.