Filebot Node not working

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Filebot Node not working

Post by chonazz »

Hi There,

Yesterday I installed Filebot node on my synology Nas. I tested it on a small folder and it worked. Today I want to start moving my complete Tv Series folder to a new organised one but Filebot not isn't working anymore.
When I want to run execute I get the following error as a popup, before anything happens:

Code: Select all

{"request":{"id":85,"headers":{},"options":{"method":"GET","url":"http://diskstation.local:5452/execute","params":{"fn":"amc","input":"/volume1/TV-Series/","label":"tv","action":"move","output":"/volume1/TV-Series/","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":"all","SynoToken":"fq5zrpgp67jow","Cookie":"id=fqtK8LjtC2A9.1420LUN005726"},"useDefaultXhrHeader":false,"cors":true,"noCache":true},"async":true,"binary":false},"requestId":85,"status":401,"statusText":"Unauthorized","responseText":"","responseXML":null}
OK
I've tried it in latest version of Chrome, Safari and Firefox.. Al giving the same error.
I have no idea what this means. I reinstalled Filebot and Filebot node, restarted my Synology Nas several times, but it doesn't seem to help.
Any point in the right direction would be nice.
Thank you
Jonas
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

Package Center -> FileBot Node -> View Log -> What does the log say?
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Hi Rednoah,

This is a copy of the log:
Image

I hope you can help me with this, I would love to have a clean TV-Series and Movie database.

Thanks and greetings,
Jonas
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

1.
The node service seems to be running fine. So it's probably some sort of network issue.

Have you tried connecting to your DSM via IP instead of hostname? You'll also need to make sure that your client/host can communicate on port 5452 (http) and 5453 (https) and not just port 5000/5001 as is the case for DSM.

2.
Also, FileBot Node can only be accessed via Synology DSM and you must be logged into DSM as admin user.

3.
Have you tried this? http://www.filebot.net/forums/viewtopic ... 060#p17113
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Hi Nednoah,

I'm an admin user and i'm on my home netwerk, same network as Synology is running on. I'll try to connect true IP.
How do I check the ports? I connect to my DSM with disk station.local:5000?

Thank you!
Greetings,
Jonas
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

I've updated my previous post.

Please try these curl commands and see what happens:
http://www.filebot.net/forums/viewtopic ... 060#p17113
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Alright! Just got a new but I think better error:
filebot -script 'fn:amc' /volume1/download/ --output /volume1/video/ --action test -non-strict --conflict auto --lang en --def 'music=y' 'unsorted=y' 'deleteAfterExtract=y' 'excludeList=.excludes' --log info

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

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

[Process error]
Is it the java I can just install from the package center? Or do I have to follow the tutorial movie you posted on the forums here?

Thank jou.
Jonas
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

Now the FileBot Node web app is working, but the filebot command-line tool is not.

How did you install Java? Why did you not use my helper?
https://github.com/rednoah/java-install ... -installer
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

2 days ago when everything worked I had java installed, don't know which version. But yesterday I started removing apps to see where the problem was occurring. So I think I also deleted java. I'll try to reinstall it and see how that goes.
Do I have to install java first and reinstall Filebot and node?

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

Re: Filebot Node not working

Post by rednoah »

Nope, once you correctly install java, it'll find java.

PS: It might be helpful to others if you share how you solved your network issues.
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

I loged in by using the IP instead of the diskstation.local that did the trick. But no I followed your tutorial. I deleted filebot and node.js and filebot node, reinstalled filebot node so it would install everything it needs, but I still get the same error?
Is there an other way to install java?

Thanks,
Jonas
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Alright! It is working again I think.

I have one more question. I had a TV-Series folder where all my tv series were in. A folder for each show. And a sub-folder for each season.
But these folders became a mess during the years.
So now I want to rearrange everything.
I renamed the TV-Series folder to TV-Series old, created a new Share, named this TV-Series.
I would love for Node to move everything to the new TV-Series share, create folders for each serie and sub-folders for each season.
After this is done I'll make a new download folder where the new episodes go and have Node move them to the right folder. But for now I want it to put the base back.
What would the settings be for this?
Thank you very much for your help.

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

Re: Filebot Node not working

Post by rednoah »

You can't do anything but exactly that... So what's your question?

How to use FileBot Node?
viewtopic.php?f=13&t=2733
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Sorry, my English is not as good as I hoped. "You can't do anything but exactly that." Does this mean it is not possible to do what I want or that it is.
I'm running some tests now, but Filebot Node isn't doing anything but giving me error in the end:

Code: Select all

