Read the statement by Michael Teeuw here.
Mirror broken after v2.22.0 upgrade
-
no, I want to run directly, but it is giving the same error
/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 .
So I run server mode -
@sdetweil
I’m getting an Electron error on startup.Specifically… .node_modules/[…]/dist/electron: symbol lookup error: undefined symbol: gbm_bo_get_modifier
So I run in server mode -
@Knight can you show output of
lsb_release -a
-
-
@sdetweil
My problem is resolved. I upgraded to bullseye and reinstalled the mirror. I used your alternative install script vs cloning manually. It worked flawlessly setting up the mirror and the pm2 autostart. So many thanks for that.I think I spent more time getting the mirror to rotate properly than anything else. File locations have changed for bullseye vs some of the older versions so it took a little hunting around to get things configured.
But all good now. Thanks again! -
@Knight Your problem is the exact same as what I had.
Same error message.
Same outdated OS.The fix is to back up your config file(s), update your OS to the latest (bullseye), reinstall the mirror software and any custom modules.
Sam has a bunch on scripts in git repo that make this a very simple operation. Took me less than an hour, with the vast majority of that waiting for package files to download.
-
@Knight yes sadly the latest electron will not run on 3 year old stretch…
-
@ecirpnaes said in Mirror broken after v2.22.0 upgrade:
@sdetweil
My problem is resolved. I upgraded to bullseye and reinstalled the mirror. I used your alternative install script vs cloning manually. It worked flawlessly setting up the mirror and the pm2 autostart. So many thanks for that.I think I spent more time getting the mirror to rotate properly than anything else. File locations have changed for bullseye vs some of the older versions so it took a little hunting around to get things configured.
But all good now. Thanks again!Here everything works fine now except rotation of the screen …
Somebody have an idea?
I tried display_rotate=1 in config.txt; it looks good but as soon as MM starts the screen rotates back to the left.
Peter -
@Peter use the preferences, top left on desktop, display rotation
-
@sdetweil preferences gives the same problem: screens turns back to normal after restarting MM.
I am trying custom CSS now (saw it somewhere).
Keep you informed.
Peter