Page 1 of 2

rm: cannot remove '/usr/local/filebot-node': Is a directory

Posted: 29 Mar 2020, 20:54
by limera1n
Hello! I have filebot (4.9.0) and filebot node (0.2.9) installed on my synology nas (ds414). I use a simple script looking for files in downloads folder that runs filebot if there are any. The script is scheduled to run every 5 minutes via task scheduler. Everything was working like a charm until recent update of java installer (to 2.13). Firstly, the script stopped working without me changing anything (except for updating java installer in package center). When I tried to run filebot through filebot node I got the error that there are no files for selection (even though there were files in downloads folder). I tried reinstalling java installer and filebot and it helped but only for a short while. Ever since filebot was very unstable. I tried playing around with different versions of filebot, filebot node and java installer but none of this fixed the problem. Sometimes deleting excludes file would help. The last issue I got is an unknown error on filebot node launch. It appeared after I reinstalled it the last time and it looks like a window with synology logo and a cross. It appears on launch and whenever I try to do anything in filebot node. So now I cant even activate filebot license because I am accessing my nas remotely and cant ssh into it. I came across a thread with the similar problem and the issue was that node.js was missing. But I have it installed. I cant access log file because again I cant use cli. Is there anything that could be done at the moment (I am not sure when I will be able to access my nas from local network)? Any help will be greatly appreciated, I got so used to filebot.

Re: Filebot node: error on launch

Posted: 29 Mar 2020, 20:59
by rednoah
What does the error message say? Screenshots?


:idea: Please read How to Request Help.

Re: Filebot node: error on launch

Posted: 29 Mar 2020, 21:21
by limera1n
It doesnt say anything just synology logo, here is a screenshot: https://imgur.com/vmL5L90

Re: Filebot node: error on launch

Posted: 29 Mar 2020, 21:29
by rednoah
Yep, probably a Node.JS issue. FileBot Node isn't running at all.

:arrow: The log will tell us why: viewtopic.php?t=11030

rednoah wrote: 25 Aug 2019, 04:58 What does the log say? The log will tell you why FileBot Node is crashing on startup and thus can't serve requests. You'll need to login via SSH and use the find and cat commands to find and display the log file.


Q: Where is the log file?

Please login via SSH and use the find command to find the log file:

Code: Select all

find / -name filebot-node.log

e.g. Synology NAS:

Code: Select all

sudo cat /var/log/upstart/filebot-node.log
e.g. QNAP NAS

Code: Select all

cat /opt/filebot-node/filebot-node.log

e.g. Expected log entries that tell us that the filebot-node service is up and running:

Code: Select all

ENVIRONMENT { ... }
USER { ... }
filebot-node listening at http://127.0.0.1:5452/
...

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 07:56
by limera1n
So, until I get access to the log file there is nothing that I can do (I need to forward a port on my router to ssh into nas remotely which I cant do outside of my local network)? Btw which version of node.js should I use? currently I have v12 installed

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 08:18
by rednoah
Well, without logs, you can only do blind trial and error, so that is not good.


I don't know the lower boundary of compatible Node.JS versions, but on my DS213J, this one is known to work:

Code: Select all

$ node -v
v4.8.7

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 08:24
by limera1n
I see, thanks for the replies! I will reach out when I can get my hands on the log file.

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 11:23
by limera1n
ok, I managed to get the log file (I have it in /var/log/packages/filebot-node.log):

https://www.dropbox.com/s/nsvitkid72hnv ... g.txt?dl=0

sorry for a bit strange format but this is how I copied it from putty.

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 12:19
by rednoah
This is not the log.

This is the log:

Code: Select all

sudo cat /var/log/upstart/filebot-node.log

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 12:27
by limera1n
apparently I dont have filebot-node.log file by this path:

Code: Select all

/var/log/upstart/filebot-node.log: No such file or directory

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 12:52
by rednoah
Please run this command and post the output:

Code: Select all

find / -name filebot-node.log 2> /dev/null

This is what I get:

Code: Select all

find / -name filebot-node.log 2> /dev/null
/var/log/upstart/filebot-node.log

