Re: Can't access Draws Manager


Basil Gunn
 

John K7VE needs to take a look at your output.
You could verify that the sensor file was updated properly by running:

sensor_update.sh -s

Todd via groups.io <ic7461=yahoo.com@groups.io> writes:

----------------------------
*First set Commands output:*
----------------------------

pi@radiopi:~/n7nix/config $ ./bin_refresh.sh
Updating local bin directory for user: pi
Already up-to-date.

FINISHED copying desktop files

FINISHED copying bin files

FINISHED copying AX.25 files
script: /home/pi/bin/sensor_update.sh found
Incorrect sensor config file found ... replacing.
Making sensor config file based on this version of DRAWS hat
Product ver: 0x0405, Assembly rev: 4, fab rev: 5
5V not connected to DRAWS A/D

FINISHED updating sensor config file

------------------------------------------------

*Second set of commands: manager-sysd.sh status*

------------------------------------------------

pi@radiopi:~/n7nix/config $ 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 Mon 2020-08-31 12:04:53 AKDT; 30min ago
Docs: https://github.com/nwdigitalradio/draws-manager
Main PID: 12818 (code=exited, status=1/FAILURE)

Aug 31 12:04:53 radiopi npm[12818]: npm WARN For further explanations, please read
Aug 31 12:04:53 radiopi npm[12818]: /usr/share/doc/nodejs/README.Debian
Aug 31 12:04:53 radiopi npm[12818]:
Aug 31 12:04:53 radiopi npm[12818]: npm ERR!
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! Additional logging details can be found in:
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! /usr/local/var/draws-manager/webapp…g.log
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! not ok code 0
Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Main process exited, code…ILURE
Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Unit entered failed state.
Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! You can get their info via:
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! npm owner ls webapp
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! There is likely additional logging output above.
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! System Linux 4.14.98-v7+
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! cwd /usr/local/var/draws-manager/webapp
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! node -v v8.11.1
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! npm -v 1.4.21
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! code ELIFECYCLE
Aug 31 12:04:53 radiopi npm[12818]: npm WARN This failure might be due to the use of legacy binary "node"
Aug 31 12:04:53 radiopi npm[12818]: npm WARN For further explanations, please read
Aug 31 12:04:53 radiopi npm[12818]: /usr/share/doc/nodejs/README.Debian
Aug 31 12:04:53 radiopi npm[12818]:
Aug 31 12:04:53 radiopi npm[12818]: npm ERR!
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! Additional logging details can be found in:
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! /usr/local/var/draws-manager/webapp/npm-debug.log
Aug 31 12:04:53 radiopi npm[12818]: npm ERR! not ok code 0
Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Unit entered failed state.
Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Failed with result 'exit-code'.

******************
*Last 2 commands:*
******************

pi@radiopi:~/n7nix/config $ manager-sysd.sh start
-------------------------------------------------

pi@radiopi:~/n7nix/config $ 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 Mon 2020-08-31 12:04:53 AKDT; 37min ago
--------------------------------------------------------------------------------

Condition: start condition failed at Mon 2020-08-31 12:41:50 AKDT; 38s ago
--------------------------------------------------------------------------

└─ ConditionPathExists=/proc/asound/udrc was not met
----------------------------------------------------

Docs: https://github.com/nwdigitalradio/draws-manager
-----------------------------------------------------

Main PID: 12818 (code=exited, status=1/FAILURE)
-----------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm WARN For further explanations, please read
----------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: /usr/share/doc/nodejs/README.Debian
-----------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]:
-----------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR!
--------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! Additional logging details can be found in:
----------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! /usr/local/var/draws-manager/webapp…g.log
------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! not ok code 0
----------------------------------------------------------

Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Main process exited, code…ILURE
------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Unit entered failed state.
-------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Failed with result 'exit-code'.
------------------------------------------------------------------------------------------

Hint: Some lines were ellipsized, use -l to show in full.
---------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! You can get their info via:
------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! npm owner ls webapp
--------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! There is likely additional logging output above.
---------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! System Linux 4.14.98-v7+
---------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
-------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! cwd /usr/local/var/draws-manager/webapp
------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! node -v v8.11.1
------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! npm -v 1.4.21
----------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! code ELIFECYCLE
------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm WARN This failure might be due to the use of legacy binary "node"
---------------------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm WARN For further explanations, please read
----------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: /usr/share/doc/nodejs/README.Debian
-----------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]:
-----------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR!
--------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! Additional logging details can be found in:
----------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! /usr/local/var/draws-manager/webapp/npm-debug.log
--------------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi npm[12818]: npm ERR! not ok code 0
----------------------------------------------------------

Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Main process exited, code=exited, status=1/FAILURE
-------------------------------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Unit entered failed state.
-------------------------------------------------------------------------------------

Aug 31 12:04:53 radiopi systemd[1]: draws-manager.service: Failed with result 'exit-code'.
------------------------------------------------------------------------------------------

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