Read the statement by Michael Teeuw here.
MM cant boot, wont boot!
-
This post is deleted! -
@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.
-
@Cyric can u show any errors from pm2 or npm start screen
-
@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 -
@Cyric are u running MM OS? or docker?
those files should be there.
cd ~/MagicMirror
ls modules/default -laF -
@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” -
@Cyric well. why are they. missing?
I don’t know if this will work
cd ~/MagicMirror
git checkout modules/defaultif not, you will probably have to git clone and copy the files from the clone
git clone https://github.com/MichMich/MagicMirror. git mm
cp -r -p mm/modules/default ~/MagicMirror/modules
-
@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.
-
@Cyric that git clone was all one long line
clone this repo into a folder named mm
you removed the folder, that’s where it went further south
-
This post is deleted!