Page 1 of 1
Since latest QNAP update filebot isn't working anymore
Posted: 12 Dec 2020, 12:44
by cm2003
Hi.
I've been using filebot for a couple years now without any issues.
Since the last update of QTS it has stopped unfortunately.
I've updated to the latest filebot version (both filebot as well as filebot node) and keep getting an error:
Code: Select all
/usr/bin/filebot: line 39: java: command not found
I've installed JRE 8.151.2.1 and Node.js 8.9.4.0.1 still no change.
Any idea what else I can try?
Thank you!
André
Re: Since latest QNAP update filebot isn't working anymore
Posted: 12 Dec 2020, 14:11
by rednoah
Please use the
Java Installer package from our repository:
https://www.filebot.net/linux/qnap.html

Re: Since latest QNAP update filebot isn't working anymore
Posted: 13 Dec 2020, 11:23
by cm2003
Thank you.
I've tried this as well, still got the same error unfortunately.
When I try to open the Java installer no window is opening though. Not sure if this is supposed to be this way?
Re: Since latest QNAP update filebot isn't working anymore
Posted: 13 Dec 2020, 12:57
by rednoah
Java Installer does not have a UI. It'll simply install the
java command-line tool on start if it's not installed yet. Newer versions of QTS may or may not automatically start 3rd party packages though, so you might have to manually start it every time.

The log for that will be in the corresponding
.qpkg folder:
Code: Select all
$ find / -name '*.log' | grep java
/share/CACHEDEV1_DATA/.qpkg/java-installer/install-java.log
Re: Since latest QNAP update filebot isn't working anymore
Posted: 13 Dec 2020, 16:36
by cm2003
Code: Select all
Warning: Illegal date format for -z, --timecond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 862 100 862 0 0 2304 0 --:--:-- --:--:-- --:--:-- 2636
cmp: EOF on /share/CACHEDEV1_DATA/.qpkg/java-installer/get-java.sh.asc
[Sat Dec 12 13:31:00 CET 2020: AUTO UPDATE
Warning: Illegal date format for -z, --timecond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3778 100 3778 0 0 11265 0 --:--:-- --:--:-- --:--:-- 11345
gpg: keyring `/share/CACHEDEV1_DATA/.qpkg/java-installer/.gnupg/pubring.gpg' created
gpg: Signature made Mon Nov 23 12:08:35 2020 CET using RSA key ID 7C3C6A71
gpg: /share/CACHEDEV1_DATA/.qpkg/java-installer/.gnupg/trustdb.gpg: trustdb created
gpg: key 7C3C6A71 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Reinhard Pointner <[email protected]>"
[GNUPG:] TRUST_ULTIMATE
Download https://download.java.net/java/GA/jdk15.0.1/51f4f36ad4ef43e39d0dfdbaf6549e32/9/GPL/openjdk-15.0.1_linux-x64_bin.tar.gz
Sun Dec 13 12:00:57 CET 2020: Add environment variables to /etc/profile
Sun Dec 13 12:21:08 CET 2020: Add environment variables to /etc/profile
Not sure if that's supposed to be all? But I can't see an error within the log.
Re: Since latest QNAP update filebot isn't working anymore
Posted: 13 Dec 2020, 17:00
by rednoah
cm2003 wrote: ↑13 Dec 2020, 16:36
Not sure if that's supposed to be all? But I can't see an error within the log.
Looks good to me. What does
find / -name java say? What does
which java say? What does
ls -l /usr/bin/ say?
Re: Since latest QNAP update filebot isn't working anymore
Posted: 13 Dec 2020, 20:16
by cm2003
Which java doesn't give me anything.
I'm currently on a business trip with limited access to my NAS. Running everything from my phone right now
I also noticed that even more got f'ed up by the update... My docker traefik isn't working anymore either. I think I'll change my entire setup and use my NAS as a NAS again and use a raspberry pi for my docker stuff. I think I will run filebot on a RPI too. I'm really annoyed by qnap right now...
Re: Since latest QNAP update filebot isn't working anymore
Posted: 14 Dec 2020, 09:11
by cm2003
Hello again.
Thanks for your support so far

I've managed to figure out why everything stopped working (but have not fixed filebot yet) - QTS blocks all apps without a valid signature. I was able to start them from there new ssh console and now traefik is working again.
For that reason I'm now trying to fix filebot too.
I've removed everything filebot related (filebot, filebot node, Node.js, java - interestingly two java installers wer available in the console, I've removed both)
Now I'm currently trying to install java from your repo but it seems to be stuck at 80% for the past 20 minutes. The github entry says that it might take long to download the package, but should it take that long? I'm at a 150 Mbps line.
-edit-
Just checked the log and the folder where the log is stored. It's still downloading the package

Will update you once this has finished.
Re: Since latest QNAP update filebot isn't working anymore
Posted: 14 Dec 2020, 09:18
by rednoah
cm2003 wrote: ↑14 Dec 2020, 09:11
The github entry says that it might take long to download the package, but should it take that long? I'm at a 150 Mbps line.
Observing
/share/CACHEDEV1_DATA/.qpkg/java-installer/install-java.log should show you what's going on.
The
java-installer code is simple and easy to read, and effectively boils down to running this script, so you compare with the log to see what it's doing and where it's stuck, assuming that it is stuck somewhere:
https://github.com/rednoah/java-install ... et-java.sh
Re: Since latest QNAP update filebot isn't working anymore
Posted: 14 Dec 2020, 10:08
by cm2003
The installation took about 1 hour

Did a fresh installation of filebot as well and now everything seems to be working - hooray
Thank you for your brilliant support!
Very much appreciated!