• 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.

MagicMirrorOS build intermittently not starting mm container (Version 2.30)

Scheduled Pinned Locked Moved Solved Troubleshooting
23 Posts 3 Posters 2.0k Views 3 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.
  • S Offline
    sdetweil @scottwalsh
    last edited by Feb 13, 2025, 10:17 PM

    @scottwalsh please dont double post

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Feb 13, 2025, 10:22 PM Reply Quote 0
    • S Offline
      scottwalsh @sdetweil
      last edited by Feb 13, 2025, 10:19 PM

      @sdetweil
      The host is a pi zero 2w - so is on the low spec side.

      S 1 Reply Last reply Feb 13, 2025, 10:26 PM Reply Quote 0
      • S Offline
        scottwalsh @sdetweil
        last edited by Feb 13, 2025, 10:22 PM

        @sdetweil said in MagicMirrorOS build intermittently not starting mm container (Version 2.30):

        @scottwalsh please dont double post

        Apologies, user error.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @scottwalsh
          last edited by Feb 13, 2025, 10:26 PM

          @scottwalsh how big is the swap file?

          free -m

          will tell you

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S K 2 Replies Last reply Feb 13, 2025, 10:31 PM Reply Quote 0
          • S Offline
            scottwalsh @sdetweil
            last edited by Feb 13, 2025, 10:31 PM

            @sdetweil said in MagicMirrorOS build intermittently not starting mm container (Version 2.30):

            @scottwalsh how big is the swap file?

            free -m

            scottwalsh@calendar:~ $ free -m
                           total        used        free      shared  buff/cache   available
            Mem:             425         210          66           0         204         214
            Swap:           1023         203         820
            scottwalsh@calendar:~ $
            
            S 1 Reply Last reply Feb 13, 2025, 10:34 PM Reply Quote 0
            • S Offline
              sdetweil @karsten13
              last edited by Feb 13, 2025, 10:32 PM

              @karsten13 @scottwalsh
              bookworm is about 500m bigger that bullseye

              so swap is critical on small memory machines

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • K Offline
                karsten13 @sdetweil
                last edited by Feb 13, 2025, 10:33 PM

                mmos is critical with pi zero 2w, I had a user who gave up, but it depends on installed modules and quality of used sd-card.

                CONF_SWAPSIZE=1024 (if not changed by user)

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @scottwalsh
                  last edited by Feb 13, 2025, 10:34 PM

                  @scottwalsh can you show w MagicMirror running…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Feb 13, 2025, 10:42 PM Reply Quote 0
                  • S Offline
                    scottwalsh
                    last edited by Feb 13, 2025, 10:39 PM

                    An observation, if I power cycle the pi, there is a good chance of it not starting up with the errors in the original post.

                    Once leave it for five min for all the processes to start (and fail), then run docker compose up -d --force-recreate, it seems to be stable from then on and works well.

                    S 1 Reply Last reply Feb 13, 2025, 10:53 PM Reply Quote 0
                    • S Offline
                      scottwalsh @sdetweil
                      last edited by Feb 13, 2025, 10:42 PM

                      @sdetweil said in MagicMirrorOS build intermittently not starting mm container (Version 2.30):

                      @scottwalsh can you show w MagicMirror running…

                      scottwalsh@calendar:/opt/mm/run $ 
                      scottwalsh@calendar:/opt/mm/run $ docker compose up -d --force-recreate
                      [+] Running 5/5
                       ✔ Container watchtower  Started                                                                                                                                                                        42.0s 
                       ✔ Container labwc       Started                                                                                                                                                                        41.9s 
                       ✔ Container init        Started                                                                                                                                                                        42.2s 
                       ✔ Container mmpm        Started                                                                                                                                                                        42.4s 
                       ✔ Container mm          Started                                                                                                                                                                         5.3s 
                      scottwalsh@calendar:/opt/mm/run $ 
                      scottwalsh@calendar:/opt/mm/run $ docker ps
                      CONTAINER ID   IMAGE                          COMMAND                  CREATED         STATUS                   PORTS                                                                                                                                                 NAMES
                      a1cb1b400de1   karsten13/mmpm:latest          "/home/node/entrypoi…"   3 minutes ago   Up 2 minutes             0.0.0.0:6789->6789/tcp, :::6789->6789/tcp, 0.0.0.0:7890-7891->7890-7891/tcp, :::7890-7891->7890-7891/tcp, 0.0.0.0:8907->8907/tcp, :::8907->8907/tcp   mmpm
                      f7ec5d32f0bd   karsten13/magicmirror:latest   "/usr/bin/tini -- ./…"   3 minutes ago   Up About a minute                                                                                                                                                              mm
                      74193ae14fbf   karsten13/labwc:latest         "/entrypoint.sh"         3 minutes ago   Up 2 minutes                                                                                                                                                                   labwc
                      bcf30cd7bb10   containrrr/watchtower:latest   "/watchtower --inter…"   3 minutes ago   Up 2 minutes (healthy)   8080/tcp                                                                                                                                              watchtower
                      scottwalsh@calendar:/opt/mm/run $ 
                      scottwalsh@calendar:/opt/mm/run $ free -m
                                     total        used        free      shared  buff/cache   available
                      Mem:             425         236         134          36         141         189
                      Swap:           1023         296         727
                      scottwalsh@calendar:/opt/mm/run $
                      
                      K 1 Reply Last reply Feb 13, 2025, 11:10 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/23
                        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