Filebot Node does not work on DSM7.2

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
Netsuki
Posts: 5
Joined: 07 Dec 2023, 16:15

Filebot Node does not work on DSM7.2

Post by Netsuki »

Filebot Node does not work on DSM7.2, Error window is displayed at startup and Dry Run、Activate、Execute,and other operations.

The error window looks like this:
Image

The log file looks like this:

Code: Select all

-------------------- Run /volume1/@appstore/filebot-node/bin/filebot-node-start (PID: 10311) -------------------- Thu Dec  7 23:43:26 CST 2023

ENVIRONMENT {
  FILEBOT_CMD: 'filebot',
  MAX_DB_CONNECTIONS: '20',
  SYNOPKG_PKGVAR: '/volume1/@appdata/filebot-node',
  SYNOPKG_PKGSHARE: '/volume1/@appshare/filebot-node',
  SYNOPKG_USERNAME: 'Netsuki',
  OLDPWD: '/',
  SYNOPKG_PKGNAME: 'filebot-node',
  SYNOPKG_DSM_VERSION_MAJOR: '7',
  JAVA_OPTS: '',
  FILEBOT_CMD_GID: '106247',
  SYNOPKG_PKGHOME: '/volume1/@apphome/filebot-node',
  SYNOPKG_DSM_VERSION_MINOR: '2',
  SYNOPKG_PKGTMP: '/volume1/@apptemp/filebot-node',
  SYNOPKG_DSM_VERSION_BUILD: '69057',
  SELF: 'filebot-node',
  PWD: '/var/packages/filebot-node/target',
  SYNOPKG_TEMP_REPLACE_FOLDER: '/volume1/@tmp/synopkg.tmp/filebot-node',
  SYNOPKG_PKGVER: '0.4.6',
  FILEBOT_NODE_DATA: '/var/packages/filebot-node/var',
  SYNOPKG_DSM_LANGUAGE: 'chs',
  SYNOPKG_DSM_ARCH: 'geminilake',
  SYNOPKG_PKG_PROGRESS_PATH: '/tmp/install_progress_filebot-node',
  FILEBOT_NODE_HTTP: 'YES',
  FILEBOT_NODE_AUTH: 'SYNO',
  SYNOPKG_PKGDEST_VOL: '/volume1',
  FILEBOT_TASK_CMD: 'filebot-node-task',
  SHLVL: '2',
  CPU_COUNT: '20',
  FILEBOT_CMD_CWD: '/volume1',
  SYNOPKG_PKG_STATUS: 'INSTALL',
  PATH: '/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin',
  FILEBOT_NODE_HOST: '127.0.0.1',
  FILEBOT_NODE_HTTP_PORT: '5452',
  FILEBOT_CMD_UID: '106247',
  SYNOPKG_TEMP_LOGFILE: '/tmp/synopkgmgr.log-filebot-node',
  SYNOPKG_PKGDEST: '/volume1/@appstore/filebot-node'
}
STATUS {
  pid: 10311,
  node: 'v18.15.0',
  uptime: '0',
  date: 'Thu, 07 Dec 2023 15:43:27 GMT'
}
USER { UID: 106247, GID: 106247 }
filebot-node listening at http://127.0.0.1:5452
I've tried restarting Dynology, switching to http access, and reinstalling Filebot Node, none of which solved the problem
User avatar
rednoah
The Source
Posts: 24035
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node does not work on DSM7.2

Post by rednoah »

:?: What does the Network log say?

:arrow: Open the IFrame in a new Tab, then open Inspect ➔ Network so you can see the network requests and why they might be failing.
:idea: Please read the FAQ and How to Request Help.
Netsuki
Posts: 5
Joined: 07 Dec 2023, 16:15

Re: Filebot Node does not work on DSM7.2

Post by Netsuki »

rednoah wrote: 07 Dec 2023, 17:06 :?: What does the Network log say?

:arrow: Open the IFrame in a new Tab, then open Inspect ➔ Network so you can see the network requests and why they might be failing.
I found the following network requests error:

Code: Select all

Failed to load resource: the server responded with a status of 503 ()->

