Search found 21 matches

by kallek
January 16th, 2024, 1:19 pm
Forum: Bug Reports
Topic: Scripts not working
Replies: 8
Views: 1569

Scripts not working

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 a...
by kallek
July 10th, 2023, 12:15 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails [Qnap NAS]

I downloaded unrar from Rarlabs site and replaced Entware's buggy beta version with the downloaded executable and have been using it since, but when SABnzbd was updated to version 4 I had some problems and had to reinstall Entware. The executable was overwritten with Entware's beta version and when ...
by kallek
September 19th, 2022, 3:09 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails

Bah, I should have said that 6.10 beta 3 is the ONLY version available via Entware. ;D AFAIK, we can't go back a version in Entware. An alternative is to install @QNAP_Stephane's Unrar QPKG. I think he's on 6.0.6 at the moment. I'd like to confirm this but the Qnapclub site is down (again). Is it p...
by kallek
August 8th, 2022, 7:26 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails

I got an answer back in the OpenWRT forum that I don't understand. Can someone please explain what I can do next?

https://github.com/openwrt/openwrt/issues/10417
by kallek
August 8th, 2022, 12:44 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails

Aaah, now I see. The problem is your unrar version, you should update to 6.10 stable. So not the beta. At the moment, 6.10 beta 3 is the latest version available via Entware, so we're stuck with it for now. :( @kallek, maybe try asking @zyxmon if he can update the 'unrar' package to a later version...
by kallek
August 6th, 2022, 11:48 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails

The unrar output of course, you clipped it after the first line but that's the one that will tell us what's wrong. Here are the following lines: 2022-08-04 19:50:28,573::INFO::[directunpacker:444] DirectUnpacked volume 1 for sometestfile-1GB 2022-08-04 19:50:29,022::INFO::[directunpacker:220] Error...
by kallek
August 6th, 2022, 10:06 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails

safihre wrote: August 6th, 2022, 3:37 am There's not more lines?
There are alot of lines in the logfile, but those are the ones I thought relevant. Is there anything else in particular that I should look for, or should I paste the whole file?
by kallek
August 4th, 2022, 1:04 pm
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Re: Direct unpack fails

Seems maybe a timing issue. Try a different download maybe? For example the test download in the Status window. So I tried a test download and this is what I get: 2022-08-04 19:50:28,573::INFO::[directunpacker:444] DirectUnpacked volume 1 for sometestfile-1GB 2022-08-04 19:50:29,022::INFO::[directu...
by kallek
August 1st, 2022, 12:52 am
Forum: General Help
Topic: Direct unpack fails [Qnap NAS]
Replies: 19
Views: 3971

Direct unpack fails [Qnap NAS]

I installed Sabnzbd on a Qnap NAS via the sherpa script (https://forum.qnap.com/viewtopic.php?f=320&t=132373) but I can't get direct unpack to work. I enabled debug logging and the first download I tested stopped direct unpack after four rar-files were downloaded with the error: Unexpected end o...
by kallek
April 5th, 2019, 1:28 pm
Forum: Post-Processing Scripts
Topic: Error with ISO unpack script
Replies: 6
Views: 4350

Re: Error with ISO unpack script

@kallek, you might also check which 7zips are available. It seems QTS Busybox contains one version, but you should also have an Entware version installed. The order they are found depends on your $PATH. The 'default' is the first one found. type -a 7z Which one is shown first? When I run type - 7z ...
by kallek
April 5th, 2019, 12:59 am
Forum: Post-Processing Scripts
Topic: Error with ISO unpack script
Replies: 6
Views: 4350

Re: Error with ISO unpack script

"7-Zip cannot find the code that works with archives" ... when I google that, it's all about 7zip on Windows ... So: where are you running 7z on? I'm running the script on the Qnap NAS so 7zip is also running on the NAS. I found this thread with someone getting the same error on a QNAP: h...
by kallek
April 4th, 2019, 8:29 am
Forum: Post-Processing Scripts
Topic: Error with ISO unpack script
Replies: 6
Views: 4350

Error with ISO unpack script

I found this script for "unpacking" iso-files after download is finished: #!/bin/sh cd "$1" mkdir unpack cd unpack # pwd 7z x ../*.iso 7z x ../*.ISO 7z x ../*/*.iso 7z x ../*/*.ISO I'm trying to run it on my QNAP NAS but get the following error: "7-Zip cannot find the code t...
by kallek
March 21st, 2019, 1:35 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 8141

Re: Trouble using scripts on Qnap NAS

Your [shutdown.sh] script should be in [/share/Download/nzbToMedia/], correct? I had made a new folder in [share/Download/Scripts] and pointed sabnzbd to use that folder. When I moved my script to [/share/Download/nzbToMedia/] it works! I can now execute the script from sabnzbd upon queue completio...
by kallek
March 20th, 2019, 1:47 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 8141

Re: Trouble using scripts on Qnap NAS

How did you install SABnzbd? Sherpa script? Yes, I used the Sherpa script. Don't expose any services running on your QNAP to the Internet. Either use a reverse-proxy or VPN into your LAN. Ok, So I setup a VPN on my router. Only thing I haven't got to work is Wake On LAN, so I still have to expose a...
by kallek
March 19th, 2019, 1:43 am
Forum: Post-Processing Scripts
Topic: Trouble using scripts on Qnap NAS
Replies: 12
Views: 8141

Re: Trouble using scripts on Qnap NAS

Maybe SABnzbd is running as a user with other, less rights? Maybe n o rights to run the script and/or to run /sbin/poweroff ? In QTS, almost all apps run with $EUID = 0. It's not ideal. :( It looks as if Sabnzbd is running as user admin. I have disabled the admin user in QTS, but I guess Sabnzbd is...