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 6.5k 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

      Just upgraded to version 2.26.0, now MM will not start getting error
      magicmirror@2.26.0
      startDISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGILL

      Assume some thing was upgraded and i need to upgrade. any ideas.

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

        @davismorehead
        lets start at the beginning… how did you install, and how did you upgrade?

        manual or with my scripts?

        tell me output of

        node -v
        npm -v
        lsb_release -a
        uname -a
        

        do you use pm2 to autostart?

        if so do

        pm2 stop all
        cd ~/MagicMirror
        npm start 
        

        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:~ $ 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 Away
            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 Away
                  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 Away
                      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 Away
                        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
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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