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.

    MM doesnt work after update to version 2.26

    Scheduled Pinned Locked Moved Bug Hunt
    30 Posts 2 Posters 12.0k Views 2 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 Do not disturb
      sdetweil @davismorehead
      last edited by

      @davismorehead said in MM doesnt work after update to version 2.26:

      Some of my replies take a long time to be approved. Is there a secret to get them approved faster.

      I review every post for every user with reputation below 2.
      this keeps out all the spam…

      i DO do other things…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        davismorehead
        last edited by

        sorry, didn’t know how it worked. Didn’t realize you did it.

        1 Reply Last reply Reply Quote 0
        • D Offline
          davismorehead
          last edited by

          not running headless. Just don’t have a keyboard attached to pi. so SSH intomachine.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @davismorehead
            last edited by

            @davismorehead I use ssh exclusively, so that’s not it. and you are running in graphical mode, w the desktop…right?

            I’ve had that check in there for 3 years now… and I just checked on all my pi systems. it never fails to find the file…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • D Offline
              davismorehead
              last edited by

              i checked i don’t have that file. looking on internet it says During the booting up of the system, systemd activates default. target , which is generally a symbolic link in the /etc/systemd/system/ directory to either graphical. target or multi-user. target . It is equivalent to the default runlevel, which the system administrator used to set in the /etc/inittab file.

              I don’t have graphical.target or multi-user.target but I have graphical.target.wants

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @davismorehead
                last edited by

                @davismorehead weird

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • D Offline
                  davismorehead
                  last edited by

                  so should i try and get your script to work or do something else to fix this

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @davismorehead
                    last edited by

                    @davismorehead you could try upgrade, with force instead of apply.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 2 Replies Last reply Reply Quote 0
                    • D Offline
                      davismorehead
                      last edited by

                      how do I do that?

                      also if I run the command
                      pi@raspberrypi:~ $ systemctl get-default
                      graphical.target

                      I get graphical even though I don’t have the file

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        davismorehead
                        last edited by

                        I did

                        npm update.

                        i did pm2 start mm

                        and it works. Thank you very much

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @davismorehead
                          last edited by

                          @davismorehead what npm update?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            davismorehead
                            last edited by

                            I will look at your script later.

                            So in the future I should run npm update not npm install?

                            S 1 Reply Last reply Reply Quote 0
                            • D Offline
                              davismorehead
                              last edited by

                              cd MagicMirror/
                              pi@raspberrypi:~/MagicMirror $ npm update

                              added 495 packages, and changed 6 packages in 3m

                              195 packages are looking for funding
                              run npm fund for details

                              That worked

                              1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @davismorehead
                                last edited by

                                @davismorehead i don’t understand

                                when we release a new version, we have dependency changes additions, removals

                                so to handle all that you do
                                npm run install-mm
                                install-mm is a script tag in the package.json

                                it just turns off as much of the noise as we can…

                                my script does the same thing…

                                I don’t know what npm update does. we don’t use it

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  davismorehead @sdetweil
                                  last edited by

                                  @sdetweil said in MM doesnt work after update to version 2.26:

                                  ad you could try upgrade, with force instead of apply.

                                  so based on this post i Tried npm update. Not sure what you meant me to do. So sounds like we solved it but don’t know why.

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    davismorehead @sdetweil
                                    last edited by

                                    @sdetweil said in MM doesnt work after update to version 2.26:

                                    ad you could try upgrade, with force instead of apply.

                                    so based on this post i Tried npm update. Not sure what you meant me to do. So sounds like we solved it but don’t know why.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @davismorehead
                                      last edited by

                                      @davismorehead what I meant was to use my upgrade script

                                      Screenshot at 2024-01-08 13-57-03.png

                                      its a two step process…

                                      test
                                      do

                                      on the ‘do’
                                      its the same command as test, but with the parm ‘apply’ on the end

                                      I check if you have already upgraded, and won’t let you do it again, accidentally

                                      SO, as you HAVE already downloaded the new code, I would just end
                                      but if you change apply to force
                                      then upgrade will happen again …

                                      my objective is to NOT screw up your wonderful mirror system .

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        davismorehead
                                        last edited by

                                        oh. I have to figure that out since I cannot get it to run because of the default.target file not existing on my pi.

                                        Again thanks for your help.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @davismorehead
                                          last edited by sdetweil

                                          @davismorehead that check is only on install, not upgrade

                                          different scripts

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            davismorehead
                                            last edited by

                                            oh i see. Ran the upgrade script and everything worked. I didn’t apply since nothing changed. I will run it next time i need to update. Thanks again for you help. You can close this now.

                                            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