Read the statement by Michael Teeuw here.
[Pi2] Magic Mirror Wont Startup
-
I’ve had Magic Mirror running for some time now without issues, until space limitations resulted in the app failing to start. After clearing space, updating system packages, and pulling the latest from master (currently at
3dbe8bf
), the Magic Mirror app is still failing to start.Here is a slimmed down config which i tested on my PC, which works as expected but does not work on my Pi.
var config = { port: 8080, language: "en", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "clock", position: "top_left" } ] };
The log output when running
npm run start
:> magicmirror@2.13.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-10-26 14:46:47.896] [LOG] Starting MagicMirror: v2.13.0 [2020-10-26 14:46:47.929] [LOG] Loading config ... [2020-10-26 14:46:47.951] [LOG] Loading module helpers ... [2020-10-26 14:46:47.960] [LOG] No helper found for module: alert. [2020-10-26 14:46:47.964] [LOG] No helper found for module: clock. [2020-10-26 14:46:47.966] [LOG] All module helpers loaded. [2020-10-26 14:46:48.502] [LOG] Starting server on port 8080 ... [2020-10-26 14:46:48.556] [LOG] Server started ... [2020-10-26 14:46:48.559] [LOG] Sockets connected & modules started ...
After the last log line above, the application just exists out and no browser is opened.
Interestingly, running in server only mode works and I can browse to the UI no problem. Is it possible it’s something odd with
electron
. The version used iselectron@6.0.12
Some other pieces of relevant info:
Version:
Raspberry Pi 2 Model B Rev 1.1
OS:
Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
Be great to get some help on this, been digging down various rabbit holes few days now. Thanks.
-
@dr4ke616 if u ran out of space on your SD card, its probably toast.
SD card technology is not as we expect it… the memory bits are write once. when u wrote a file again, the hardware marks the old bits as ‘used’ and consumes any unused bits… once out of unused, the card is no longer usable…
this is ok for music or pics that get written once and then read over and over…
but not good for an OS that writes all the time…start with a new sd card…
-
@sdetweil really? Because the pie seems otherwise fine. The issue seems very specific. If it were down to the SD card being unusable, I would expect the pie as a whole to have issues.
-
@dr4ke616 can only speak to experience…