Read the statement by Michael Teeuw here.
Posts
-
Weather not Loading
Hi,
I upgraded to 2.19, and saw that the weather forecast and current weather both depreciated. I read the migration and made the changes, and now both get stuck at loading.

Everything else updated fine, and both modules were working before the change. I tried to specify which provider to use instead of the default. i removed the location id and tried to just use location and vice versa. Neither worked.
Here’s my code, I removed the api key and location data, but it was all fine before the change.
{ module: "weather", position: "top_right", config: { type: "current", location: "XXXXXXX", locationID: "XXXXXXX", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "XXXXXXX" } }, { module: "weather", position: "top_right", header: "Weather Forecast", config: { type: "forecast", location: "XXXXXX, locationID: "XXXXXXX", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "XXXXXXX" }Thanks!
-
RE: Mirror Squashed, partially locked out
Thanks for the help, but I just went ahead and reloaded it.
-
RE: Mirror Squashed, partially locked out
@sdetweil
I’m not able to ssh into the machine, but I can VNC into it. I can minimize the window, but it just goes black and gives me an error message about about a wiki page it can’t GET. Currently, it says "Cannot GET /wiki/Los_Angeles_Lakers. I can only assume this has to do with a wikipedia of the day module I have installed.I normally have it rotated due to how it hangs on my wall.
I got the web browser up by using alt+F2 and going to help -> documentation. I can’t get into a terminal or anything else.
-
Mirror Squashed, partially locked out
Hi Everyone,
I ran the update last week, and after the restart I noticed that my PIR sensor wasn’t working. I looked and the python script I used was missing from the MM folder, so i copied it back there, and also onto the main file, because I couldn’t remember where it went. After a restart, Igot a mirror that looked like this:

For some reason, all the text is squished up into a smaller area. When I tried to sort out what happened, I couldn’t use ctrl + alt +delete or any other hotkey shortcuts to get to the file browser or terminal to try and figure out what went wrong. Through a lot of trial and error, I was able to figure out that alt+F2 worked, and that I could pull up a web browser from there to get to my files to at least look at it, though I can’t move, edit, or delete anything. I still can’t get to the normal file browser or the terminal. I tried to zoom out, and that just makes the text smaller but the window size doesn’t change. The web browser underneath is the proper size and everything looks fine there. I can’t seem to pull any log flies, and when I restart it comes back to this. I have to cut power to restart, since ctrl+alt+delete doesn’t work.
Any ideas on how to fix, or am I looking at a rebuild? Happy to provide whatever other data I can.
Thanks.
-
RE: What is your backup and restore method?
For my backup I tried to just make an image of my card, so if something were to ever go wrong, I could just reimage my card and it would work. Well, we lost power yesterday, and something went wrong. I formatted the card, re imaged it, and it eventually booted after some errors. The problem was that my config.js was corrupted or something, because I couldn’t edit it anymore. I’ve tried to reimage it again, but i’ve now gotten a different set of errors and a debian load screen i’ve never seen before. No idea where I went wrong.
-
RE: Raspbian/MM won't boot
Thanks. Is there any way to save the files on there? I hooked the card to my windows machine and copied everything.
-
Raspbian/MM won't boot
Hi Everyone,
Things had been going well for the magic mirror. Everything updated, motion sensor worked, it was great. Yesterday I noticed it was off. I rebooted it, and it went from the 4 raspberries on top, to the magic mirror boot screen, to the screen down in the pictures. I keep restarting, and it seems to give me a different message each time. The only common thing is chmod: cannot access ‘monitor_o*’ no such file or directory. I’m not sure what happened. I haven’t messed with it since it started running except to do some updates, I haven’t added any new modules. It will stay on this screen and repeat the same lines over and over until I turn it off.
Pictures:





Thank you!
-
RE: PIR-module -> NODE_MODULE_VERSION...
@pw94 I was never able to get either of those to run for me. I ended up copying the python script from https://www.putorius.net/using-pir-sensor-for-motion-detection.html and it’s been working fine.
-
RE: MM cant boot, wont boot!
@sdetweil So i should delete the package-lock.json file, then run
cd ~/MagicMirror
git checkout develop
git pulland then restart mm?
-
RE: MM cant boot, wont boot!
@sdetweil So i tried that and it said “error: Your local changes to the following files would be overwritten by checkout:
package-lock.json
Please commit your changes or stash them before you switch branches.
Aborting”
but i havent edited the package-lock.json, so i don’t know why its saying that. Since the problems started when i ran the update, i’m nervous to mess with anything again. -
RE: MM cant boot, wont boot!
rebooted this morning, reinstalled a module, and everything is back except the weather only shows 2 days. Thank you again for your help Sam.
-
RE: MM cant boot, wont boot!
ok, mostly back. My calendar and news feed is still stuck on loading, but everything else is back up. I will post some error logs later after i poke around.
Sam, thank you so much for your help. It is really appreciated.
-
RE: MM cant boot, wont boot!
@sdetweil when I out the whole line in, it said fatal too many arguments. I made a new folder called mm and did the git clone of the site.
Forgot to run npm install, will do that and post results.
-
RE: MM cant boot, wont boot!
@sdetweil I have no idea what happened. I ran the update, restarted, and nothing worked.
So, the command git checkout and nothing seemed to happen. I removed the folder and did the git clone of the directory. I tried to do git mm and it said mm is not a git command. I tried to run the last line you gave me, and it said no such file or directory.
I really appreciate all your work on this.
-
RE: MM cant boot, wont boot!
@sdetweil I’m running rasbian like the tutorial suggests.
That command gave me: “pi@raspberrypi:~/MagicMirror $ ls modules/default -laF
total 12
drwxr-xr-x 2 pi pi 4096 Jul 3 08:21 ./
drwxr-xr-x 3 pi pi 4096 Jul 3 08:21 …/
-rw-r–r-- 1 pi pi 512 Jul 3 08:21 defaultmodules.js” -
RE: MM cant boot, wont boot!
@sdetweil main.js:478 Initializing MagicMirror.
translator.js:202 Loading core translation file: translations/en.json
translator.js:227 Loading core translation fallback file: translations/en.json
loader.js:175 Load script: modules/default/alert//alert.js
:8080/modules/default/alert//alert.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/alert//alert.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/updatenotification//updatenotification.js
:8080/modules/default/updatenotification//updatenotification.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/updatenotification//updatenotification.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/clock//clock.js
:8080/modules/default/clock//clock.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/clock//clock.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/calendar//calendar.js
:8080/modules/default/calendar//calendar.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/calendar//calendar.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/compliments//compliments.js
:8080/modules/default/compliments//compliments.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/compliments//compliments.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/currentweather//currentweather.js
:8080/modules/default/currentweather//currentweather.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/currentweather//currentweather.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/weatherforecast//weatherforecast.js
:8080/modules/default/weatherforecast//weatherforecast.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/weatherforecast//weatherforecast.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/newsfeed//newsfeed.js
:8080/modules/default/newsfeed//newsfeed.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/newsfeed//newsfeed.js
script.onerror @ loader.js:185
loader.js:194 Load stylesheet: css/custom.css
main.js:496 All modules started!
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
protocols.This exposes users of this app to unnecessary security risks.
Consider loading the following resources over HTTPS or FTPS.- http://localhost:8080/css/main.css
- http://localhost:8080/fonts/roboto.css
- http://localhost:8080/socket.io/socket.io.js
- http://localhost:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
- http://localhost:8080/js/defaults.js
- http://localhost:8080/config/config.js
- http://localhost:8080/vendor/vendor.js
- http://localhost:8080/modules/default/defaultmodules.js
- http://localhost:8080/js/logger.js
- http://localhost:8080/translations/translations.js
- http://localhost:8080/js/translator.js
- http://localhost:8080/js/class.js
- http://localhost:8080/js/module.js
- http://localhost:8080/js/loader.js
- http://localhost:8080/js/socketclient.js
- http://localhost:8080/js/main.js
- http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
- http://localhost:8080/translations/en.json
- http://localhost:8080/translations/en.json
- http://localhost:8080/css/custom.css
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with “unsafe-eval” enabled. This exposes users of
this app to unnecessary security risks.For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
(anonymous) @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 -
RE: MM cant boot, wont boot!
@sdetweil ok, progress. It started magic mirror with a black screen and no mouse. Before it was a black screen with the mouse, and it said electron instead of magic mirror 2. I rebooted and tried to reload my config.js, but it didn’t help.