:idea: Make sure that FileBot Node is actually installed. Try uninstalling and then reinstalling for good measure. Note that upgrading / downgrading the Java or FileBot package has no effect on FileBot Node. The latter runs standalone, and I'm not aware major changes in the recent update(s) that would have any effect on the log location. The upstart sub-system takes care of that automatically.

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:07
by limera1n
that is what I get:

Code: Select all

find / -name filebot-node.log 2> /dev/null
/var/log/packages/filebot-node.log

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:16
by rednoah
What does the console output say if you run this command?

Code: Select all

/usr/local/filebot-node/start

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:16
by limera1n
also I get the following error when trying to run filebot in command line under root:
https://imgur.com/IWfYkGo

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:19
by limera1n

Code: Select all

cd /usr/local/filebot-node && ./start
-ash: ./start: No such file or directory

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:20
by rednoah
Let's not worry about the filebot command for now. This thread will focus on FileBot Node.

Please run this command and post the output:

Code: Select all

cd /usr/local/filebot-node && ./start

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:21
by limera1n
it says: no such file or directory

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:21
by rednoah

Code: Select all

cd /usr/local/filebot-node
ls -l

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:25
by limera1n

Code: Select all

root@DS414:/usr/local/filebot-node# cd /usr/local/filebot-node
root@DS414:/usr/local/filebot-node# ls -l
total 4
drwxr-xr-x 2 root root 4096 Mar 26 21:19 data
lrwxrwxrwx 1 root root   33 Mar 30 14:00 target -> /var/packages/filebot-node/target

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:31
by rednoah
Now that's fishy!


Here's what I get:

Code: Select all

/usr/local/filebot-node$ ls -l
total 24
drwxr-xr-x 4 root root 4096 Mar 30 15:28 client
drwxr-xr-x 4 root root 4096 Mar 30 15:29 data
drwxr-xr-x 4 root root 4096 Mar  2  2019 etc
drwxr-xr-x 4 root root 4096 Mar 30 15:28 server
-rwxr-xr-x 1 root root 1417 Feb 14 13:50 start
-rwxr-xr-x 1 root root  513 Feb 14 13:53 task

Code: Select all

ls -l /usr/local/filebot-node
lrwxrwxrwx 1 root root 33 Mar 30 15:28 /usr/local/filebot-node -> /var/packages/filebot-node/target

:arrow: Uninstall FileBot Node. Then delete /usr/local/filebot-node and then install FileBot Node again.

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 13:35
by limera1n
What would be the correct command to delete /usr/local/filebot-node? sorry, I am fairly new to all of this

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 14:05
by rednoah

Code: Select all

sudo rm -rv /usr/local/filebot-node
:!: Make sure to first uninstall FileBot Node though via the DSM WebUI.

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 15:04
by limera1n
This seems to resolve the issue, filebot starts now without any errors, thanks!
Could you also please take a look at my filebot log. As I mentioned before I use a script that looks for files in downloads folder that runs filebot if there are any. It is scheduled to run every 5 minutes via nas task scheduler. It normally works fine but lately it tends to break when processing many large files at once. Here are the latest entries to the log file when filebot refused to work.

Code: Select all

Run script [fn:amc] at [Sun Mar 29 17:21:23 MSK 2020]
Parameter: clean = y
Parameter: skipExtract = y
Parameter: minFileSize = 100000000
Parameter: excludeList = .excludes
Argument[0]: /volume1/downloads
Use excludes: /volume1/video/.excludes (37)
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e01.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e02.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e03.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e04.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e05.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e06.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e07.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e08.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e09.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e10.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e11.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e12.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e13.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e14.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e15.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e16.2020.WEB-DL.(1080p).Getty.mkv
Input: /volume1/downloads/Korni.S01.2020.WEB-DL.(1080p).Getty/Korni.s01e17.2020.WEB-DL.(1080p).Getty.mkv
Group: {Series=korni} => [Korni.s01e01.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e02.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e03.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e04.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e05.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e06.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e07.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e08.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e09.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e10.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e11.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e12.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e13.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e14.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e15.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e16.2020.WEB-DL.(1080p).Getty.mkv, Korni.s01e17.2020.WEB-DL.(1080p).Getty.mkv]
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [korni]
Fetch failed: https://api.thetvdb.com/search/series?name=korni
java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: api.thetvdb.com
        at net.filebot.web.TheTVDBClient.getAuthorizationToken(Unknown Source)
        at net.filebot.web.TheTVDBClient.getRequestHeader(Unknown Source)
        at net.filebot.web.TheTVDBClient.lambda$requestJson$0(Unknown Source)
        at net.filebot.CachedResource.lambda$fetchIfModified$11(Unknown Source)
        at net.filebot.CachedResource.lambda$get$1(Unknown Source)
        at net.filebot.CachedResource.retry(Unknown Source)
        at net.filebot.CachedResource.lambda$get$2(Unknown Source)
        at net.filebot.Cache.computeIf(Unknown Source)
        at net.filebot.CachedResource.get(Unknown Source)
        at net.filebot.web.TheTVDBClient.requestJson(Unknown Source)
        at net.filebot.web.TheTVDBClient.search(Unknown Source)
        at net.filebot.web.TheTVDBClient.fetchSearchResult(Unknown Source)
        at net.filebot.WebServices$TheTVDBClient.access$101(Unknown Source)
        at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