https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/tasks.cgi
https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/execute.cgi?_dc=1701966057268&fn=license&license={*My Activate License*}
https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/execute.cgi?_dc=1701966080022&fn=amc&input=%2Fvolume1%2FVideo%2F❖%20Anime鉴赏%2F【待整理】新番自动下载&label=Anime&action=move&output=%2Fvolume1%2FVideo%2F❖%20Anime鉴赏%2FAnime剧集&order=Airdate&subtitles=&lang=zh&conflict=auto&archives=skip&ignore=&minLengthMS=&minFileSize=&minFileAge=&excludeList=.excludes&query=&filter=&mapper=&movieFormat=&seriesFormat=&animeFormat=&musicFormat=&unsortedFormat=&apply=&exec=&plex=&kodi=&emby=&pushover=&pushbullet=&discord=&report=&movieDB=&seriesDB=&animeDB=&channel=fn&log=all
https://yogasa.net:5001/webman/3rdparty/filebot-node/state.cgi?_dc=1701966080022&store=%7B%22fn%22%3A%22amc%22%2C%22input%22%3A%22%2Fvolume1%2FVideo%2F%5Cu2756%20Anime%5Cu9274%5Cu8d4f%2F%5Cu3010%5Cu5f85%5Cu6574%5Cu7406%5Cu3011%5Cu65b0%5Cu756a%5Cu81ea%5Cu52a8%5Cu4e0b%5Cu8f7d%22%2C%22label%22%3A%22Anime%22%2C%22action%22%3A%22move%22%2C%22output%22%3A%22%2Fvolume1%2FVideo%2F%5Cu2756%20Anime%5Cu9274%5Cu8d4f%2FAnime%5Cu5267%5Cu96c6%22%2C%22order%22%3A%22Airdate%22%2C%22subtitles%22%3A%22%22%2C%22lang%22%3A%22zh%22%2C%22conflict%22%3A%22auto%22%2C%22archives%22%3A%22skip%22%2C%22ignore%22%3A%22%22%2C%22minLengthMS%22%3A%22%22%2C%22minFileSize%22%3A%22%22%2C%22minFileAge%22%3A%22%22%2C%22excludeList%22%3A%22.excludes%22%2C%22query%22%3A%22%22%2C%22filter%22%3A%22%22%2C%22mapper%22%3A%22%22%2C%22movieFormat%22%3A%22%22%2C%22seriesFormat%22%3A%22%22%2C%22animeFormat%22%3A%22%22%2C%22musicFormat%22%3A%22%22%2C%22unsortedFormat%22%3A%22%22%2C%22apply%22%3A%22%22%2C%22exec%22%3A%22%22%2C%22plex%22%3A%22%22%2C%22kodi%22%3A%22%22%2C%22emby%22%3A%22%22%2C%22pushover%22%3A%22%22%2C%22pushbullet%22%3A%22%22%2C%22discord%22%3A%22%22%2C%22report%22%3A%22%22%2C%22movieDB%22%3A%22%22%2C%22seriesDB%22%3A%22%22%2C%22animeDB%22%3A%22%22%2C%22channel%22%3A%22fn%22%2C%22log%22%3A%22all%22%7D
https://{*My Synology Host*}:5001/webman/3rdparty/SynologyDrive/style.css.map
https://{*My Synology Host*}:5001/webman/3rdparty/FileBrowser/FileSaver.min.js.map
https://{*My Synology Host*}:5001/webman/3rdparty/SynoFinder/bundle.map
https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/state.cgi?_dc=1701972094095
https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/version.cgi?_dc=1701972094346
https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/state.cgi?_dc=1701972184132
https://{*My Synology Host*}:5001/webman/3rdparty/filebot-node/version.cgi?_dc=1701972184383

and infomation about tasks.cgi

Code: Select all

