MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MM cant boot, wont boot!

    Scheduled Pinned Locked Moved Troubleshooting
    40 Posts 5 Posters 13.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @Cyric
      last edited by sdetweil

      @Cyric can u show any errors from pm2 or npm start screen

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Cyric @sdetweil
        last edited by

        @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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Cyric
          last edited by

          @Cyric are u running MM OS? or docker?

          those files should be there.

          cd ~/MagicMirror
          ls modules/default -laF

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C chrisparkerC 2 Replies Last reply Reply Quote 1
          • C Offline
            Cyric @sdetweil
            last edited by

            @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”

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Cyric
              last edited by

              @Cyric well. why are they. missing?

              I don’t know if this will work

              cd ~/MagicMirror
              git checkout modules/default

              if 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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Cyric @sdetweil
                last edited by

                @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.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Cyric
                  last edited by

                  @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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cyric
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cyric @sdetweil
                      last edited by Cyric

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cyric
                        last edited by Cyric

                        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.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy