Re: Can't access Draws Manager


 

Hi John:
That post was from my old image. I sttarted a new one. Same command. Here.

pi@draws:~ $ manager-sysd.sh start
ENABLING draws-manager
Created symlink /etc/systemd/system/multi-user.target.wants/draws-manager.service → /etc/systemd/system/draws-manager.service.
pi@draws:~ $ manager-sysd.sh status
Systemd draws-manager.service is enabled
● draws-manager.service - DRAWS™ Manager - A web application to manage the DRAW™ HAT configuration.
   Loaded: loaded (/etc/systemd/system/draws-manager.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-09-01 09:10:13 AKDT; 17s ago
     Docs: https://github.com/nwdigitalradio/draws-manager
  Process: 2340 ExecStart=/usr/bin/npm start (code=exited, status=1/FAILURE)
 Main PID: 2340 (code=exited, status=1/FAILURE)
 
Sep 01 09:10:12 draws npm[2340]: npm ERR! errno 1
Sep 01 09:10:12 draws npm[2340]: npm ERR! webapp@0.0.1 start: `node ./bin/www`
Sep 01 09:10:12 draws npm[2340]: npm ERR! Exit status 1
Sep 01 09:10:12 draws npm[2340]: npm ERR!
Sep 01 09:10:12 draws npm[2340]: npm ERR! Failed at the webapp@0.0.1 start…ript.
Sep 01 09:10:12 draws npm[2340]: npm ERR! This is probably not a problem w…bove.
Sep 01 09:10:13 draws npm[2340]: npm ERR! A complete log of this run can b…d in:
Sep 01 09:10:13 draws npm[2340]: npm ERR!     /root/.npm/_logs/2020-09-01T…g.log
Sep 01 09:10:13 draws systemd[1]: draws-manager.service: Main process exite…LURE
Sep 01 09:10:13 draws systemd[1]: draws-manager.service: Failed with result…de'.
Hint: Some lines were ellipsized, use -l to show in full.
Sep 01 09:10:12 draws npm[2340]: Specified sensor(s) not found!
Sep 01 09:10:12 draws npm[2340]:     at checkExecSyncError (child_process.js:629:11)
Sep 01 09:10:12 draws npm[2340]:     at execSync (child_process.js:666:13)
Sep 01 09:10:12 draws npm[2340]:     at getSensors (/usr/local/var/draws-manager/webapp/io.js:45:15)
Sep 01 09:10:12 draws npm[2340]:     at Timeout._onTimeout (/usr/local/var/draws-manager/webapp/io.js:118:27)
Sep 01 09:10:12 draws npm[2340]:     at ontimeout (timers.js:436:11)
Sep 01 09:10:12 draws npm[2340]:     at tryOnTimeout (timers.js:300:5)
Sep 01 09:10:12 draws npm[2340]:     at listOnTimeout (timers.js:263:5)
Sep 01 09:10:12 draws npm[2340]:     at Timer.processTimers (timers.js:223:10)
Sep 01 09:10:12 draws npm[2340]: npm ERR! code ELIFECYCLE
Sep 01 09:10:12 draws npm[2340]: npm ERR! errno 1
Sep 01 09:10:12 draws npm[2340]: npm ERR! webapp@0.0.1 start: `node ./bin/www`
Sep 01 09:10:12 draws npm[2340]: npm ERR! Exit status 1
Sep 01 09:10:12 draws npm[2340]: npm ERR!
Sep 01 09:10:12 draws npm[2340]: npm ERR! Failed at the webapp@0.0.1 start script.
Sep 01 09:10:12 draws npm[2340]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Sep 01 09:10:13 draws npm[2340]: npm ERR! A complete log of this run can be found in:
Sep 01 09:10:13 draws npm[2340]: npm ERR!     /root/.npm/_logs/2020-09-01T17_10_12_993Z-debug.log
Sep 01 09:10:13 draws systemd[1]: draws-manager.service: Main process exited, code=exited, status=1/FAILURE
Sep 01 09:10:13 draws systemd[1]: draws-manager.service: Failed with result 'exit-code'.
 

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.