QNAP - Filebot Node service unavailable

Any questions? Need some help?
Post Reply
forumguy
Posts: 8
Joined: 19 Aug 2016, 01:20

QNAP - Filebot Node service unavailable

Post by forumguy » 20 Jul 2019, 18:00

I am trying to install and run Filebot Node on my QNAP TS 251+. When I run Filebot Node the web app starts but when I try to run the Dry Run option, a service unavailable error is shown.

Here are the details from the log and what's installed:

Code: Select all

cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log

Code: Select all

ENVIRONMENT { FILEBOT_TASK_CMD: '/opt/filebot-node/task',
  QPKG_NAME: 'filebot-node',
  TERM: 'vt102',
  SHELL: '/bin/sh',
  FILEBOT_CMD_UID: '0',
  OLDPWD: '/share/CACHEDEV1_DATA/.qpkg/.tmp',
  QM: '1',
  JAVA_OPTS: '-Xmx5498m',
  USER: 'admin',
  FILEBOT_CMD_CWD: '/share/CACHEDEV1_DATA',
  QBOOT_HDCONF: '1',
  QM_DIR: '/share/CACHEDEV1_DATA/[email protected]_center/filebot-node',
  QPKG_DEFAULT_VOLUME: '/share/CACHEDEV1_DATA',
  PATH: '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin',
  FILEBOT_CMD_GID: '0',
  PWD: '/share/CACHEDEV1_DATA/.qpkg/filebot-node',
  QM_OPT: '',
  QNAP_QPKG: 'filebot-node',
  FILEBOT_NODE_HOST: '127.0.0.1',
  SHLVL: '10',
  HOME: '/',
  BOOT_IMAGE: '/boot/bzImage',
  FILEBOT_CMD: 'filebot',
  QPKG_CONF: '/etc/config/qpkg.conf',
  FILEBOT_NODE_HTTP_PORT: '5452',
  FILEBOT_NODE_AUTH: 'QNAP',
  FILEBOT_NODE_HTTP: 'YES',
  QPKG_ROOT: '/share/CACHEDEV1_DATA/.qpkg/filebot-node',
  FILEBOT_NODE_CLIENT: 'client',
  _: '/usr/local/bin/node' }
USER { UID: 0, GID: 0 }
filebot-node listening at http://127.0.0.1:5452/
AUTH_CACHE: {}
events.js:183
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'QDocRoot' of undefined
    at /share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js:539:25
    at Parser.<anonymous> (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/xml2js/lib/parser.js:307:18)
    at emitOne (events.js:116:13)
    at Parser.emit (events.js:211:7)
    at SAXParser.onerror (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/xml2js/lib/parser.js:122:26)
    at emit (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/sax/lib/sax.js:624:35)
    at error (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/sax/lib/sax.js:653:5)
    at strictFail (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/sax/lib/sax.js:677:7)
    at end (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/sax/lib/sax.js:658:47)
    at SAXParser.write (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/node_modules/sax/lib/sax.js:975:14)

Code: Select all

node -v
v8.9.4

Code: Select all

java -version
openjdk version "12.0.1" 2019-04-16
OpenJDK Runtime Environment (build 12.0.1+12)
OpenJDK 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)

Code: Select all

filebot node -version
FileBot 4.8.5 (r6224) / OpenJDK Runtime Environment 12.0.1 / Linux 4.14.24-qnap (amd64)

forumguy
Posts: 8
Joined: 19 Aug 2016, 01:20

Re: QNAP - Filebot Node service unavailable

Post by forumguy » 20 Jul 2019, 18:23

Quick update, I uninstalled node v8, installed v6 and now Filebot Node works.

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

Re: QNAP - Filebot Node service unavailable

Post by rednoah » 20 Jul 2019, 19:59

You could also try the latest pre-release from the FileBot node download section on GitHub.
:idea: Please read the FAQ and How to Request Help.

Post Reply