Caused by: java.net.UnknownHostException: api.thetvdb.com
        at net.filebot.web.WebRequest.post(Unknown Source)
        at net.filebot.web.TheTVDBClient.postJson(Unknown Source)
        ... 14 more

UnknownHostException: api.thetvdb.com
Finished without processing any files
Abort (×_×)
Run script [fn:amc] at [Sun Mar 29 17:31:16 MSK 2020]
Parameter: clean = y
Parameter: skipExtract = y
Parameter: minFileSize = 100000000
Parameter: excludeList = .excludes
Argument[0]: /volume1/downloads
Use excludes: /volume1/video/.excludes (54)
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E01.The.Roswell.Incident.Part.1.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E02.The.Roswell.Incident.Part.2.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E03.Area.51.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E04.Hopkinsville.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E05.The.Men.in.Black.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E06.Close.Encounters.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E07.Curse.of.the.Skinwalker.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E08.What.Lies.Beneath.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E09.Broken.Arrow.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Project.Blue.Book.S02.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD/Project.Blue.Book.S02E10.Operation.Mainbrace.1080p.AMZN.WEB-DL.Rus.Eng_TeamHD.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 01.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 02.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 03.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 04.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 05.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 06.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 07.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 08.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 09.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 10.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 11.mkv
Input: /volume1/downloads/Патриот (2020)/Патриот. Серия 12.mkv
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
        at net.filebot.WebServices$TMDbClient.searchMovie(Unknown Source)
        at net.filebot.web.TMDbClient.searchMovie(Unknown Source)
        at net.filebot.media.MediaDetection.queryMovieByFileName(Unknown Source)
        at net.filebot.media.MediaDetection.detectMovie(Unknown Source)
        at net.filebot.media.AutoDetection.getMovieMatches(Unknown Source)
        at net.filebot.media.AutoDetection.detectGroup(Unknown Source)
        at net.filebot.media.AutoDetection.group(Unknown Source)
        at net.filebot.media.AutoDetection$group.call(Unknown Source)
        at Script1.group(Script1.groovy:314)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at Script1.run(Script1.groovy:320)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
        at com.ibm.icu.text.NormalizationTransliterator.handleTransliterate(NormalizationTransliterator.java:104)
        at com.ibm.icu.text.Transliterator.filteredTransliterate(Transliterator.java:1055)
        at com.ibm.icu.text.Transliterator.filteredTransliterate(Transliterator.java:1365)
        at com.ibm.icu.text.CompoundTransliterator.handleTransliterate(CompoundTransliterator.java:458)
        at com.ibm.icu.text.Transliterator.filteredTransliterate(Transliterator.java:1304)
        at com.ibm.icu.text.Transliterator.filteredTransliterate(Transliterator.java:1365)
        at com.ibm.icu.text.CompoundTransliterator.handleTransliterate(CompoundTransliterator.java:458)
        at com.ibm.icu.text.Transliterator.filteredTransliterate(Transliterator.java:1304)
        at com.ibm.icu.text.Transliterator.transliterate(Transliterator.java:781)
        at com.ibm.icu.text.Transliterator.transliterate(Transliterator.java:791)
        at com.ibm.icu.text.Transliterator.transliterate(Transliterator.java:803)
        at com.ibm.icu.text.Transliterator.transform(Transliterator.java:2270)
        at net.filebot.web.LocalSearch.normalize(Unknown Source)
        at net.filebot.web.LocalSearch$$Lambda$547/0x404a2828.apply(Unknown Source)
        at net.filebot.web.LocalSearch.normalize(Unknown Source)
        at net.filebot.web.LocalSearch$$Lambda$545/0x404a0428.apply(Unknown Source)

