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 11.8k 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.
    • D Offline
      davismorehead
      last edited by

      pi@raspberrypi:~ $ node -v
      v19.3.0
      pi@raspberrypi:~ $ npm -v
      9.2.0
      pi@raspberrypi:~ $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description: Raspbian GNU/Linux 10 (buster)
      Release: 10
      Codename: buster
      pi@raspberrypi:~ $ uname -a
      Linux raspberrypi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
      pi@raspberrypi:~ $

      I updated manually. Later I tried to run your script but I am running remotely so can’t do your script. would need to hook up keyboard to pi.

      am using pm2. Saw a different post where you did the npm start, so did that already. Same error

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

        @davismorehead I need the actual messages from npm start.

        if you can ssh or VNC or RDP into your machine you can run my scripts, it’s a cut and paste of the comnands

        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

          pi@raspberrypi:~ $ pm2 stop all
          [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
          [PM2] mm ✓
          ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
          │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
          ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
          │ 0 │ mm │ fork │ 95 │ stopped │ 0% │ 0b │
          └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
          pi@raspberrypi:~ $ cd ~/MagicMirror/
          pi@raspberrypi:~/MagicMirror $ npm start

          magicmirror@2.26.0 start
          DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

          /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGILL
          pi@raspberrypi:~/MagicMirror $

          Also can you point me to instructions to run your script.

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

            here is the command i found for your script
            pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

            $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
            $$$\ $$$ | _| $$$\ $$$ |_| $$ $$
            $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
            $$$$$$ $$ | _
            $$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
            $$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
            $$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
            $$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
            _
            | _
            | _
            | _
            $$ |_| _
            |_| _|_|_| __| _
            / _| _______|
            $$\ $$ |
            $$$$$$ |
            _
            ____/

            install log being saved to /home/pi/install.log
            cat: /etc/systemd/system/default.target: No such file or directory
            system running in command line mode, need graphical desktop, see raspi-config
            pi@raspberrypi:~/MagicMirror $

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

              @davismorehead see
              https://github.com/sdetweil/MagicMirror_scripts

              did you run npm install, or npm run install-mm

              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 did

                git pull && npm run install-mm

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

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

                  @davismorehead if you have already installed, then you don’t run install again…
                  so, are you running headless? (no screen?)

                  so you would not do npm start, you would do npm run server

                  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 @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 Offline
                          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 Offline
                              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 Offline
                                  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 Offline
                                        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

                                            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