Read the statement by Michael Teeuw here.
MM2.10 & Pi3b - run-start.sh issue? (Exit status 7, errno 7, error code ELIFECYCLE)
-
… and no, I did the manual install.
XR
-
@xray2607 The error log rather hints to your streaming module being the issue
[06:29:36.399] [ERROR] TypeError: Cannot convert undefined or null to object at Function.keys () at stopProcs (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:469:32) at pm2.list (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:498:17)
Have you tried deactivating that one and restarting the mirror?
Maybe there’s a problem with both modules disturbing each other for some reason? -
@lavolp3
I will have to check that in the evening, as I have not yet disabled any of the modules.- The mirror was restarted around 40 times over the last 48h (complete reboot as well as disconnecting the PSU for 30min or so).
- Did a couple of ‘npm start dev’ sessions as well. (but I only have limited understanding of what I am seeing in the dev window)
- Individually reinstalled a couple of the modules.
- Did ‘npm audit’ and ‘npm audit fix’ (0 vulnerabilities), plus ‘npm install’ in the MagicMirror folder (again, no problems)
I am struggling with the fact that everything worked fine up to one point, and without me doing anything it stops working smoothly.
If I did anything wrong, I would like to understand the why/how in order to avoid it in the future.Going to post my findings here.
XR
-
@xray2607 said in MM2.10 & Pi3b - run-start.sh issue? (Exit status 7, errno 7, error code ELIFECYCLE):
… and no, I did the manual install.
ok, before changing anything else.
the manual update (git pull & npm install) leaves out a crucial step… if any of the modules need dependencies,then THEY ALSO need an npm install cycle done in their folders…
so, look thru all the module folders, if any contain a package.json file, then run npm install in each folder that does
please do check and update as required
i see both MMM-RTSPStream and MMM-NetworkConnection have that file…
MMM-RTSPStream is the module to put out the message right before the error… so… its likely that is the problem -
@sdetweil, thanks for your swift reply, will do.
-
@sdetweil, you are correct.
I determined that the MMM-RTSPStream module is causing the problem for sure, by cross testing the two modules.Am doing a new install of this as an update install via npm install in the appropriate module folder did not make it work again.
- re removing the screensaver/blank screen, do you know how to fix this as well?
Thank you for your help!
Best XR
-
@xray2607 said in MM2.10 & Pi3b - run-start.sh issue? (Exit status 7, errno 7, error code ELIFECYCLE):
re removing the screensaver/blank screen, do you know how to fix this as well?
u want to turn off screensaver?
if so , run the screensaveroff.sh from here
-
Yup, this is when I ran into the troubles.
Many thanks for the lift, sam.Will close the issue as it is related to a ‘simple’ module install challenge …
XR