FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Any questions? Need some help?
Post Reply
terra17
Posts: 47
Joined: 06 Sep 2014, 11:10

FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by terra17 »

Hi everybody !!

I use Filebot on Synology NAS DS213J, why after every installation of NAS new firmware, Filebot doesn't work anymore ?

It is installed, I see it in the applications, but if I do filebot -version in cmdline, it tells me that Filebot doesn't exist

Why ?
Thank you so much
User avatar
rednoah
The Source
Posts: 23925
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by rednoah »

Synology overrides the symlink in /usr/syno/bin so I've changed it to /usr/local/bin for next release to see if that'll work.
:idea: Please read the FAQ and How to Request Help.
terra17
Posts: 47
Joined: 06 Sep 2014, 11:10

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by terra17 »

ok, thank you !
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by Achandab »

dont think usr/local/bin exists? is it hidden?
giovanne
Posts: 2
Joined: 01 Feb 2015, 13:07

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by giovanne »

Hi,
same question here. Last week filebot 4.5.6 was running fine on the DS213j and I have used it for renaming my movies:
NAS> java -version
java version "1.8.0_33"
Java(TM) SE Runtime Environment (build 1.8.0_33-b05)
Java HotSpot(TM) Client VM (build 25.33-b05, mixed mode)
NAS> filebot -version
FileBot 4.5.3 (r2729) / Java(TM) SE Runtime Environment 1.8.0_33 (headless)

I think there was an update in DS and now I got:
NAS> java -version
java version "1.8.0_33"
Java(TM) SE Runtime Environment (build 1.8.0_33-b05)
Java HotSpot(TM) Client VM (build 25.33-b05, mixed mode)
NAS> filebot -version
-ash: filebot: not found



What is going wrong?
Already tried by reinstalling filebot, but nothing changed.

What can I do to get it running? Info in DS-GUI is that filebot is running.

Where is the filebot executable?
User avatar
rednoah
The Source
Posts: 23925
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by rednoah »

The current logic for linking filebot to bin is broken. You will have to link the executable into bin yourself. It' where all the other synology app packages are.
:idea: Please read the FAQ and How to Request Help.
giovanne
Posts: 2
Joined: 01 Feb 2015, 13:07

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by giovanne »

rednoah wrote:The current logic for linking filebot to bin is broken. You will have to link the executable into bin yourself. It' where all the other synology app packages are.
And where is "where all the other synology app packages are"? Can't find it :(

Update: OK!
For others with the same problem, I think it could be there:
NAS> /volume1/@appstore/filebot/filebot.sh -version
FileBot 4.5.6 (r2818) / Java(TM) SE Runtime Environment 1.8.0_33 (headless)

And with:
NAS> ln -s /volume1/@appstore/filebot/filebot.sh /usr/bin/filebot

I can use it like before:
NAS> filebot -version
FileBot 4.5.6 (r2818) / Java(TM) SE Runtime Environment 1.8.0_33 (headless)
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by Achandab »

thanks Giovanne. Symlins perfect now. Still doesnt fix my issue on working in Scheduled task though. Apparently it breaks every update because the link is not global and only in the user profile or something?
User avatar
rednoah
The Source
Posts: 23925
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FILEBOT DOESN'T WORK ON NAS SYNOLOGY

Post by rednoah »

Yes. For each update Synology DSM just replaces the whole system partition. So things like /usr/bin and /usr/syno/bin are reset every time. Apparently manually creating /usr/local/bin and then symlinking there will work, though not thorougly tested yet. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply