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.

    Black screen after 2.13 update - tentatively resolved

    Scheduled Pinned Locked Moved Troubleshooting
    53 Posts 9 Posters 20.4k Views 9 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.
    • swvalentiS Offline
      swvalenti Project Sponsor
      last edited by

      That gave me a black screen

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

        @swvalenti

        //requiresVersion: “2.1.0”,
        ??

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • swvalentiS Offline
          swvalenti Project Sponsor
          last edited by

          Correct, only pokemon had 2.1.0 I didnt see 2.1.0 in darksky just 2.2.0

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

            @swvalenti and u commented it out in darksky, yes?

            show errors

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • swvalentiS Offline
              swvalenti Project Sponsor
              last edited by

              Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-YvJxUhUeeIN7m4Y4YEc1FVS+YDCNVK6VsHIHx5z29EE='), or a nonce ('nonce-...') is required to enable inline execution.
              main.js:487 Initializing MagicMirror.
              translator.js:129 Loading core translation file: translations/en.json
              translator.js:154 Loading core translation fallback file: translations/en.json
              loader.js:176 Load script: modules/default/alert//alert.js
              module.js:513 Module registered: alert
              loader.js:148 Bootstrapping module: alert
              loader.js:176 Load script: modules/default/alert/notificationFx.js
              loader.js:153 Scripts loaded for: alert
              loader.js:195 Load stylesheet: modules/default/alert/notificationFx.css
              loader.js:195 Load stylesheet: vendor/css/font-awesome.css
              loader.js:155 Styles loaded for: alert
              translator.js:102 alert - Load translation fallback: translations/en.json
              /home/pi/MagicMirror…rity-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://0.0.0.0:8080/css/main.css
              - http://0.0.0.0:8080/fonts/roboto.css
              - http://0.0.0.0:8080/socket.io/socket.io.js
              - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
              - http://0.0.0.0:8080/js/defaults.js
              - http://0.0.0.0:8080/config/config.js
              - http://0.0.0.0:8080/vendor/vendor.js
              - http://0.0.0.0:8080/modules/default/defaultmodules.js
              - http://0.0.0.0:8080/js/logger.js
              - http://0.0.0.0:8080/translations/translations.js
              - http://0.0.0.0:8080/js/translator.js
              - http://0.0.0.0:8080/js/class.js
              - http://0.0.0.0:8080/js/module.js
              - http://0.0.0.0:8080/js/loader.js
              - http://0.0.0.0:8080/js/socketclient.js
              - http://0.0.0.0:8080/js/main.js
              - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
              - http://0.0.0.0:8080/translations/en.json
              - http://0.0.0.0:8080/translations/en.json
              - http://0.0.0.0:8080/modules/default/alert//alert.js
              - http://0.0.0.0:8080/modules/default/alert/notificationFx.js
              - http://0.0.0.0:8080/modules/default/alert/notificationFx.css
              - http://0.0.0.0:8080/vendor/css/font-awesome.css
              - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
              - http://0.0.0.0:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
                
               
              For more information and help, consult
              https://electronjs.org/docs/tutorial/security.
               This warning will not show up
              once the app is packaged.
              loader.js:157 Translations loaded for: alert
              
              
              0.0.0.0/:4 Uncaught SyntaxError: Unexpected token / in JSON at position 44
                  at JSON.parse (<anonymous>)
                  at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @swvalenti
                last edited by

                @swvalenti let me work on it. is that a pi0 perhaps, running chrome instead of electron?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  swvalenti Project Sponsor
                  last edited by

                  No sir it is a pi3b+ running buster

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

                    @swvalenti after looking at my dev console I see the same content security warning, but it is not fatal… just a warning…

                    I added the

                    requiresVersion: "2.1.0",
                    

                    to the calendar and it worked fine,
                    then commented out

                    //requiresVersion: "2.1.0",
                    

                    still worked ok…

                    and didn’t need that meta tag…

                    so, there must be something else going on…

                    can u rename the config.js out of the way (config.js.save)
                    and copy the sample

                    cp config.js.sample config.js 
                    

                    and try MM again

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • spitzlbergerjS Offline
                      spitzlbergerj Project Sponsor Module Developer @m0bed
                      last edited by

                      @m0bed said in Black screen after 2.13 update - tentatively resolved:

                      @m0bed So, I changed my config found out that this modules dont work at the moment:
                      MMM-Homematic-Heaters

                      The problem are the comments in the two translation files . Remove the comments and it will work again.

                      Since MMM-Homematic-Heaters seems to be no longer maintained, I have forked the module MMM-Homematic-Thermostats from it and developed it further. There the error is fixed. Maybe changing the module will help :-)

                      Regards
                      Josef

                      http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

                      1 Reply Last reply Reply Quote 0
                      • swvalentiS Offline
                        swvalenti Project Sponsor
                        last edited by

                        Somehow it was the MMM-DailyPokemon jacking all things up. Removed and all is working fine again.

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

                          @swvalenti probably the comments in the translation files, en and fr

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • swvalentiS Offline
                            swvalenti Project Sponsor
                            last edited by

                            Yes that is the error it was showing but I didn’t know how to proceed in fixing.

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

                              @swvalenti edit the json files in the translations folder and remove the comment. one of the others does not have a comment for example

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • swvalentiS Offline
                                swvalenti Project Sponsor
                                last edited by

                                Outstanding, that worked! My son thanks you

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  Klinge @sdetweil
                                  last edited by

                                  @sdetweil
                                  I run npm install in the …\MagicMirror Folder

                                  Ok, in future I will use your script

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

                                    @Klinge is this on windows? as you did \MagicMirror

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0

                                    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
                                    • 1
                                    • 2
                                    • 3
                                    • 3 / 3
                                    • 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