filebot -script 'fn:amc' /volume1/TV-Series-Oud/ --output /volume1/TV-Series/ --action test -non-strict --conflict auto --lang en --def 'ut_label=tv' 'unsorted=y' 'artwork=y' 'clean=y' 'deleteAfterExtract=y' 'minLengthMS=300000' 'minFileSize=100000000' 'seriesFormat=/{n}/Season {s}/{sxe} - {t}' 'excludeList=.excludes' --log all

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

Run script [fn:amc] at [Sun Dec 06 17:59:14 GMT+01:00 2015]
Parameter: ut_label = tv
Parameter: unsorted = y
Parameter: artwork = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: minLengthMS = 300000
Parameter: minFileSize = 100000000
Parameter: seriesFormat = /{n}/Season {s}/{sxe} - {t}
Parameter: excludeList = .excludes
Argument: /volume1/TV-Series-Oud
Using excludes: /volume1/TV-Series/.excludes (0)
Ignore processed folder: /volume1/TV-Series-Oud/Franklin & Bash
Ignore hidden: /volume1/TV-Series-Oud/.TemporaryItems
Ignore processed folder: /volume1/TV-Series-Oud/Arrow
Ignore processed folder: /volume1/TV-Series-Oud/Breaking Bad
Ignore processed folder: /volume1/TV-Series-Oud/Brooklyn Nine-Nine
Ignore processed folder: /volume1/TV-Series-Oud/Burn Notice
Ignore processed folder: /volume1/TV-Series-Oud/Castle (2009)
Ignore processed folder: /volume1/TV-Series-Oud/Community
Ignore processed folder: /volume1/TV-Series-Oud/Criminal Minds
Ignore processed folder: /volume1/TV-Series-Oud/De Ronde
Ignore processed folder: /volume1/TV-Series-Oud/Dexter
Ignore processed folder: /volume1/TV-Series-Oud/Eigen Kweek
Ignore processed folder: /volume1/TV-Series-Oud/Elementary
Ignore processed folder: /volume1/TV-Series-Oud/Endeavour
Ignore processed folder: /volume1/TV-Series-Oud/Game of Thrones
Ignore processed folder: /volume1/TV-Series-Oud/Girls
Ignore processed folder: /volume1/TV-Series-Oud/Het Eiland
Ignore processed folder: /volume1/TV-Series-Oud/Homeland
Ignore processed folder: /volume1/TV-Series-Oud/House
Ignore processed folder: /volume1/TV-Series-Oud/House of Cards
Ignore processed folder: /volume1/TV-Series-Oud/How I met your Mother
Ignore processed folder: /volume1/TV-Series-Oud/In De Gloria
Ignore processed folder: /volume1/TV-Series-Oud/In Treatment
Ignore processed folder: /volume1/TV-Series-Oud/Leverage
Ignore processed folder: /volume1/TV-Series-Oud/Mind Games (2014)
Ignore processed folder: /volume1/TV-Series-Oud/Marvel's Agents of S.H.I.E.L.D
Ignore processed folder: /volume1/TV-Series-Oud/Modern Family
Ignore processed folder: /volume1/TV-Series-Oud/NCIS
Ignore processed folder: /volume1/TV-Series-Oud/New Girl
Ignore processed folder: /volume1/TV-Series-Oud/Nikita
Ignore processed folder: /volume1/TV-Series-Oud/Orange Is the New Black
Ignore processed folder: /volume1/TV-Series-Oud/Person of Interest
Ignore processed folder: /volume1/TV-Series-Oud/Quiz Me Quick
Ignore processed folder: /volume1/TV-Series-Oud/Safety First
Ignore processed folder: /volume1/TV-Series-Oud/Scorpion
Ignore processed folder: /volume1/TV-Series-Oud/Suits
Ignore processed folder: /volume1/TV-Series-Oud/The Big Bang Theory
Ignore processed folder: /volume1/TV-Series-Oud/The Blacklist
Ignore processed folder: /volume1/TV-Series-Oud/The Mentalist
Ignore processed folder: /volume1/TV-Series-Oud/The Newsroom (2012)
Ignore processed folder: /volume1/TV-Series-Oud/Top Gear
Ignore processed folder: /volume1/TV-Series-Oud/True Detective
Ignore processed folder: /volume1/TV-Series-Oud/Vikings
Ignore processed folder: /volume1/TV-Series-Oud/Weeds
Ignore processed folder: /volume1/TV-Series-Oud/White Collar
Ignore processed folder: /volume1/TV-Series-Oud/TV Shows/Franklin & Bash
Exclude: /volume1/TV-Series-Oud/@eaDir/Modern Family@SynoResource
Exclude: /volume1/TV-Series-Oud/@eaDir/Orange Is the New Black@SynoResource
Exclude: /volume1/TV-Series-Oud/@eaDir/Person of Interest@SynoResource
Exclude: /volume1/TV-Series-Oud/@eaDir/The Blacklist@SynoResource
Exclude: /volume1/TV-Series-Oud/@eaDir/True Detective@SynoResource
No files selected for processing
Failure (°_°)

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

