node: command not found

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

node: command not found

Post by spikemixture »

Greetings,

I have followed the instructions and all installs smoothly.
Installed the 4 apps from the filebot app center
And Node.js and java 8

But on clicking filebot node I get -

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.

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

Re: Installing FileBot on QNAP NAS

Post by rednoah »

Can you log in via SSH and check the logs?

You can find the logs with the find command:

Code: Select all

find /share -iname '*filebot*log*'
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: FileBot Node Troubleshooting on QNAP

Post by spikemixture »

Code: Select all

+ 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
++ awk -vm=1024 -vp=0.7 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'
++ free
+ export JAVA_OPTS=-Xmx22469m
+ JAVA_OPTS=-Xmx22469m
+ 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
++ cat /etc/group
++ cut -d: -f3
++ grep administrators
+ 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Node Troubleshooting on QNAP

Post by rednoah »

According to the log, node is not installed, or not installed correctly:

Code: Select all

node: command not found
This thread will help:
viewtopic.php?f=4&t=6084
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

Reporting back.
All working well.

Just gotta work out how to set to run automatically 2 (or 3) times a day
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

Just gotta work out how to set to run automatically 2 (or 3) times a day ???

Can this be done?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

There is a Schedule button that you can click to create a Scheduled Task in Synology Task Manager.
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 01 Apr 2019, 09:35
Hi Rednoah

I had to rebuild my Qnap NAS - Well still rebuilding 5 days later!!

Now Filebot Node is not working


I have tried multiple combinations of stopping /starting /uninstalling /reinstalling / rebooting NAS

When I stop and Start Filebot and filebot Node sometimes I get to the Gui and get -
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

The other times I get this same message when clicking Filebot node b4 the GUI.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

What does the log say?
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

Which log?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

Here's general troubleshooting advice and including log file path:

Code: Select all

/var/log/upstart/filebot-node.log
:arrow: viewtopic.php?t=3368
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

Does that work for QNAP ?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

Pretty much works exactly the same on any non-Windows device. The file path will be different though.

1. Login via SSH
2. Find log
3. View log

Here's what I get:

Code: Select all

$ find / -name filebot-node.log
/share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
$ cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
...
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 04 Jul 2019, 13:51 Pretty much works exactly the same on any non-Windows device. The file path will be different though.

1. Login via SSH
2. Find log
3. View log

Here's what I get:

Code: Select all

$ find / -name filebot-node.log
/share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
$ cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
...
THanks Red

Code: Select all

+ 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
++ awk -vm=1024 -vp=0.7 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'
++ free
+ export JAVA_OPTS=-Xmx22462m
+ JAVA_OPTS=-Xmx22462m
+ 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
++ cat /etc/group
++ cut -d: -f3
++ grep administrators
+ 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
ENVIRONMENT { FILEBOT_TASK_CMD: '/opt/filebot-node/task',
  QPKG_NAME: 'filebot-node',
  FILEBOT_CMD_UID: '0',
  OLDPWD: '/',
  LC_ALL: 'en_US.UTF-8',
  JAVA_OPTS: '-Xmx22462m',
  USER: 'admin',
  FILEBOT_CMD_CWD: '/share/CACHEDEV1_DATA',
  QPKG_DEFAULT_VOLUME: '/share/CACHEDEV1_DATA',
  PATH: '/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin',
  FILEBOT_CMD_GID: '0',
  PWD: '/share/CACHEDEV1_DATA/.qpkg/filebot-node',
  LANG: 'en_US.UTF-8',
  QNAP_QPKG: 'filebot-node',
  FILEBOT_NODE_HOST: '127.0.0.1',
  SHLVL: '2',
  FILEBOT_CMD: 'filebot',
  LC_CTYPE: 'en_US.UTF-8',
  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: {}
AUTH_CACHE: {}
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:519: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)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

I see. It crashes due to QNAP authentication somehow not working. Once it's crashed, it doesn't serve requests anymore, so you'll need to restart it to run tests each time it crashes.

The relevant code starts here:
https://github.com/filebot/filebot-node ... pp.js#L564


1.
Are you logged into QNAP? How are you using FileBot Node?


2.
Opening the QNAP WebUI and then clicking on FileBot Node? Or perhaps opening the iframe directly?


3.
What do you get if you run this command?

Code: Select all

/home/httpd/cgi-bin/authLogin.cgi
You can simulate authentication by copying the Cookie value from the auth HTTP request via the Network Inspector in your Browser:

Code: Select all

