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.

    Update fail

    Scheduled Pinned Locked Moved Solved Troubleshooting
    28 Posts 4 Posters 9.8k Views 4 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 @JerryP
      last edited by

      @JerryP black screen see

      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      if you had run the upgrade script from the old version, then I would have fixed these for you

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      JerryPJ 1 Reply Last reply Reply Quote 0
      • JerryPJ Offline
        JerryP @sdetweil
        last edited by

        @sdetweil said in Update fail:

        @JerryP black screen see

        https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

        if you had run the upgrade script from the old version, then I would have fixed these for you

        So that was not the fix.
        I’ts not the black screen that makes the problemen. It.s hangingang on the electron… I think

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

          @JerryP the two modules failing are because of the black screen issue.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          JerryPJ 1 Reply Last reply Reply Quote 0
          • JerryPJ Offline
            JerryP @sdetweil
            last edited by

            @sdetweil said in Update fail:

            @JerryP the two modules failing are because of the black screen issue.

            pi@raspberrypi:~/MagicMirror/modules $ grep -r -E '('request') | ('valid-url')' ~/MagicMirror/modules/*/*.js
            /home/pi/MagicMirror/modules/MMM-MercedesMe/node_helper.js:const request = require('request');
            /home/pi/MagicMirror/modules/MMM-MercedesMe/node_helper.js:   * Handles the auth request endpoint, should be call by clicking on authenticate link
            /home/pi/MagicMirror/modules/MMM-MercedesMe/OAuth.js:const request = require('request');
            /home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js:          console.log("Got request to stop", appName," with pid: ", pid);
            /home/pi/MagicMirror/modules/MMM-Spotify/Spotify.js:          console.error(this.logMessage, "Failed to request API:", api)
            /home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js:var request = require('request');
            

            SO MMM-screencast is working and MMM-Spotify is working.

            S 1 Reply Last reply Reply Quote 0
            • AssassinsA Offline
              Assassins
              last edited by

              this great scripts from @sdetweil work :
              bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” apply

              Thanks alot @sdetweil

              JerryPJ 1 Reply Last reply Reply Quote 0
              • JerryPJ Offline
                JerryP @Assassins
                last edited by

                @Assassins said in Update fail:

                bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

                bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                is not working

                JerryPJ 1 Reply Last reply Reply Quote 0
                • JerryPJ Offline
                  JerryP @JerryP
                  last edited by

                  @JerryP

                  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                  

                  So this one is working. But the problem is still the same…

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

                    @JerryP the ‘fix’ is to install the request library in EACH module that uses it

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @JerryP also for upgrade you have to add

                      apply
                      

                      to actually DO the upgrade

                      and if u already did the upgrade, but want to redo, then you have to add

                      force
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      JerryPJ 1 Reply Last reply Reply Quote 0
                      • JerryPJ Offline
                        JerryP @sdetweil
                        last edited by

                        @sdetweil
                        checking for modules with removed libraries

                         require for request in module MMM-SystemStats not found in package.json package.json for module MMM-SystemStats
                        
                        	  bypass installing request for module MMM-SystemStats , doing test run
                        
                         require for request in module MMM-MercedesMe not found in package.json package.json for module MMM-MercedesMe
                        
                        	  bypass installing request for module MMM-MercedesMe , doing test run
                        

                        processing dependency changes for active modules with package.json files

                        JerryPJ 1 Reply Last reply Reply Quote 0
                        • JerryPJ Offline
                          JerryP @JerryP
                          last edited by

                          @JerryP

                          so where must I force it

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

                            @JerryP add the word
                            force
                            to the end of the
                            curl…
                            statement

                            just like the example using apply

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            JerryPJ 1 Reply Last reply Reply Quote 0
                            • JerryPJ Offline
                              JerryP @sdetweil
                              last edited by

                              @sdetweil said in Update fail:

                              @JerryP add the word
                              force
                              to the end of the
                              curl…
                              statement

                              just like the example using apply

                              Yes Yes Yes that is the trick…
                              Now al modules are working.

                              Butttttt now the mirror is stil look like it’s zoomed. All module ar looking resized 110% bigger. And drop over each other.

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

                                @JerryP Ctrl- on keyboard to zoom out

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                JerryPJ 1 Reply Last reply Reply Quote 0
                                • JerryPJ Offline
                                  JerryP @sdetweil
                                  last edited by

                                  @sdetweil said in
                                  That’s oke now. Ctrl- on keyboard to zoom out

                                  But look the camera postion.
                                  Normal it was lower
                                  Unknown.jpeg

                                  {
                                  		module: "MMM-RTSPStream",
                                  		disabled: false, //false, true
                                  		position: "upper_third",  // "middle_center" "upper_third"
                                  		config: {
                                  			autoStart: true,
                                  			rotateStreams: false,
                                  			rotateStreamTimeout: 20,
                                  			moduleWidth: 720,
                                  			moduleHeight: 420,
                                  			localPlayer: "omxplayer", // "omxplayer" or "ffmpeg", or "vlc"
                                  			remotePlayer: 'none',
                                  			showSnapWhenPaused: false,
                                  			remoteSnaps: false,
                                  			  stream1: {***************
                                  

                                  I put in the upper_third… But when I put in the middel_center i’ts at the bottom.

                                  So how can I lower the 4 camera feeds???

                                  Than the mirror is 100% back again.

                                  Thanks for the help so fare

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

                                    @JerryP I don’t know for sure, did u have a custom.css that moved the position?

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    JerryPJ 3 Replies Last reply Reply Quote 0
                                    • JerryPJ Offline
                                      JerryP @sdetweil
                                      last edited by

                                      @sdetweil said in Update fail:

                                      @JerryP I don’t know for sure, did u have a custom.css that moved the position?

                                      MMM-RTSPStream .innerWrapper {
                                          border-style: none;
                                      }
                                      .MMM-SystemStats table {
                                              width: 350px;
                                              color: #666;
                                              font-size: 20px;
                                       }
                                      .MMM-SystemStats td {
                                          line-height: 20px;
                                      }
                                      .MMM-clock table {
                                              width: 450px;
                                              color: #666;
                                              font-size: 20px;
                                      }
                                      .MMM-MercedesMe #mercedesMain {
                                              zoom: 0.4;
                                      }
                                      .MMM-Formula1 .module-header {
                                      display:none !important;
                                      }
                                      .MMM-MercedesMe .module-header {
                                      display:none !important;
                                      }
                                      .MMM-NetworkScanner .module-header {
                                      display:none !important;
                                      }
                                      .MMM-VolvoOnCall .module-header {
                                      display:none !important;
                                      }
                                      .MMM-Spotify .SPOTIFY_BACKGROUND {
                                      display:none !important;
                                      border-style: none;
                                       zoom: 80%;
                                      }
                                      .MMM-MyVolvo .VOC .graphic {
                                              width: 50%;
                                              margin-right: 1px;
                                              margin-left: 10px;
                                              margin-top:  -4px;
                                              float: right;
                                      }
                                      

                                      Yes but not for the RTSP-stream

                                      1 Reply Last reply Reply Quote 0
                                      • JerryPJ Offline
                                        JerryP @sdetweil
                                        last edited by

                                        @sdetweil said in Update fail:
                                        in your script (new mirror setup)
                                        makes the scrip a new config.js.
                                        In that files stands

                                        locale: "en-US",
                                        

                                        Where can I find the info for Netherland???

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

                                          @JerryP I just copy the config.js.sample

                                          but language/locale codes are public

                                          https://www.science.co.il/language/Locale-codes.php

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          JerryPJ 1 Reply Last reply Reply Quote 0
                                          • JerryPJ Offline
                                            JerryP @sdetweil
                                            last edited by

                                            @sdetweil said in Update fail:

                                            @JerryP I just copy the config.js.sample

                                            but language/locale codes are public

                                            https://www.science.co.il/language/Locale-codes.php

                                            yes “nl-nl” that’s a check

                                            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
                                            • 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