• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Mirror broken after v2.22.0 upgrade

Scheduled Pinned Locked Moved Solved Troubleshooting
29 Posts 4 Posters 6.7k Views 4 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.
  • E Offline
    ecirpnaes
    last edited by Jan 1, 2023, 11:10 PM

    Just upgraded to the latest MM version, and I’m getting an Electron error on startup.

    Specifically… .node_modules/[…]/dist/electron: symbol lookup error: undefined symbol: gbm_bo_get_modifier.

    I assumed I had some out of date core files, so I upgraded my core raspian OS, since I was sadly out of date, but no help. I tried rolling back Electron to the previous 19.1 version, but ran into other dependency issues.

    Anyone else experiencing anything like this? I’m tempted to just take some time and do a clean install, but was hoping someone knew of a simpler fix.

    S 1 Reply Last reply Jan 1, 2023, 11:29 PM Reply Quote 0
    • S Offline
      sdetweil @ecirpnaes
      last edited by sdetweil Jan 2, 2023, 12:49 AM Jan 2, 2023, 12:48 AM

      @ecirpnaes ok, do this

      cd ~/MagicMirror
      rm -rf node_modules
      npm install --omit=dev --no-audit --no-fund
      

      i just did this on my pi4 after upgrading from 2.21

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E P 2 Replies Last reply Jan 2, 2023, 1:13 AM Reply Quote 1
      • S Offline
        sdetweil @ecirpnaes
        last edited by Jan 1, 2023, 11:29 PM

        @ecirpnaes how did u upgrade?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Jan 2, 2023, 12:46 AM Reply Quote 0
        • E Offline
          ecirpnaes @sdetweil
          last edited by Jan 2, 2023, 12:46 AM

          @sdetweil Standard way. git pull & npm install

          S 1 Reply Last reply Jan 2, 2023, 12:48 AM Reply Quote 0
          • S Offline
            sdetweil @ecirpnaes
            last edited by sdetweil Jan 2, 2023, 12:49 AM Jan 2, 2023, 12:48 AM

            @ecirpnaes ok, do this

            cd ~/MagicMirror
            rm -rf node_modules
            npm install --omit=dev --no-audit --no-fund
            

            i just did this on my pi4 after upgrading from 2.21

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E P 2 Replies Last reply Jan 2, 2023, 1:13 AM Reply Quote 1
            • E Offline
              ecirpnaes @sdetweil
              last edited by Jan 2, 2023, 1:13 AM

              @sdetweil Thanks!
              I had already tried blowing away the node_modules and letting it rebuild doing a standard “npm install”, but hadn’t tried it with omitting the dev only files. That said, I just did it and still no go.

              To be clear, the mirror will run with a “server only” option, so the error is clearly with a library file with electron.

              /home/pi/MagicMirror/node_modules/electron/dist/electron: symbol lookup error: /home/pi/MagicMirror/node_modules/electron/dist/electron: undefined symbol: gbm_bo_get_modifier

              I’ll try a few other things but I guess worse comes to worse, I can pull a clean image and just clone everything down again.

              S 1 Reply Last reply Jan 2, 2023, 1:15 AM Reply Quote 0
              • S Offline
                sdetweil @ecirpnaes
                last edited by sdetweil Jan 2, 2023, 1:16 AM Jan 2, 2023, 1:15 AM

                @ecirpnaes ok, what system are u running on?

                lsb_release-a
                uname -a

                I did the install on pi os, and on Intel Linux.

                what desktop are u running?
                Wayland, x11, ??

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                E 1 Reply Last reply Jan 2, 2023, 1:30 AM Reply Quote 0
                • E Offline
                  ecirpnaes @sdetweil
                  last edited by Jan 2, 2023, 1:30 AM

                  @sdetweil
                  Distributor ID: Raspbian
                  Description: Raspbian GNU/Linux 9.13 (stretch)
                  Release: 9.13
                  Codename: stretch

                  Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

                  Honestly not sure what desktop it is running. I usually just putty into it from a windows machine.

                  S 1 Reply Last reply Jan 2, 2023, 1:40 AM Reply Quote -1
                  • S Offline
                    sdetweil @ecirpnaes
                    last edited by Jan 2, 2023, 1:40 AM

                    @ecirpnaes ok stretch is too old for this latest electron

                    I think u have to move up to buster(release after stretch) as least

                    bullseye is the current

                    and another one coming soon… this year I think.

                    u might be able to backup,/restore using my scripts
                    https://github.com/sdetweil/MagicMirror-backup-restore

                    and use my script to install latest to restore config to.
                    https://github.com/sdetweil/MagicMirror_scripts

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    E 2 Replies Last reply Jan 2, 2023, 1:55 PM Reply Quote 0
                    • E Offline
                      ecirpnaes @sdetweil
                      last edited by Jan 2, 2023, 1:55 PM

                      @sdetweil That sounds about right. It’s been a couple years since I’ve updated my base image. I assumed it was going to come to that sooner or later.
                      Thanks for the confirmation. I’ll definitely take a look at your scripts.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Peter @sdetweil
                        last edited by Peter Jan 2, 2023, 3:37 PM Jan 2, 2023, 2:00 PM

                        @sdetweil said in Mirror broken after v2.22.0 upgrade:

                        @ecirpnaes ok, do this

                        cd ~/MagicMirror
                        rm -rf node_modules
                        npm install --omit=dev --no-audit --no-fund
                        

                        i just did this on my pi4 after upgrading from 2.21

                        Great!
                        Solved my problem too!
                        Thanks.
                        Peter

                        S K 2 Replies Last reply Jan 2, 2023, 2:01 PM Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        1 / 3
                        • First post
                          7/29
                          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