#drawsmanager #draws-manager #drawsmanager #draws-manager


John Spoonhower
 

Basil or John,
I am seeing some new strangeness when trying to startup the draws manager.When I startup with the commandkline it like OK:
mgr-ctrl.sh start
Starting: draws-manager
pi@draws:~ $ mgr-ctrl.sh status
● 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: active (running) since Thu 2021-03-25 19:17:17 EDT; 3s ago
     Docs: https://github.com/nwdigitalradio/draws-manager
 Main PID: 2130 (node)
    Tasks: 7 (limit: 2063)
   CGroup: /system.slice/draws-manager.service
           └─2130 node /usr/bin/npm start

Mar 25 19:17:17 draws systemd[1]: Started DRAWS™ Manager - A web applicati…ion..
Hint: Some lines were ellipsized, use -l to show in full.

 Status for draws-manager: RUNNING and ENABLED

However after a short time (~10 seconds) a repeat of the status command shows it has failed:

pi@draws:~ $ mgr-ctrl.sh status -l
● 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 Thu 2021-03-25 19:18:29 EDT; 1s ago
     Docs: https://github.com/nwdigitalradio/draws-manager
  Process: 2195 ExecStart=/usr/bin/npm start (code=exited, status=1/FAILURE)
 Main PID: 2195 (code=exited, status=1/FAILURE)

Mar 25 19:18:29 draws npm[2195]: npm ERR! errno 1
Mar 25 19:18:29 draws npm[2195]: npm ERR! webapp@0.0.1 start: `node ./bin/www`
Mar 25 19:18:29 draws npm[2195]: npm ERR! Exit status 1
Mar 25 19:18:29 draws npm[2195]: npm ERR!
Mar 25 19:18:29 draws npm[2195]: npm ERR! Failed at the webapp@0.0.1 start script.
Mar 25 19:18:29 draws npm[2195]: npm ERR! This is probably not a problem with npm. There is likely addit…t above.
Mar 25 19:18:29 draws npm[2195]: npm ERR! A complete log of this run can be found in:
Mar 25 19:18:29 draws npm[2195]: npm ERR!     /root/.npm/_logs/2021-03-25T23_18_29_341Z-debug.log
Mar 25 19:18:29 draws systemd[1]: draws-manager.service: Main process exited, code=exited, status=1/FAILURE
Mar 25 19:18:29 draws systemd[1]: draws-manager.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.

 Status for draws-manager: NOT RUNNING and ENABLED

Then there is no connecting via the web interface at localhost:8080.

Any guidance?
73, John, NX2I

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