Page 1 of 1

Not Found error on Synology DSM

Posted: 15 Jun 2021, 14:56
by ralfr
I installed a FileBot and FileBot Node update through Package Center which came out today. I'm on DSM 6.2.4-25556.

While FileBot seems to run fine (FileBot 4.9.3 (r8338) / OpenJDK Runtime Environment 16.0.1 / Linux 4.4.59+ (amd64)), when I try to launch FileBot Node from the DSM desktop, the application window opens just showing Not found. See screenshot. Any hints how to troubleshoot would be greatly appreciated. Also if there are steps to "clean install" FileBot Node, that would perhaps help, too.

Image

Re: Not Found error on Synology DSM

Posted: 15 Jun 2021, 15:07
by ralfr
On further research, I noticed there is no /usr/local/etc/nginx/conf.d/dsm.filebot-node.conf file anymore. Can this be the root cause?

Re: Not Found error on Synology DSM

Posted: 15 Jun 2021, 15:41
by rednoah
Please try this:
1. Uninstall FileBot and FileBot Node
2. Restart your NAS
3. Install FileBot and FileBot Node

Re: Not Found error on Synology DSM

Posted: 15 Jun 2021, 18:57
by NeoReloaded
rednoah wrote: 15 Jun 2021, 15:41 Please try this:
1. Uninstall FileBot and FileBot Node
2. Restart your NAS
3. Install FileBot and FileBot Node
I did this and the console is now running OK. But... the Shedule doesn't work anymore. I don't understand the message

Code: Select all

Prepared Task 1 can be called via Filebot-node-task 1 or Link or cURL
What does it mean ?

Re: Not Found error on Synology DSM

Posted: 15 Jun 2021, 19:26
by rednoah
You'll have to create a new Task in Synology Task Scheduler, with the following command, to make Synology Task Scheduler call this command on a schedule:

Code: Select all

filebot-node-task 1
:arrow: https://knasmueller.net/configuring-cro ... nology-nas


Alternatively, you can also execute this command manually as needed by opening the given link in your browser.

Re: Not Found error on Synology DSM

Posted: 16 Jun 2021, 15:48
by NeoReloaded
Filebot doesn't work anymore !
I've updated 3 files : Java Installer (and done the uninstalled with putty as mentioned), Filebot Node and Filebot.
A simple Dry Run tells me there's 3 errors :
filebot -script 'fn:amc' '/volume1/downloads/en cours' --output /volume1/video --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'artwork=y' 'subtitles=fra' 'skipExtract=y' 'minLengthMS=0' 'seriesFormat=TV Shows/{n}/{'\''Saison '\''+s}/{n} - {sxe} - {t}' 'movieFormat=Movies/{ny}/{ny}' 'excludeList=.excludes' --apply refresh --log all --log-file '/var/packages/filebot-node/target/data/filebot.log'

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

OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release.
java.nio.file.AccessDeniedException: /volume1/downloads/en cours: /volume1/downloads/en cours
Run script [fn:amc] at [Wed Jun 16 17:45:09 CEST 2021]
Parameter: artwork = y
Parameter: subtitles = fra
Parameter: skipExtract = y
Parameter: minLengthMS = 0
Parameter: seriesFormat = TV Shows/{n}/{'Saison '+s}/{n} - {sxe} - {t}
Parameter: movieFormat = Movies/{ny}/{ny}
Parameter: excludeList = .excludes
Invalid usage: output folder must exist and must be a writable directory: /volume1/video
Invalid usage: no input

Abort (×_×)

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

[Process error]

🔺 Exit Code: 4
And also : FileBot License PX??????? (Valid-Until: 2069-07-16) has been activated successfully.

Re: Not Found error on Synology DSM

Posted: 16 Jun 2021, 16:10
by rednoah
DSM 6.2.4 does not allow 3rd party applications to run as admin anymore, and therefore 3rd party application cannot access your files by default anymore. You will need to grant permissions explicitly.

Image

Re: Not Found error on Synology DSM

Posted: 16 Jun 2021, 19:26
by NeoReloaded
OK ! :roll:
Now it's working as usual ! Nice ! Thanx for the advice !

Re: Not Found error on Synology DSM

Posted: 22 Jun 2021, 19:08
by KarstenH
Got the same problem.
Did the whole procedure:
-reinstall Java, FB & FB Node
- Set Permissions for FileBot
Still getting the java.nio.file.AccessDeniedException after giving the Read/Write permissions to FileBot.
Any idea?

Re: Not Found error on Synology DSM

Posted: 23 Jun 2021, 03:23
by rednoah
KarstenH wrote: 22 Jun 2021, 19:08 Got the same problem.
Did the whole procedure:
-reinstall Java, FB & FB Node
- Set Permissions for FileBot
Still getting the java.nio.file.AccessDeniedException after giving the Read/Write permissions to FileBot.
Any idea?
:arrow: viewtopic.php?p=54951#p54951

Re: Not Found error on Synology DSM

Posted: 23 Jun 2021, 11:08
by KarstenH
Creating a new Shared Folder with correct permissions solved the problem.
It seems that the permissions under the hood are not the same for a new folder as it was for an old folder:
Old:
Name | No Access | Read/Write | Read Only
New:
Name | No Access | Read/Write | Read Only | Custom

So it seems that it might be a good idea to remake all my shared folders to prepare for the future.
Thanks a lot