Read the statement by Michael Teeuw here.
Since I updated my Raspi MMM-RTSPStream not running
-
Hi,
maybe anybody has the same problem since updating the Raspi via
sudo apt-get update
sudo apt-get upgrade.Before doing that my MagicMirror with RTSPStream ran fantastic. After the update there is no picture of the stream in the RTSPStream-Module-Frame. All the other modules are still running as good as before.
Anybody an idea?
Sorry about my terrible english… -
@volkae You’d have to check the logs to be sure. If you’re using PM2 you can use
pm2 logs
to generate the logs live, just in another ssh window, restart magic mirror to get the log stream at startup. I’m suspecting something going wrong with the call out to the external program.Sadly, RTSPStream is unsupported by author now, and was left in a real bad state.
-
Thank you for your Message,
this is a part of the pm2 logfile:
/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm | [21.10.2021 20:43.43.518] [ERROR] Whoops! There was an uncaught exception…
0|mm | [21.10.2021 20:43.43.532] [ERROR] TypeError: Cannot convert undefined or null to object
0|mm | at Function.keys ()
0|mm | at stopProcs (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:469:32)
0|mm | at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:498:17
0|mm | at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:606:19
0|mm | at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10
0|mm | at Parser. (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8)
0|mm | at Parser.emit (events.js:315:20)
0|mm | at Parser._write (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/amp/lib/stream.js:91:16)
0|mm | at doWrite (_stream_writable.js:403:12)
0|mm | at writeOrBuffer (_stream_writable.js:387:5)
0|mm | [21.10.2021 20:43.43.534] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm | [21.10.2021 20:43.43.536] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINTDo you see a mistake in the lines above?
-
@volkae Check this topic out. Based on where the module is failing, I suspect it’s no longer launching the OMX stream.
-
@bkeyport
I found an old Data backup from my Raspi SD-Card and restored it.Now erverything works fine again (as long as I make no Raspi-update)…
Thanks for your help!!!