[Process error]
But how can it say it is processed while it didn't move anything to a new folder?

This is the order I want to have:

Code: Select all

TV Shows                  <<Source folder, Content: TV shows>>
   |----Battlestar Galactica (2003)
   |       |----Season 0
   |            |-- ... specials ...
   |       |----Season 1
   |            |--The A-Team.s01e01-02.Mexican Slayride
   |            |--The A-Team.s01e03.Children of Jamestown
   |            |-- ...
   |       |----Season 2
   |            |-- ...
So Every tv-serie has is own folder and every season has a sub-folder. And I don't want it to hardlink, but I want it to copy the files to the new folder, rename them and create new folders if necessary.

Thank you,
Jonas
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

1.
I mean that what you seem to be asking for is in fact the only think filebot node can do at this point.

2.
Ignore processed folder means that the folder has been (or looks like it has been) organized already. This behaviour is enforced due to abuse. Folder that already contain *.nfo files will be ignore. If you delete all the *.nfo files then it'll work.
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Allright Thanks.
I'll try to delete them and see how that works.

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

Re: Filebot Node not working

Post by rednoah »

3.
FileBot Node wrote:We use hardlinks because that will allow us to have 2 files that share the same data on disk. So we get all the benefits of copying files without any of the disadvantages like wasting disk space.
Since you have surely read all the information I gave you, and followed all the links. What is your reason for copying files instead of hardlinking files?
:idea: Please read the FAQ and How to Request Help.
chonazz
Posts: 11
Joined: 04 Dec 2015, 17:20

Re: Filebot Node not working

Post by chonazz »

Because I want to delete the share were all my TV-series are on now the moment the copying in finished. Next up I start your hardlink method from a new to create download folder. But for now copying looks to me like the best thing to do.

Why are you asking?
Jonas
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

Nope, hardlink is still the best option (unless your "shares" are physically on different volumes). Doing copy is fine too, but it's infinitely more inefficient for what you're trying to do. Once you really understand hardlinks are you will understand why. ;)
:idea: Please read the FAQ and How to Request Help.
zharmat
Posts: 2
Joined: 27 Apr 2016, 06:54

Re: Filebot Node not working

Post by zharmat »

Hi,
I have a problem using Filebot on a Synology NAS. Earlier it worked everything fine, but since I have changed my router the program is not working. If I run the script in the log file are written the same log, what I found in previous comment:

FileNotFoundException: 0
java.io.FileNotFoundException: 0
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 (°_°)

Reading the comments I thought this is a router configuration issue, so I set in the router port forwarding menu the 5452 and 5453 ports. But the problem is still on, so can you any idea, how can I fix it? If you need more information, please tell me.
Thanks in advance!
Zoltan
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

1.
Your router is blocking FileBot from sending outbound requests, so you need to fix your firewall settings.

2.
Ports 5452 and 5453 are inbound ports for FileBot Node, hence completely unrelated and won't solve the problem.
:idea: Please read the FAQ and How to Request Help.
zharmat
Posts: 2
Joined: 27 Apr 2016, 06:54

Re: Filebot Node not working

Post by zharmat »

Thank you rednoah the answer, but could you please some detail information, what should I modify in the router's firewall?

I don't know is is important, but I typed this command:curl -v http://[NAS IP]:5452/auth and the result is:
admin@NASka:~$ curl -v http://192.168.1.201:5452/auth
> GET /auth HTTP/1.1
> Host: 192.168.1.201:5452
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/json
< Access-Control-Allow-Origin: *
< Date: Wed, 27 Apr 2016 17:33:57 GMT
< Connection: keep-alive
< Content-Length: 51
<
{"success":true,"data":{"auth":"SYNO","user":null}}admin@NASka:~$
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node not working

Post by rednoah »

1.
You have confirmed that FileBot Node Service is working and not blocked.

2.
Now make sure to allow outbound connections so that FileBot can work. Consult your router support if you need help with setting up your router.
:idea: Please read the FAQ and How to Request Help.
Post Reply