java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
        at net.filebot.WebServices$TMDbClient.searchMovie(Unknown Source)
        at net.filebot.web.TMDbClient.searchMovie(Unknown Source)
        at net.filebot.media.MediaDetection.queryMovieByFileName(Unknown Source)
        at net.filebot.media.MediaDetection.detectMovie(Unknown Source)
        at net.filebot.media.AutoDetection.getMovieMatches(Unknown Source)
        at net.filebot.media.AutoDetection.detectGroup(Unknown Source)
        at net.filebot.media.AutoDetection.group(Unknown Source)
        at net.filebot.media.AutoDetection$group.call(Unknown Source)
        at Script1.group(Script1.groovy:314)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at Script1.run(Script1.groovy:320)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
        at net.filebot.WebServices$TMDbClient.searchMovie(Unknown Source)
        at net.filebot.web.TMDbClient.searchMovie(Unknown Source)
        at net.filebot.media.MediaDetection.queryMovieByFileName(Unknown Source)
        at net.filebot.media.MediaDetection.detectMovie(Unknown Source)
        at net.filebot.media.AutoDetection.getMovieMatches(Unknown Source)
        at net.filebot.media.AutoDetection.detectGroup(Unknown Source)
        at net.filebot.media.AutoDetection.group(Unknown Source)
        at net.filebot.media.AutoDetection$group.call(Unknown Source)
        at Script1.group(Script1.groovy:314)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at Script1.run(Script1.groovy:320)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
        at net.filebot.WebServices$TMDbClient.searchMovie(Unknown Source)
        at net.filebot.web.TMDbClient.searchMovie(Unknown Source)
        at net.filebot.media.MediaDetection.queryMovieByFileName(Unknown Source)
        at net.filebot.media.MediaDetection.detectMovie(Unknown Source)
        at net.filebot.media.AutoDetection.getMovieMatches(Unknown Source)
        at net.filebot.media.AutoDetection.detectGroup(Unknown Source)
        at net.filebot.media.AutoDetection.group(Unknown Source)
        at net.filebot.media.AutoDetection$group.call(Unknown Source)
        at Script1.group(Script1.groovy:314)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at Script1.run(Script1.groovy:320)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 15:10
by rednoah
1.
What does filebot -script fn:sysinfo say? Click on System Information in the FileBot Node WebUI.

How much memory does your device have? How much memory are you giving FileBot to work with? filebot -script fn:sysinfo will tell:

Code: Select all

Caused by: java.lang.OutOfMemoryError: Java heap space
Please try the latest FileBot 4.9.1 pre-release, which has some memory optimizations and might work better on low-memory devices:
viewtopic.php?t=1609


2.
Your DNS is not working. This is a network error on your end:

Code: Select all

java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: api.thetvdb.com
...
Caused by: java.net.UnknownHostException: api.thetvdb.com
...

Re: Filebot node: error on launch

Posted: 30 Mar 2020, 15:33
by limera1n
that is what sysinfo says:

Code: Select all

FileBot 4.9.0 (r7234)
JNA Native: 6.1.0
MediaInfo: 19.04
p7zip: p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
unrar: UNRAR 5.21 freeware
FFprobe: 3.3.7
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-03-16 (r625)
Groovy: 3.0.2
JRE: OpenJDK Runtime Environment 14
JVM: 32-bit OpenJDK Client VM
CPU/MEM: 2 Core / 819 MB Max Memory / 32 MB Used Memory
OS: Linux (arm)
HW: Linux DS414 3.2.40 #24922 SMP Mon Aug 19 12:08:26 CST 2019 armv7l GNU/Linux synology_armadaxp_ds414
STORAGE: ext4 [/] @ 1.5 GB | ext4 [/volume1] @ 10 TB
DATA: /volume1/@appstore/filebot/data/admin
Package: SPK