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 543 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 sdetweil

      @manu85340 thanks , I just updated the text… good catch.
      but it says everything…
      running latest releases doesn’t work on buster

      I recommend using my backup script to save your MM config and list of modules
      with the backup command

      see https://github.com/sdetweil/MagicMirror-backup-restore

      setup the new sd card, <— do NOT write over your existing card til you have new system running
      install MM, make sure it runs,

      then restore your config and modules
      with the restore command

      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

        Thanks for the reply. I just reinstalled everything using your script, but I’ve run into something strange: my custom CSS file is no longer being recognized, and none of the settings inside it are taking effect. Do you know why?

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

          @manu85340 in the new versions since 2.35, custom.css is in the config folder (all the user config stuff in one folder)

          runtime should move it if found…
          install puts an empty file there
          upgrade moves it too

          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 Thanks Sam, I just saw your reply, and indeed I hadn’t noticed that a custom.css file had been created in config.js. Thanks for your help.

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

              @manu85340 if you had used my backup/restore I would have put your custom.css in the right place

              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 Yes, you’re right—I tried to go too fast. I’ll know for next time. Thanks again for your help.

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

                  @manu85340 back up now, and when you make changes . Be ready in case

                  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 I just updated MM using your script and it won’t start anymore; it stays on the Raspberry Pi desktop. Please help!

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

                                            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