Read the statement by Michael Teeuw here.
MM Starts before network is up
-
I am using pm2 and it’s startup scripts to start MM on boot on my pi 3. I tried several different ordering techniques including:
[Unit] Description=PM2 process manager Documentation=https://pm2.keymetrics.io/ Wants=network-online.target After=network.target network-online.target .... [Install] WantedBy=multi-user.target network-online.targetFor some reason nothing works and I keep getting auth errors on my modules and a constant Loading text in my calendar.
I resorted to writing this in my MM startup script to wait for a ping:
((count = 100)) while [[ $count -ne 0 ]] ; do ping -c 1 8.8.8.8 rc=$? if [[ $rc -eq 0 ]] ; then ((count = 1)) fi ((count = count - 1)) done if [[ $rc -eq 0 ]] ; then cd ~/MagicMirror DISPLAY=:0 npm start fiAnyone else have any ideas?
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login