Read the statement by Michael Teeuw here.
New MagicMirrorOS build - mm Container in Restart Loop
-
I’ve just done a clean install of MagicMirrorOS (based on @karsten13 ’s docker install) - 4 Jul 64 bit build.
The mm container just seems to be stuck in a restart loop.
Suggestions to troubleshoot?
scottwalsh@calendar:/opt/mm/run $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7feb4bcf2b57 karsten13/magicmirror:latest "/usr/bin/tini -- ./…" 3 minutes ago Restarting (1) 35 seconds ago mm c4ecd7a1a688 ghcr.io/nicholas-fedor/watchtower:latest "/watchtower --inter…" 3 minutes ago Up 3 minutes (healthy) 8080/tcp watchtower c0d1ee7dcd97 karsten13/labwc:latest "/entrypoint.sh" 3 minutes ago Up 3 minutes (healthy) labwc scottwalsh@calendar:/opt/mm/run $ scottwalsh@calendar:/opt/mm/run $ scottwalsh@calendar:/opt/mm/run $ scottwalsh@calendar:/opt/mm/run $ docker logs mm /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file /opt/magic_mirror/node_modules/electron/dist/electron: /opt/magic_mirror/node_modules/electron/dist/electron: cannot execute binary file scottwalsh@calendar:/opt/mm/run $ scottwalsh@calendar:/opt/mm/run $ scottwalsh@calendar:/opt/mm/run $ docker down docker: unknown command: docker down Run 'docker --help' for more information scottwalsh@calendar:/opt/mm/run $ docker compose down [+] down 5/5 ✔ Container watchtower Removed 0.9s ✔ Container mmpm Removed 0.1s ✔ Container mm Removed 0.1s ✔ Container labwc Removed 1.4s ✔ Network magicmirror_mm Removed 0.2s scottwalsh@calendar:/opt/mm/run $ docker compose up -d --force-recreate [+] up 4/5 ✔ Network magicmirror_mm Created 0.1s ✔ Container watchtower Started 2.1s ✔ Container labwc Healthy 7.6s ⠋ Container mm Starting 7.1s ✔ Container mmpm Created 0.2s magicmirror hook exited with status 137 scottwalsh@calendar:/opt/mm/run $ -
Looks like it may be related to the packaging, an x86 version of electron…
scottwalsh@calendar:/opt/mm/run $ docker cp mm:/opt/magic_mirror/node_modules/electron/dist/electron /tmp/mm-electron Successfully copied 218MB (transferred 218MB) to /tmp/mm-electron scottwalsh@calendar:/opt/mm/run $ readelf -h /tmp/mm-electron | egrep 'Class|Machine|OS/ABI|Entry' Class: ELF64 OS/ABI: UNIX - System V Machine: Advanced Micro Devices X86-64 Entry point address: 0x577b8a0Resolved with adding the following override:
scottwalsh@calendar:/opt/mm/run $ scottwalsh@calendar:/opt/mm/run $ cat compose.override.yaml services: magicmirror: image: karsten13/magicmirror:wolfi-electron-v2.37.0 labels: - "com.centurylinklabs.watchtower.enable=false" scottwalsh@calendar:/opt/mm/run $ -
@scottwalsh did you open an issue on the repo on gitlab?
-
thank you for bringing this up. And yes, the debian arm images had the amd64 electron version installed …
I fixed this meanwhile.
If you are happy with the wolfi image you can stay on this tag or use the
wolfi-electrontag.You can set the image in the
.envfile too (without override).
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