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 Electron failed - MagicMirror is broken on physical screen only

    Scheduled Pinned Locked Moved Bug Hunt
    12 Posts 3 Posters 2.2k 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.
    • S Offline
      sdetweil @Pade2204
      last edited by sdetweil

      @Pade2204 said in Update Electron failed - MagicMirror is broken on physical screen only:

      6.1.7

      @Pade2204 yes, quite old…

      can u tell what the message was when you tried to update? and how update?? electron

      only thing you could do it reinstall it .

      npm install electron@6.1.7

      it may not be available anymore…

      2.12
      we are at 2.27, so 15 cycles later, 4 cycles/year… almost 4 years…

      just about everything has changed…
      need a new OS, new version of node/npm, …

      so… use my backup script to get all the MM config/css/module list, see
      https://github.com/sdetweil/MagicMirror-backup-restore
      then copy the ~/MM_backup folder off somewhere, or use the github private repo storage approach.

      I don’t think you can upgrade MM from there (as we depend on latest stuff, which won’t run on that OS probably)

      what os level are you running… this command will tell

      lsb_release -a

      so, then the best way is flash a new sd card with the latest OS… hm… what pi is this ? 4 years… still a pi 3 probably
      and run my install script, see
      https://github.com/sdetweil/MagicMirror_scripts

      verify MM is working,
      then run the restore script from the copied back MM_backup, or same from an external disk, or from github saved

      this will get you the closest… some module may still fail due to other problems…

      were you just adding photo display?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Pade2204 @sdetweil
        last edited by

        @sdetweil
        I just saw a local image in module MMM-globe was not updating on the screen, but on webinterface it updated fine. So I just read that it could be the Electron browser failing. So I tried to update it. It failed, because it said that something was not compatible.

        And from now on I just tried to install Electron again - and actually 6.1.7 is avaible still, but it didnt solve my problem now.

        The Pi just shows the desktop and not MagicMirror when booted up. MagicMirror is just fine on webinterface.

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

          @Pade2204 can you show the messages from where npm start is issued?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Pade2204 @sdetweil
            last edited by

            @sdetweil Im not that experienced in Linux, so Im not sure what you mean here.

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

              @Pade2204 how do you start MagicMirror?

              if it starts at boot, do you use the MagicMirror instructions to create a service or something else?
              if you start it manually, what do you do

              all things lead to the command
              npm start
              in the MagicMirror folder

              that command starts MagicMirror and it outputs a bunch of messages when it’s running. including error messages from some modules

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                Pade2204
                last edited by

                Thanks.

                I had to reinstall MagicMirror.

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

                  @Pade2204 did u reinstall the same version?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pade2204 @sdetweil
                    last edited by

                    @sdetweil I reinstalled using the guide inhere. So latest version I’m sure.

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

                      @Pade2204 i’m surprized that its running…

                      just to check

                      output of

                      grep version ~/MagicMirror/node_modules/electron/package.json
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        The outdated Electron version is causing the broken screen. Update to ^23.0.0, run npm install, rebuild with npm run rebuild, and restart Magic Mirror with npm start to fix it.

                        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