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.

    MagicMirror Goes blackscreen overnight

    Scheduled Pinned Locked Moved Solved Troubleshooting
    13 Posts 3 Posters 3.0k Views 3 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.
    • D Offline
      demetry07
      last edited by

      Every night my MagicMirror goes to a black screen. My curser is seen when I move the mouse in the morning and CTRL+Q makes it go back to my home page then MagicMirror will start automatically with no issues.

      Has anyone had this issue yet?

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

        @demetry07 said in MagicMirror Goes blackscreen overnight:

        MMM-GoogleMapsTraffic.js:77 Unc

        that module has a bug, get the fix from my repo . .

        do

        cd ~/MagicMirror/modules
        mv MMM-GoogleMapsTraffic MMM-GoogleMapsTraffic.old
        git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic
        

        restart your mirror

        I don’t know why the others, unless it is because of this one…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @demetry07 not specifically… but before ctrl-Q, do
          ctrl-shift-i to open the developers window, select the tab labeled ‘console’ and scroll up to see if there is an error reported… usually red text…

          the black screen means some script failed hard and the browser UI can’t continue

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • D Offline
            demetry07
            last edited by

            Thanks I will check it in the morning when it does it again.

            1 Reply Last reply Reply Quote 0
            • D Offline
              demetry07
              last edited by

              Checked any errors and this is what came up.

              Thoughts?

              8080/modules/MMM-Snow//MMM-Snow.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
              (index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Snow//MMM-Snow.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
              loader.js:187 Error on loading script: modules/MMM-Snow//MMM-Snow.js
              script.onerror @ loader.js:187
              :8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
              (index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
              loader.js:187 Error on loading script: modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js
              script.onerror @ loader.js:187
              (index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
              loader.js:203 Error on loading stylesheet: css/custom.css
              stylesheet.onerror @ loader.js:203
              :8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
              at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
              maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
              Vi @ maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139
              :8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
              at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
              api.openweathermap.org/data/2.5/forecast/daily?id=4393217&units=imperial&lang=en&APPID=98626cd176b5075d4d8b1fba0971e8f8:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
              :8080/modules/default/weatherforecast//weatherforecast.js:266 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
              weatherRequest.onreadystatechange @ :8080/modules/default/weatherforecast//weatherforecast.js:266
              (index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

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

                @demetry07 said in MagicMirror Goes blackscreen overnight:

                MMM-GoogleMapsTraffic.js:77 Unc

                that module has a bug, get the fix from my repo . .

                do

                cd ~/MagicMirror/modules
                mv MMM-GoogleMapsTraffic MMM-GoogleMapsTraffic.old
                git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic
                

                restart your mirror

                I don’t know why the others, unless it is because of this one…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • D Offline
                  demetry07
                  last edited by

                  Ok updated and restarted. Will update in the morning or if it fails before then.

                  Thank you very much @sdetwil

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

                    @demetry07 any update?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      demetry07 @sdetweil
                      last edited by

                      @sdetweil Yes no black screen this morning that fixed it!

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

                        @demetry07 woohoo!!.. thanks for the update!

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          demetry07 @sdetweil
                          last edited by

                          @sdetweil I am glad you told me about the CTRL + Shift + I. I was able to use that to fix some of the other Modules I was using.

                          S 1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 1 / 2
                          • 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