FileBot Node doesn't work on DSM 6

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
degsy
Posts: 2
Joined: 22 Dec 2015, 11:04

FileBot Node doesn't work on DSM 6

Post by degsy »

Hi,

I have just installed filebot and filebot node from the package centre on my Synology 1511+.
The version I installed is 0.1.7 which I got via the Synology package center at "https://app.filebot.net/syno/"

I tried the node version first but it fails with the following error:

{"request":{"id":12,"xhr":undefined,"headers":{},"options":{"method":"GET","url":"https://derek.synology.me:5453/execute" ... TELEVISION RECORDINGS - NOT PROCESSED","label":"","action":"move","output":"/volume1/VIDEO/TELEVISION RECORDINGS - DONE","artwork":"on","clean":"on","filter":"","subtitles":"","lang":"en","conflict":"auto","ignore":"","minLengthMS":"","minFileSize":"","excludeList":".excludes","movieFormat":"","seriesFormat":"","animeFormat":"","musicFormat":"","unsortedFormat":"","exec":"","plex":"","xbmc":"","pushover":"","pushbullet":"","log":"info"},"useDefaultXhrHeader":false,"cors":true,"noCache":true},"async":true,"binary":false,"timedout":true},"requestId":12,"status":0,"statusText":"communication failure","timedout":true}

I unfortunately have no idea how to progress and dont know what I have done wrong.
Could someone give me a bit of advice as to what to try next?

I did try the command line version using:
"filebot -script fn:amc --output "/volume1/VIDEO/TELEVISION RECORDINGS - DONE" --action move -non-strict "/volume1/VIDEO/TELEVISION RECORDINGS - NOT PROCESSED" --def excludeList=amc.txt"
And this seems to work OK but I would like to gave the GUI version working also if possible.

I ran "filebot -script fn:synoinfo" as suggested in the "how to ask for help" post. it didnt seem to work:

DiskStation> filebot -script fn:synoinfo
FileNotFoundException: https://raw.githubusercontent.com/fileb ... nfo.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/fileb ... nfo.groovy
at net.filebot.web.WebRequest.fetch(WebRequest.java:123)
at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:101)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:28)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:137)
at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:82)
at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:210)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
at net.filebot.Main.main(Main.java:169)
Failure (°_°)

My java version is:
DiskStation> java -version
java version "1.8.0_65"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_65-b17, headless)
Java HotSpot(TM) Embedded Server VM (build 25.65-b01, mixed mode)

I am not sure if I have installed the correct version as there was only one available from the package center.
I also dont know if I have java 32bit or 64bit installed (I am a bit of a noob at all this, still learning)

Thanks in advance for any suggestions anyone can give me.

Degsy
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

1.
The browser can't connect to the node service, i.e. a network/firewall issue. Follow this thread, and try all the things that I suggest there: viewtopic.php?f=13&t=3239

2.
It's sysinfo, not synoinfo.
:idea: Please read the FAQ and How to Request Help.
degsy
Posts: 2
Joined: 22 Dec 2015, 11:04

Re: Synology - Filebot works but filebot node fails

Post by degsy »

Hi Rednoah,

Thanks for your help.
I followed the link yo gave and after reading the other posts I tried an uninstall of filebot and java and reinstall of the java you have via your sinology package and this did the trick.

I have one other question.
I have a synology running tvheadend. I would like to use filebot to rename the recorded media so I can use it in plex.
If I move the recorded media I wil be able to delete the movie/tv show via plex but tvheadend will show the file as a failed recording as it has been moved.
I have been looking at hard and symbolic links and move and symlink back but I am not sure whether any of these will work.
I want to have no tvheadend failed recordings but still be able to delete the recording via plex. would any other these work?

thanks,

Degsy
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

I don't think Plex will delete the file as well as the symlink if you use symlinks. You'll probably end up using hardlinks, but that won't save you from having to delete files twice before the diskspace is freed.
:idea: Please read the FAQ and How to Request Help.
kinnth
Posts: 2
Joined: 02 Jan 2016, 02:35

Re: Synology - Filebot works but filebot node fails

Post by kinnth »

Hey,

I currently got the GUI to open up on Synology, but I'm having an error with JAVA. I then installed JAVA via the synology app system but after restarting the device I still have the same issue.

Here is a screenshot of my install path for JAVA if that helps as I can see it's looking in the wrong place.

Code: Select all

filebot -script 'fn:amc' /volume1/movies --output /volume1/movies/_renamed --action test --conflict auto --lang en --def 'music=y' 'unsorted=y' 'artwork=y' 'subtitles=eng' 'clean=y' 'deleteAfterExtract=y' 'excludeList=.excludes' --log info

------------------------------------------

/usr/local/bin/filebot: line 53: java: not found
------------------------------------------

[Process error]
Image
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

You need Java 8 so you can't use the Synology Java Manager.

