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.

    Updating my MagicMirror using @sdetweil's script.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    23 Posts 3 Posters 619 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
      sdetweil @manu85340
      last edited by

      @manu85340 are you using pm2?

      can you do

      pm2 status
      

      and

      pm2 stop  xx
      

      where xx is the number of the row of the application (MagicMirror)
      usually 0
      you can use either the name or the number

      then
      go to the MagicMirror folder

      can you also do

      lsb_release -a
      

      do you know if the OS is running Wayland or x11 desktop

      we changed the wayland startup , so…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply
      Reply Quote 0
      • R
        rabbit83ka
        last edited by

        i just updated to 2.38 via your script. Electron starts, but is only shown for a few seconds in fullscreen, then minimzed to the taskbar: grafik.jpeg
        Latest PiOS (trixie) with wayland. Log doesn’t show anything after “launching electron”

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

          @rabbit83ka If you click on that does it come on screen?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply
          Reply Quote 0
          • R
            rabbit83ka @sdetweil
            last edited by

            @sdetweil no

            1 Reply Last reply
            Reply Quote 0
            • M
              manu85340 @sdetweil
              last edited by

              @sdetweil I installed Debian Bookworm; I’m not sure if that’s what you’re asking for.

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

                @manu85340 ok, lets try this

                pm2 stop all
                cd ~/MagicMirror
                npm run start:x11
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R M 2 Replies Last reply
                Reply Quote 0
                • R
                  rabbit83ka @sdetweil
                  last edited by

                  @sdetweil figured it out, nothing related to wayland. Somehow the udpated messed up the npm, removing it rm -rf node_modules package-lock.json and reinstalling with npm install fixed it

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

                    @rabbit83ka can you send the the
                    ~/MagicMirror/installers/upgrade.log

                    same userid as here at gmail

                    messed up nvm? I should only updated node version if required…
                    nvm or n (node version of nvm)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply
                    Reply Quote 0
                    • R
                      rabbit83ka @sdetweil
                      last edited by

                      @sdetweil just sent the log

                      1 Reply Last reply
                      Reply Quote 1
                      • M
                        manu85340 @sdetweil
                        last edited by

                        @sdetweil Someone told me to skip this line and it worked.```

                        cd ~/MagicMirror && npm install electron@43 --save-exact
                        
                        S 1 Reply Last reply
                        Reply Quote 0
                        • S
                          sdetweil @manu85340
                          last edited by

                          @manu85340 where is that line? not in either of my scripts…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply
                          Reply Quote 0
                          • M
                            manu85340 @sdetweil
                            last edited by

                            @sdetweil My apologies, but he didn’t tell me to “skip” it, but to execute it.
                            Sorry, but the translator interpreted it that way.

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

                              @manu85340 ah. Thanks. My script does thst for 32 bit systems. But not for 64. Looks like we are all fighting electron issues

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                I’ve updated my scripts to install an updated electron to fix this problem…
                                during install or upgrade

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