Read the statement by Michael Teeuw here.
How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
-
@piziie In my experience, this means that the mirror process is already running and you’ve attempted to start it again. Are you using PM2 to manage the mirror process? Is it possible that two of your scripts are both trying to start the mirror? Have you changed any init settings to auto-boot the mirror?
-
@piziie if you want I can post my image and you can write my image to your sd
-
@bhepler pm2 doesnt appear to be installed, however i do have npm installed. Could that cause a conflict?
Any way to the sources from which start the mirror process is starting?
Also i may have created a conflict by following the OP steps as well as the steps outlined by @kobie
Also… Instead of adding start.sh to the end of .bashrc, it’s better practice to have the script run automatically on start-up. To do this: sudo mv /home/pi/start.sh /etc/init.d/startMagicMirror.sh sudo update-rc.d startMagicMirror.sh defaults 100 This moves the script to the standard location for start-up scripts and tells the system to run it after each boot.
I went back and deleted the startMagicMirror.sh file, however. Does update-rc.d need to be rolled back as well?
-
@piziie That sounds right. Without tracing too closely, it sounds like your
startMagicMirror.sh
scripts and yourstart.sh
script are both starting the mirror process. -
@bhepler after deleting startMagicMirror.sh the same problem exists
-
@piziie After you deleted the
startMagicMirror.sh
did you run the update command you quoted?
sudo update-rc.d startMagicMirror.sh remove
(more information at the the update-rc man page) -
@bhepler i have run that command, same issue persists.
Could it have something to do with VNCserver? -
I have MM2 running quite well on my Pi3 but I’d like to free up the Pi3 and use my zero for the MM2. Has anyone seen any real downsides to using the Pi Zero over the Pi3?
-
@Mar compared to the Pi3 the processing power is way lower, so from that point of view some modules wouldnt work properly. That said, for the ‘stock’ modules and API driven modules it should all work fine. Besides that the installing process is a bit more difficult as you can read above ;)
-
@Wieber Thanks, I would be using the Button module, PIR sensor module, Wunderlist module, and I want to try adding the Alexa module once i transfer it over to the Pi?
Another thing I was thinking would be to integrate this into my openhab setup to bring in the status of various sensors.