Read the statement by Michael Teeuw here.
MM won’t start after updating with update script
-
Hello.
I tried to update my MM using the update script:cd MagicMirror bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply(https://github.com/sdetweil/MagicMirror_scripts)
When I was issued the command:
pm2 logI got this error
home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:559:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:551:3) 0|mm | A JavaScript error occurred in the main process 0|mm | Uncaught Exception: 0|mm | TypeError: Bind must be called on a function 0|mm | at bind (<anonymous>) 0|mm | at /home/pi/MagicMirror/js/logger.js:32:38 0|mm | at /home/pi/MagicMirror/js/logger.js:16:20 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/js/logger.js:21:3) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/js/logger.js:46:3) 0|mm | at Module._compile (internal/modules/cjs/loader.js:711:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:620:32) 0|mm | at tryModuleLoad (internal/modules/cjs/loader.js:559:12) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:551:3)any suggestions?
-
I was able to resolve the issue with the command:
git pull && sudo npm installeverything works now expect for weatherforecast module that displays only the next 2 instead of next 5 days of forecast.
Not sure if this is a API limitation or somethings with new 2.12 MM version -
@panos Same forecast issue.
-
Also, MM auto stops after some minutes with no reason.
here is the logs:
[2020-07-14 16:12:13.669] [LOG] Sockets connected & modules started ... [2020-07-14 16:12:13.960] [LOG] Launching application. [2020-07-14 16:12:14.620] [LOG] Shutting down server... [2020-07-14 16:12:14.624] [LOG] Stopping module helper: updatenotification [2020-07-14 16:12:14.625] [LOG] Stopping module helper: calendar [2020-07-14 16:12:14.627] [LOG] Stopping module helper: MMM-MoonPhase [2020-07-14 16:12:14.628] [LOG] Stopping module helper: MMM-NowPlayingOnSpotify [2020-07-14 16:12:14.629] [LOG] Stopping module helper: MMM-MyCommute [2020-07-14 16:12:14.631] [LOG] Stopping module helper: MMM-MQTT [2020-07-14 16:12:14.632] [LOG] Stopping module helper: MMM-GooglePhotos [2020-07-14 16:12:14.633] [LOG] Stopping module helper: newsfeed -
@panos show more log info
pm2 logs --lines=100
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