genmon wont start #1233
-
Checklist
VersionVersion V1.18.18, raspbian 12 Have you submitted your log files from the About page? Note that outbound email must be working for logs to be submitted.I have submitted logs What is/are your question(s)?After a reboot, genmon fails to start using /opt/genmon/startgenmon.sh start
but nothing is running. genmon.log shows:
genloader.log shows:
genmqtt.log shows: genserv.log shows:
But, if I run them manually, they all work...
I have no idea what happened. Just a reboot as far as I know. Any help on getting this fixed would be appreciated. Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
A few comments:
Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
It looks like pyserial was installed, but something was wrong with it.... (genenv) [genmon] root:/opt/genmon> ./genenv/bin/pip3 freeze|grep serial (genenv) [genmon] root:/opt/genmon> ./genenv/bin/pip3 install pyserial So I removed it and then reinstalled it.... (genenv) [genmon] root:/opt/genmon> ./genenv/bin/pip3 install pyserial And now everything starts up as expected. Thank you so much for your quick help! I'll work on getting upgraded to the latest version now. . |
Beta Was this translation helpful? Give feedback.
-
I am glad it is working for you. Alternatively you could of solved this with this command:
this will refresh the python libraries with the versions specified in the requirements.txt file. A while back the install script set the version of pyopenssl to 24.1.0 which should avoid the issue you ran into. Your approach should work fine as well. |
Beta Was this translation helpful? Give feedback.
It looks like pyserial was installed, but something was wrong with it....
(genenv) [genmon] root:/opt/genmon> ./genenv/bin/pip3 freeze|grep serial
pyserial==3.5
(genenv) [genmon] root:/opt/genmon> ./genenv/bin/pip3 install pyserial
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyserial in ./genenv/lib/python3.11/site-packages (3.5)
So I removed it and then reinstalled it....
(genenv) [genmon] root:/opt/genmon> ./genenv/bin/pip3 uninstall pyserial
Found existing installation: pyserial 3.5
Uninstalling pyserial-3.5:
Would remove:
/opt/genmon/genenv/bin/pyserial-miniterm
/opt/genmon/genenv/bin/pyserial-ports
/opt/genmon/genenv/lib…