UNSOLVED [RasPi2] Application not starting when OpenGL is enabled
Hello. I recently installed MagicMirror2 on my Raspberry Pi 2.
I installed it via the bash install script and I use the most recent node.js/npm binaries from their website. Installation and everything went smoothly w/o/ any errors, and everything looked nice.
Then, I’ve read in the github wiki that electron will generate lots of load on cpu, and that I should enable OpenGL via boot config text file or raspi-config.
I’ve tried out both methods, and there seems to be no problems, except for MagicMirror not showing up. Here’s a console output:
> email@example.com start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.4.1 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: email Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: email email helper started ... Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application.
Could anyone help me please?
I have exactly the same issue.
Any idea on what to do?
@markusbe Ok, I checked the locks and found out, that the MMM-PIR-Sensor module got an error message, it was build against another node.js version. A npm rebuild and npm install did not resolve the problem. I disabled the PIR Sensor in config.js, did an sudo apt-get update and sudo apt-get upgrade, and now my MagicMirror is working again. But I still have to figure out what happened to the PIR-Module.
I don’t have the MMM-PIR-Sensor, also, node is up to date. Wonder whether it has to do with system upgrades…