export QUERY_STRING=<AUTH_COOKIE>
/home/httpd/cgi-bin/authLogin.cgi
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 05 Jul 2019, 06:03 I see. It crashes due to QNAP authentication somehow not working. Once it's crashed, it doesn't serve requests anymore, so you'll need to restart it to run tests each time it crashes.

The relevant code starts here:
https://github.com/filebot/filebot-node ... pp.js#L564


1.
Are you logged into QNAP? How are you using FileBot Node?
yes

2.
Opening the QNAP WebUI and then clicking on FileBot Node? Or perhaps opening the iframe directly?
yes

3.
What do you get if you run this command?

Code: Select all

/home/httpd/cgi-bin/authLogin.cgi
/$ /home/httpd/cgi-bin/authLogin.cgi
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>


You can simulate authentication by copying the Cookie value from the auth HTTP request via the Network Inspector in your Browser:

Code: Select all

export QUERY_STRING=<AUTH_COOKIE>
/home/httpd/cgi-bin/authLogin.cgi
[/i]

no idea about the cookie bit

FYI this was working just fine before my total rebuild
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

I've created a new release with improved logging:
https://github.com/filebot/filebot-node ... ag/0.2.8.5

Maybe it'll work better now, or at least give as better logging.
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 05 Jul 2019, 09:51 I've created a new release with improved logging:
https://github.com/filebot/filebot-node ... ag/0.2.8.5

Maybe it'll work better now, or at least give as better logging.
Installing now
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 05 Jul 2019, 09:51 I've created a new release with improved logging:
https://github.com/filebot/filebot-node ... ag/0.2.8.5

Maybe it'll work better now, or at least give as better logging.
Ran the same command -

Code: Select all

/$ /home/httpd/cgi-bin/authLogin.cgi
Content-type: text/xml

<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: node: command not found

Post by rednoah »

Does FileBot Node work now? If not, what does the FileBot Node log say now?
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 05 Jul 2019, 11:37 Does FileBot Node work now? If not, what does the FileBot Node log say now?
no it does not work and her is the latest log

Code: Select all

/share/CACHEDEV1_DATA/.qpkg/filebot-node/start: line 35: /usr/local/bin/node: Permission denied
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

spikemixture wrote: 06 Jul 2019, 01:46
rednoah wrote: 05 Jul 2019, 11:37 Does FileBot Node work now? If not, what does the FileBot Node log say now?
no it does not work and her is the latest log


/share/CACHEDEV1_DATA/.qpkg/filebot-node/start: line 35: /usr/local/bin/node: Permission denied
And here is the start

Code: Select all

#!/bin/sh

export FILEBOT_NODE_HOST="127.0.0.1" # bind to local apache reverse proxy
export FILEBOT_NODE_AUTH="QNAP"

export FILEBOT_NODE_HTTP="YES"
export FILEBOT_NODE_HTTP_PORT="5452"

export USER="admin"                                                                           # set admin as filebot user
export JAVA_OPTS=`free | awk -vm=1024 -vp=0.7 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'`    # set -Xmx to 0.7 of physical memory

export FILEBOT_NODE_DATA="/opt/filebot-node/data"
export FILEBOT_TASK_CMD="/opt/filebot-node/task"

export FILEBOT_CMD="filebot"
export FILEBOT_CMD_CWD="$QPKG_DEFAULT_VOLUME"
export FILEBOT_CMD_UID=$(id -u $USER)
export FILEBOT_CMD_GID=$(cat /etc/group | grep 'administrators' | cut -d: -f3)                # cannot use `id -u $USER` because the result is 100:users but we need 101:administrators because users don't have execute permissions

export FILEBOT_NODE_CLIENT="client"


# sanity check
if [ -z "$FILEBOT_CMD_UID" ]; then
	echo "id -u $USER must not be empty"
	exit 1
fi


# set working dir
cd "$QPKG_ROOT"

# --optimize_for_size (Enables optimizations which favor memory size over execution speed.)
# --use_idle_notification (Use idle notification to reduce memory footprint.)
node --optimize_for_size --use_idle_notification "server/app.js"
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

Stopped and restarted filebot and filebot node and I am up and running.

Will keep you informed.

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

Re: node: command not found

Post by rednoah »

Here's how you print the log:

Code: Select all

cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
:idea: Printing the launcher script is unfortunately not helpful, since I've written that myself. :lol:
:idea: Please read the FAQ and How to Request Help.
spikemixture
Posts: 56
Joined: 17 Jun 2018, 13:28

Re: node: command not found

Post by spikemixture »

rednoah wrote: 06 Jul 2019, 03:19 Here's how you print the log:

