Read the statement by Michael Teeuw here.
I need help installing MagicMirror on a Pi Zero W
-
trying to follow along from a .pdf titled “Installing the Magic Mirror on
the Raspberry Pi Zero W” from Andrew ChuI get up to page 17 or so from the slides.
i had to fix what looks to me a couple typos and I used the following command: (added the two slashes after https: and added the i that was missing in installers)
bash –c “$(curl –sL
https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)”the command is chugging along fine…
then I get an error
[PM2] [ERROR] Error: Script not found: /home/pi/MagicMirror/~/MagicMirror/installers/startMagicMirrorPi0.shHow do I fix and pick-up where it left off to register MagicMirror with PM2?
I tried in another SSH window to run that .sh (which I did find in what looks to be that path)
pi@raspberrypi:~/MagicMirror/installers $ ./startMagicMirrorPi0.sh Starting MagicMirror: v2.6.0 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. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. 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: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ...Ready to go! Please point your browser to: http://localhost:8080
unclutter: could not open display(chromium-browser:1424): Gtk-WARNING **: 12:53:45.426: cannot open display:
pi@raspberrypi:~/MagicMirror/installers $ pm2 show MagicMirror
[PM2][WARN] MagicMirror doesn’t existSo, I’m not sure if the ’ could not open display’ is a second error on top of the problem that PM2 cant register the application
thanks
-
@daveprenj use my up to date script
see
https://github.com/sdetweil/MagicMirror_scriptserase the mm folder, then run the installer
-
@sdetweil
I know this is a Very OLD thread, but, I tried putting MM on my Pi zero W
and it runs your script but MM doesn’t load, at least not when I VNC into the Zero.
I can use Putty and see it in a command line. So I renamed MM to MM2 and am reinstalling hoping it works this time. -
@plainbroke AND you have to change the browser… using the external_browser env variable , documented at the end of the scripts page…
-
-
@plainbroke yes
pm2 stop all to make sure the dead one is stoppedand test with
cd ~/MagicMirror npm start
to make sure it works
-
I’ve also posted a detailed step by step guide that’s been working for me on my Pi Zero W. YMMV.
-
@davidgagne , @sdetweil
Finally got mine to actually work, dang it is slow though. -
@plainbroke yeh they are