Up to date install process.
I’m new here and I"m looking for an up to date installation procedure to put magic mirror 2 on my raspberry pi zero w. I’ve looked at several on the internet and most have really old code. They are still using jesse in most cases. Also, when following weiber and rootsudo they are saying to run “sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb” and the node_latest_armhf.deb comes back with a 502 Bad Gateway error. I’ve verified this several times.
So, I really like magic mirror and want to get my raspi zero w going with it but I’m kind of stuck with old install information. Any help would be greatly appreciated. Glenn.
Thanks for replying so quickly sdetweil. Where does this leave me in the installation process when it is done?
@stampeder with a running MM, with pm2 to start on boot (if u select that during the install process)
and screen saver turned off (if u select it)…
i suggest u start with raspian buster, not jessie (too old)
my repo is referenced from the MM doc site
u will need to remove any existing MM folder before starting
if u choose not to do the optional things, there are scripts on the same site to enable them later
I currently have stretch lite loaded on my SD card. The install script worked just fine and the pm2 start MagicMirror shows MagicMirror status online. However, there doesn’t seem to be a browser page come up. I still seem to be in CLI mode. Should I start it all over from scratch with Buster?
@stampeder pi 0w should have the chromium browser started to show the page…
u have lite installed, which probably doesn’t have chromium… so I would install that and then restart MM using pm2
sudo apt-get install chromium-browser
@stampeder the system is running the graphical desktop, right? it must
I’m just finishing installing chromium. Let me see if it works. My version of Stretch is NOT the desktop version. I have a version of Buster however that is the desktop version. If this still fails after the chromium install, I’ll redo it with the Buster sdcard.
Will your install script also work with Midori browser?
@stampeder it MUST be desktop version… else u will run in serveronly mode and can access from another system
electron or chrome needs the graphical desktop environment to work
@stampeder the install script is bash… running is a different problem…
u will have to change the run-start.sh script to launch that browser