Code: Select all

cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
:idea: Printing the launcher script is unfortunately not helpful, since I've written that myself. :lol:
Ok how this?

Just ran a real test and working well
thanks for the support


Code: Select all

/root$ cat /share/CACHEDEV1_DATA/.qpkg/filebot-node/filebot-node.log
ENVIRONMENT { FILEBOT_TASK_CMD: '/opt/filebot-node/task',
  QPKG_NAME: 'filebot-node',
  FILEBOT_CMD_UID: '0',
  OLDPWD: '/',
  LC_ALL: 'en_US.UTF-8',
  JAVA_OPTS: '-Xmx22462m',
  USER: 'admin',
  FILEBOT_CMD_CWD: '/share/CACHEDEV1_DATA',
  QPKG_DEFAULT_VOLUME: '/share/CACHEDEV1_DATA',
  PATH: '/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin',
  FILEBOT_CMD_GID: '0',
  PWD: '/share/CACHEDEV1_DATA/.qpkg/filebot-node',
  LANG: 'en_US.UTF-8',
  QNAP_QPKG: 'filebot-node',
  FILEBOT_NODE_HOST: '127.0.0.1',
  SHLVL: '2',
  FILEBOT_CMD: 'filebot',
  LC_CTYPE: 'en_US.UTF-8',
  QPKG_CONF: '/etc/config/qpkg.conf',
  FILEBOT_NODE_HTTP_PORT: '5452',
  FILEBOT_NODE_AUTH: 'QNAP',
  FILEBOT_NODE_DATA: '/opt/filebot-node/data',
  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/
/home/httpd/cgi-bin/authLogin.cgi
{ QUERY_STRING: undefined }
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
/home/httpd/cgi-bin/authLogin.cgi
{ QUERY_STRING: undefined }
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
/home/httpd/cgi-bin/authLogin.cgi
{ QUERY_STRING: 'sid=3le7ve8y' }
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><authPassed><![CDATA[1]]></authPassed><isAdmin><![CDATA[1]]></isAdmin><user><![CDATA[admin]]></user><username><![CDATA[admin]]></username><groupname><![CDATA[administrators]]></groupname><userid><![CDATA[0]]></userid><userType><![CDATA[local]]></userType><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<gqMaster><![CDATA[-1]]></gqMaster><HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<quickStart><![CDATA[1]]></quickStart><connet_info><connet_ip><![CDATA[192.168.1.100]]></connet_ip></connet_info>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><SUID><![CDATA[1250b8dfe51f305dd00f6f46692e156c]]></SUID><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
AUTH_CACHE: {"sid=3le7ve8y":"admin"}
/home/httpd/cgi-bin/authLogin.cgi
{ QUERY_STRING: undefined }
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
/home/httpd/cgi-bin/authLogin.cgi
{ QUERY_STRING: undefined }
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
/home/httpd/cgi-bin/authLogin.cgi
{ QUERY_STRING: 'sid=mqqnq9oi' }
Content-type: text/xml



<?xml version="1.0" encoding="UTF-8" ?>
<QDocRoot version="1.0">
<doQuick><![CDATA[]]></doQuick><is_booting><![CDATA[0]]></is_booting><mediaReady><![CDATA[1]]></mediaReady><shutdown_info><type><![CDATA[-1]]></type><timestamp><![CDATA[0]]></timestamp><duration><![CDATA[0]]></duration></shutdown_info>
<SMBFW><![CDATA[0]]></SMBFW><authPassed><![CDATA[1]]></authPassed><isAdmin><![CDATA[1]]></isAdmin><user><![CDATA[admin]]></user><username><![CDATA[admin]]></username><groupname><![CDATA[administrators]]></groupname><userid><![CDATA[0]]></userid><userType><![CDATA[local]]></userType><model><modelName><![CDATA[TS-X82]]></modelName><internalModelName><![CDATA[TS-X82]]></internalModelName><platform><![CDATA[TS-NASX86]]></platform><platform_ex><![CDATA[X86_SKYLAKE]]></platform_ex><customModelName><![CDATA[]]></customModelName><displayModelName><![CDATA[TVS-1282]]></displayModelName><sas_model><![CDATA[0]]></sas_model><storage_v2>1</storage_v2>
<encryptfsSupported><![CDATA[1]]></encryptfsSupported></model>
<firmware><version><![CDATA[4.4.1]]></version><number><![CDATA[0978]]></number><build><![CDATA[20190626]]></build><patch><![CDATA[0]]></patch><buildTime><![CDATA[2019/06/26]]></buildTime></firmware>
<rfs_bits><![CDATA[64]]></rfs_bits><specVersion><![CDATA[1.0]]></specVersion><hostname><![CDATA[YAHA]]></hostname><DemoSiteSuppurt><![CDATA[no]]></DemoSiteSuppurt><customLogo><customFrontLogo><![CDATA[]]></customFrontLogo><customLoginLogo><![CDATA[]]></customLoginLogo></customLogo>
<gqMaster><![CDATA[-1]]></gqMaster><HTTPHost><![CDATA[--]]></HTTPHost><webAccessPort><![CDATA[8080]]></webAccessPort><QWebPort><![CDATA[80]]></QWebPort><webFSEnabled><![CDATA[1]]></webFSEnabled><QMultimediaEnabled><![CDATA[0]]></QMultimediaEnabled><MSV2Supported><![CDATA[0]]></MSV2Supported><MSV2WebEnabled><![CDATA[1]]></MSV2WebEnabled><MSV2URL><![CDATA[/MSV2/]]></MSV2URL><QDownloadEnabled><![CDATA[0]]></QDownloadEnabled><DSV2Supported><![CDATA[0]]></DSV2Supported><DSV3Supported><![CDATA[1]]></DSV3Supported><DSV2URL><![CDATA[/downloadstation/?ssid=]]></DSV2URL><QWebEnabled><![CDATA[1]]></QWebEnabled><QWebSSLEnabled><![CDATA[1]]></QWebSSLEnabled><QWebSSLPort><![CDATA[8081]]></QWebSSLPort><NVREnabled><![CDATA[0]]></NVREnabled><NVRURL><![CDATA[/surveillance/]]></NVRURL><NVRVER><![CDATA[1]]></NVRVER><WFM2><![CDATA[1]]></WFM2><wfmPortEnabled><![CDATA[0]]></wfmPortEnabled><wfmPort><![CDATA[8080]]></wfmPort><wfmSSLEnabled><![CDATA[0]]></wfmSSLEnabled><wfmSSLPort><![CDATA[443]]></wfmSSLPort><wfmURL><![CDATA[/filestation/]]></wfmURL><QMusicsEnabled><![CDATA[0]]></QMusicsEnabled><QMusicsURL><![CDATA[/musicstation/]]></QMusicsURL><QVideosEnabled><![CDATA[0]]></QVideosEnabled><QVideosURL><![CDATA[/videostation/]]></QVideosURL><QPhotosEnabled><![CDATA[0]]></QPhotosEnabled><QPhotosURL><![CDATA[/photostation/]]></QPhotosURL><stunnelEnabled><![CDATA[1]]></stunnelEnabled><stunnelPort><![CDATA[443]]></stunnelPort><forceSSL><![CDATA[0]]></forceSSL><HDAROOT_ALMOST_FULL><![CDATA[0]]></HDAROOT_ALMOST_FULL><passwdConstraints><passwdConstraint01><![CDATA[0]]></passwdConstraint01><passwdConstraint02><![CDATA[0]]></passwdConstraint02><passwdConstraint03><![CDATA[0]]></passwdConstraint03><passwdConstraint04><![CDATA[0]]></passwdConstraint04><pw_constraint01_opt><![CDATA[0]]></pw_constraint01_opt><pw_constraint01_letter><![CDATA[0]]></pw_constraint01_letter><pw_min_limit_en><![CDATA[0]]></pw_min_limit_en><pw_min_limit><![CDATA[5]]></pw_min_limit></passwdConstraints>
<quickStart><![CDATA[1]]></quickStart><connet_info><connet_ip><![CDATA[192.168.1.107]]></connet_ip></connet_info>
<ts><![CDATA[8112321]]></ts><fwNotice><![CDATA[0]]></fwNotice><SUID><![CDATA[1250b8dfe51f305dd00f6f46692e156c]]></SUID><title><![CDATA[]]></title><content><![CDATA[]]></content><psType><![CDATA[1]]></psType><standard_massage><![CDATA[]]></standard_massage><standard_color><![CDATA[#FFFFFF]]></standard_color><standard_size><![CDATA[12 px]]></standard_size><standard_bg_style><![CDATA[fill]]></standard_bg_style><showVersion><![CDATA[1]]></showVersion><show_link><![CDATA[1]]></show_link><cuid><![CDATA[ba73262c3eca7ecacc86f83346e042b9]]></cuid></QDocRoot>
AUTH_CACHE: {"sid=3le7ve8y":"admin","sid=mqqnq9oi":"admin"}
Post Reply