Since updating Sabnzbd to 4.2.1 on my Qnap nas, scripts don't work.
When I go to the dropdown list "On queue finish", the only available option is Shutdown SABnzbd. All the other scripts in the scripts folder don't show up. I checked the location of the scripts folder in the folders menu and it is correct (Default). The scripts are still in the folder, so I don't know why they don't show up.
I am not alone to have this problem:
https://forum.qnap.com/viewtopic.php?p=857645#p857645
Scripts not working
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: Scripts not working
#Metoo!
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: Scripts not working
This part of the code didn't change.. We just run a simple listing of the files on your selected folder.
It checks if you have Read permissions and the X bits have been set on the scripts.
https://github.com/sabnzbd/sabnzbd/blob ... em.py#L587
It checks if you have Read permissions and the X bits have been set on the scripts.
https://github.com/sabnzbd/sabnzbd/blob ... em.py#L587
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Scripts not working
Just did a test: went back to SABnzbd 4.1.0 (running from source), and it correctly lists my scripts in the same environment 4.2.1 doesn't.
I'll continue checking the later releases and see if I can find out where it stopped working.
I'll continue checking the later releases and see if I can find out where it stopped working.
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: Scripts not working
update:
- works in 4.2.0Alpha1
- works in 4.2.0Alpha2
- not working in 4.2.0Alpha3
- not working in 4.2.0Beta1
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: Scripts not working
Might be this? https://github.com/sabnzbd/sabnzbd/comm ... b7f5a7f00a
It looks like 'interfaces/Glitter/templates/include_menu.tmpl' had some changes related to end-of-queue operations.
It looks like 'interfaces/Glitter/templates/include_menu.tmpl' had some changes related to end-of-queue operations.
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: Scripts not working
Ah, I now realise this selection box was moved from the front SABnzbd page, into Config -> Switches -> Queue -> On queue finish script.
So, not a bug, just a change.
So, not a bug, just a change.
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: Scripts not working
It's in the 4.2.0 release notes which is also part of the 4.2.1 release notes
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Scripts not working
I even post those release notes on the QNAP forum. I should probably read them a little closer though.
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