FileBot Node on QNAP TS-251A - Service unavailable
Posted: 30 Oct 2018, 15:09
Hi,
I can't get this to run on my QNAP NAS.
I've installed everything from the repo and additionally Node from qnapcloud.eu.
When trying to open the app it's giving me this error message
This is the log file:
I've checked line 26 of the start script which is:
node --optimize_for_size --use_idle_notification "server/app.js"
I've tried to manually run this and adjusted the command to:
node --optimize_for_size --use_idle_notification "/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js"
Result:
I don't know why, but this is actually another message than I've received before (15min ago), which was:
I hope you can help me! I would really appreciate your help!
Thanks
André
I can't get this to run on my QNAP NAS.
I've installed everything from the repo and additionally Node from qnapcloud.eu.
When trying to open the app it's giving me this error message
Code: Select all
service unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Code: Select all
[~] # cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
+ export FILEBOT_NODE_HOST=127.0.0.1
+ FILEBOT_NODE_HOST=127.0.0.1
+ export FILEBOT_NODE_AUTH=QNAP
+ FILEBOT_NODE_AUTH=QNAP
+ export FILEBOT_NODE_HTTP=YES
+ FILEBOT_NODE_HTTP=YES
+ export FILEBOT_NODE_HTTP_PORT=5452
+ FILEBOT_NODE_HTTP_PORT=5452
+ export USER=admin
+ USER=admin
++ free
++ awk -vm=1024 -vp=0.7 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'
+ export JAVA_OPTS=-Xmx5516m
+ JAVA_OPTS=-Xmx5516m
+ export FILEBOT_TASK_CMD=/opt/filebot-node/task
+ FILEBOT_TASK_CMD=/opt/filebot-node/task
+ export FILEBOT_CMD=filebot
+ FILEBOT_CMD=filebot
+ export FILEBOT_CMD_CWD=/share/CACHEDEV1_DATA
+ FILEBOT_CMD_CWD=/share/CACHEDEV1_DATA
++ id -u admin
+ export FILEBOT_CMD_UID=0
+ FILEBOT_CMD_UID=0
++ grep administrators
++ cat /etc/group
++ cut -d: -f3
+ export FILEBOT_CMD_GID=0
+ FILEBOT_CMD_GID=0
+ export FILEBOT_NODE_CLIENT=client
+ FILEBOT_NODE_CLIENT=client
+ cd /share/CACHEDEV1_DATA/.qpkg/filebot-node
+ node --optimize_for_size --use_idle_notification server/app.js
/share/CACHEDEV1_DATA/.qpkg/filebot-node/start: line 26: node: command not found
node --optimize_for_size --use_idle_notification "server/app.js"
I've tried to manually run this and adjusted the command to:
node --optimize_for_size --use_idle_notification "/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js"
Result:
Code: Select all
<n "/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js"
ENVIRONMENT { HOSTNAME: 'QNAP-NAS',
SHELL: '/bin/sh',
TERM: 'xterm',
HISTSIZE: '1000',
TMPDIR: '/opt/NodeJS/tmp',
SSH_CLIENT: '192.168.178.26 54024 22',
SSH_TTY: '/dev/pts/2',
LC_ALL: 'en_US.UTF-8',
USER: 'admin',
HISTFILESIZE: '1000',
LD_LIBRARY_PATH: '/opt/NodeJS/lib:',
LS_COLORS: 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:',
PAGER: '/bin/more ',
PATH: '/share/CACHEDEV1_DATA/.qpkg/container-station/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin',
MAIL: '/var/mail/admin',
TEMPDIR: '/opt/NodeJS/tmp',
PWD: '/root',
INPUTRC: '/etc/inputrc',
JAVA_HOME: '/opt/java',
EDITOR: '/bin/vi',
LANG: 'en_US.utf8',
DMALLOC_OPTIONS: 'debug=0x34f47d83,inter=100,log=logfile',
HOME: '/opt/NodeJS',
SHLVL: '1',
LOGNAME: 'admin',
SSH_CONNECTION: '192.168.178.26 54024 192.168.178.3 22',
LC_CTYPE: 'en_US.UTF-8' }
USER { UID: NaN, GID: NaN }
Code: Select all
<n "/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js"
fs.js:1195
return binding.chown(pathModule._makeLong(path), uid, gid);
^
TypeError: uid must be an unsigned int
at TypeError (native)
at Object.fs.chownSync (fs.js:1195:18)
at Object.<anonymous> (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js:57:8)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
<re/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js"
fs.js:1195
return binding.chown(pathModule._makeLong(path), uid, gid);
^
TypeError: uid must be an unsigned int
at TypeError (native)
at Object.fs.chownSync (fs.js:1195:18)
at Object.<anonymous> (/share/CACHEDEV1_DATA/.qpkg/filebot-node/server/app.js:61:8)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
Thanks
André