Please read the manual:
viewtopic.php?f=3&t=1802
:idea: Please read the FAQ and How to Request Help.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

Hi ! And thanks for all the work you've been doing here !
I've got the same kind of error. I haven't succedded installing Java 8, Java installer is working but doesn't accept it. I tried to follow your instructions but it doesn't work too (here).

My Syno is a DS215J (MARVELL Armada 375 88F6720).

And last : happy new year to all of you ;-)
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

What does the log say?
:idea: Please read the FAQ and How to Request Help.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

I've found a solution here. It's a JAVA 8 package and now it works !
I've set a task. I'm waiting for the results now.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

That's what I got :

Code: Select all

filebot -script 'fn:amc' /volume1/Torrents/Incoming --output /volume1/video --action hardlink -non-strict --conflict auto --lang fr --def 'music=y' 'artwork=y' 'subtitles=fra' 'skipExtract=y' 'seriesFormat=TV Shows/{n}/Season {s}/{n} - {sxe} - {t}' 'animeFormat=Anime/{n} ({y})/{n} ({y})' 'movieFormat=Movies/{n} ({y})/{n} ({y})' 'musicFormat=Music/Mes Albums/' 'excludeList=.excludes' --log info --log-file '/volume1/@appstore/filebot-node/filebot.log'

------------------------------------------

File not found: /volume1/Torrents/Incoming

------------------------------------------

[Process error]
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

1.
So what did the Unofficial Java Installer log say? Click View Log and send me a screenshot please.

2.
/volume1/Torrents/Incoming doesn't exist, or you don't have the right permissions.
:idea: Please read the FAQ and How to Request Help.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

Point 2. was a touch down ^_^ !
I precisely haven't the right permissions on /volume1/Torrents/Incoming.
...
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

I wrote:So what did the Unofficial Java Installer log say? Click View Log and send me a screenshot please.
I'm still curious as to why my Java Installer package didn't work. Please send me the logs.
:idea: Please read the FAQ and How to Request Help.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

I'm sorry but since I've installed the unofficial, there are no logs for Java Manager anymore. :oops:
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

So my Unofficial Java Installer is working after all? Java Manager is made by Synology so I don't care about that one.
:idea: Please read the FAQ and How to Request Help.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

OK. I think I missunderstood you ! That is correct, your Unofficial Java Installer is working.
Now I'm struggling with my RSS filter Syntax list :roll:
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

Hi !
Since the last update of the DSM (6.0-7321), Filebot (4.6.1) works but filebot node (0.1.8) fails (Message error on the Filebot window : "Sorry, the page you are looking for is not found."). I've uninstalled and reinstalled both but it's always the same.
Any idea ? thanks !
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: Synology - Filebot works but filebot node fails

Post by NeoReloaded »

The journal of Filebot Node message is :
/volume1/@appstore/filebot-node/server/start.sh: line 30: /usr/bin/node: No such file or directory
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology - Filebot works but filebot node fails

Post by rednoah »

I've uploaded a test package that should work on DSM 6.

Please try and give me feedback:
https://sourceforge.net/projects/filebo ... ebot/HEAD/
:idea: Please read the FAQ and How to Request Help.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: FileBot Node doesn't work on DSM 6

Post by NeoReloaded »

I'm sorry, but which file do I have to download ?
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: FileBot Node doesn't work on DSM 6

Post by NeoReloaded »

I guess this is it : filebot-node-0.2.0-noarch.spk
I'm asked to install first node.js v.4. Then filebot-node-0.2.0.
The install went good. But I have the same window message at the launch of the app : "Sorry, the page you are looking for is not found."
The journal says :
https://www.dropbox.com/s/m8rwpx7smfydd ... e.PNG?dl=0

(sorry, I couldn't manage the photo...)
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: FileBot Node doesn't work on DSM 6

Post by NeoReloaded »

I don't know what you did but today it's all clear ! filebot-node-0.2.0 works ! Thank you so much ! ^_^
vletroye
Posts: 40
Joined: 27 Sep 2014, 11:25

Re: FileBot Node doesn't work on DSM 6

Post by vletroye »

I have also installed node.js v.4, filebot-node-0.2.0-noarch.spk, and the ejdk 1.8.0_77.
But trying to start filebot node, I still got the error message "Failed to run the service package" (as I got with the previous version of filebot node).
I did reboot my Synology (just in case) but it didn't help...

NB.: nothing in the log.

V.
NeoReloaded
Posts: 18
Joined: 02 Jan 2016, 11:59

Re: FileBot Node doesn't work on DSM 6

Post by NeoReloaded »

I had the same message first. Then the next morning I tried again and I don't know how but it worked !
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Node doesn't work on DSM 6

Post by rednoah »

You could try starting the filebot-node service yourself via ssh/root (start script is in /var/packages/filebot-node/target somewhere) and see what the output says.
:idea: Please read the FAQ and How to Request Help.
Post Reply