(function() {
    var a = {
        en: "Sorry, the page you are looking for is not found.",
Netsuki
Posts: 5
Joined: 07 Dec 2023, 16:15

Re: Filebot Node does not work on DSM7.2

Post by Netsuki »

What should I do to fix this?
User avatar
rednoah
The Source
Posts: 24035
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node does not work on DSM7.2

Post by rednoah »

The error message would suggest that FileBot Node is not installed, which makes no sense.


:arrow: I'd start by logging in via SSH and confirming that the files are there:

Console Output: Select all

$ ls -l /usr/syno/synoman/webman/3rdparty/filebot-node/
total 1772
-rw-r--r-- 1 FileBot FileBot 1687255 Nov  7 01:17 app.js
-rw-r--r-- 1 FileBot FileBot    1864 Nov  7 01:17 app.json
-rw-r--r-- 1 FileBot FileBot      39 Nov  1  2022 auth
-rw-r--r-- 1 FileBot FileBot     504 Aug 17 11:19 config
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 environment.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 execute.cgi
-rw-r--r-- 1 FileBot FileBot    1145 Sep 30 00:51 FileBot.NodeClient.js
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 folders.cgi
drwxr-xr-x 3 FileBot FileBot    4096 Aug 17 00:27 help
-rw-r--r-- 1 FileBot FileBot     151 Aug 17 03:07 helptoc.conf
drwxr-xr-x 2 FileBot FileBot    4096 Dec  8 11:08 images
-rw-r--r-- 1 FileBot FileBot   37906 Nov  7 01:17 index.html
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 kill.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 output.cgi
-rwxr-xr-x 1 FileBot FileBot     391 Nov  1  2022 proxy_pass.cgi
drwxr-xr-x 4 FileBot FileBot    4096 Dec  8 11:08 resources
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 schedule.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 state.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 task.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 tasks.cgi
-rwxr-xr-x 1 FileBot FileBot     514 Nov  1  2022 test.cgi
drwxr-xr-x 3 FileBot FileBot    4096 Aug 17 00:21 texts
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 version.cgi
:idea: Please read the FAQ and How to Request Help.
Netsuki
Posts: 5
Joined: 07 Dec 2023, 16:15

Re: Filebot Node does not work on DSM7.2

Post by Netsuki »

rednoah wrote: 08 Dec 2023, 04:11 The error message would suggest that FileBot Node is not installed, which makes no sense.


:arrow: I'd start by logging in via SSH and confirming that the files are there:

Console Output: Select all

$ ls -l /usr/syno/synoman/webman/3rdparty/filebot-node/
total 1772
-rw-r--r-- 1 FileBot FileBot 1687255 Nov  7 01:17 app.js
-rw-r--r-- 1 FileBot FileBot    1864 Nov  7 01:17 app.json
-rw-r--r-- 1 FileBot FileBot      39 Nov  1  2022 auth
-rw-r--r-- 1 FileBot FileBot     504 Aug 17 11:19 config
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 environment.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 execute.cgi
-rw-r--r-- 1 FileBot FileBot    1145 Sep 30 00:51 FileBot.NodeClient.js
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 folders.cgi
drwxr-xr-x 3 FileBot FileBot    4096 Aug 17 00:27 help
-rw-r--r-- 1 FileBot FileBot     151 Aug 17 03:07 helptoc.conf
drwxr-xr-x 2 FileBot FileBot    4096 Dec  8 11:08 images
-rw-r--r-- 1 FileBot FileBot   37906 Nov  7 01:17 index.html
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 kill.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 output.cgi
-rwxr-xr-x 1 FileBot FileBot     391 Nov  1  2022 proxy_pass.cgi
drwxr-xr-x 4 FileBot FileBot    4096 Dec  8 11:08 resources
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 schedule.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 state.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 task.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 tasks.cgi
-rwxr-xr-x 1 FileBot FileBot     514 Nov  1  2022 test.cgi
drwxr-xr-x 3 FileBot FileBot    4096 Aug 17 00:21 texts
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 version.cgi
I think they exist:

Code: Select all

ls -l /usr/syno/synoman/webman/3rdparty/filebot-node/
total 1756
-rw-r--r-- 1 FileBot FileBot 1687255 Nov  7 02:17 app.js
-rw-r--r-- 1 FileBot FileBot    1864 Nov  7 02:17 app.json
-rw-r--r-- 1 FileBot FileBot      39 Nov  1  2022 auth
-rw-r--r-- 1 FileBot FileBot     504 Aug 17 12:19 config
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 environment.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 execute.cgi
-rw-r--r-- 1 FileBot FileBot    1145 Sep 30 01:51 FileBot.NodeClient.js
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 folders.cgi
drwxr-xr-x 1 FileBot FileBot       6 Aug 17 01:27 help
-rw-r--r-- 1 FileBot FileBot     151 Aug 17 04:07 helptoc.conf
drwxr-xr-x 1 FileBot FileBot     268 Dec  7 23:43 images
-rw-r--r-- 1 FileBot FileBot   37906 Nov  7 02:17 index.html
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 kill.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 output.cgi
-rwxr-xr-x 1 FileBot FileBot     391 Nov  1  2022 proxy_pass.cgi
drwxr-xr-x 1 FileBot FileBot      64 Dec  7 23:43 resources
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 schedule.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 state.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 task.cgi
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 tasks.cgi
-rwxr-xr-x 1 FileBot FileBot     514 Nov  1  2022 test.cgi
drwxr-xr-x 1 FileBot FileBot       6 Aug 17 01:21 texts
-rwxr-xr-x 1 FileBot FileBot      79 Nov  1  2022 version.cgi
User avatar
rednoah
The Source
Posts: 24035
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node does not work on DSM7.2

Post by rednoah »

Looks good to me. Maybe Synology broke 3rd party WebUI support. You could try Synology customer support.

What's your NAS model? If it's a higher-end model then you can use docker instead.

I also ran some tests everything works correctly on my DS120J at least.
:idea: Please read the FAQ and How to Request Help.
Netsuki
Posts: 5
Joined: 07 Dec 2023, 16:15

Re: Filebot Node does not work on DSM7.2

Post by Netsuki »

rednoah wrote: 08 Dec 2023, 07:45 Looks good to me. Maybe Synology broke 3rd party WebUI support. You could try Synology customer support.

What's your NAS model? If it's a higher-end model then you can use docker instead.

I also ran some tests everything works correctly on my DS120J at least.
Thanks for the suggestion, I'll try the container version!
I think I'll come back and update if the problem is solved
User avatar
rednoah
The Source
Posts: 24035
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node does not work on DSM7.2

Post by rednoah »

FileBot Node is confirmed to work on DSM 7.2 at least for most users / DSM models. What doesn't work and why it doesn't work for the OP remains unknown. The easy workaround is to use the standalone docker container instead.
:idea: Please read the FAQ and How to Request Help.
Post Reply