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.

    Docker Watchtower container restarting and mm container errors after upgrade

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 3 Posters 47 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
      scottwalsh @sdetweil
      last edited by

      @sdetweil

      @sdetweil

      The docker stack is running on magicmirroros (https://gitlab.com/khassel/magicmirroros). Installed in May’24 from the provided image.

      Saw the new release was recently out. Not sure if failed before or after that.
      Noted it had failed 1pm US central time.
      Updated the OS and containers about 2pm US central time.

      Looking https://gitlab.com/khassel/magicmirror/-/pipelines - I think the containers might have been updated since the new release.

      scottwalsh@calendar:/opt/mm/run/includes $ 
      scottwalsh@calendar:/opt/mm/run/includes $ cat watchtower.yaml 
      services:
        watchtower:
          privileged: true
          image: ${WATCHTOWER_IMAGE}
          container_name: watchtower
          volumes:
            - /var/run/docker.sock:/var/run/docker.sock
          # --interval 300 --> poll interval in seconds
          # --cleanup --> for auto image pruning
          command: --interval ${MM_WATCHTOWER_INTERVAL} ${MM_WATCHTOWER_CLEANUP}
          restart: always
      scottwalsh@calendar:/opt/mm/run/includes $
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @scottwalsh
        last edited by

        @scottwalsh @karsten13 will have to help

        MMOs is on pi os I think

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • karsten13K Offline
          karsten13 @sdetweil
          last edited by

          there is a line

          WATCHTOWER_IMAGE="containrrr/watchtower:latest"
          

          in the file /opt/mm/run/.env.

          Can you change this to

          WATCHTOWER_IMAGE="ghcr.io/nicholas-fedor/watchtower:latest"
          

          and restart with

          cd /opt/mm/run
          docker compose up -d
          

          Background is that the original watchtower is unmaintained and I suspect the original image is to old now. The new image is from a maintained fork, I use this already in other setups.

          1 Reply Last reply Reply Quote 0
          • S Offline
            scottwalsh
            last edited by

            @karsten13

            Thank you for that. The Watchtower seems to be running fine now.

            Did you have any thoughts on these errors that appear in the mm container? Seems to be running fine.

            [Extract]

            scottwalsh@calendar:/opt/mm/run $ docker logs mm
            [2026-01-02 14:09:18.082] [LOG]   [app] All module helpers loaded. 
            [2026-01-02 14:09:18.105] [LOG]   [server] Starting server on port 8080 ...  
            [2026-01-02 14:09:18.113] [WARN]  [server] You're using a full whitelist configuration to allow for all IPs 
            [2026-01-02 14:09:18.226] [LOG]   [app] Server started ... 
            [2026-01-02 14:09:18.229] [LOG]   [node_helper] Connecting socket for: MMM-mmpm 
            [2026-01-02 14:09:18.231] [LOG]   [node_helper] Starting module helper: MMM-mmpm 
            [2026-01-02 14:09:18.233] [LOG]   [node_helper] Connecting socket for: calendar 
            [2026-01-02 14:09:18.235] [LOG]   [calendar] Starting node helper for: calendar 
            [2026-01-02 14:09:18.236] [LOG]   [node_helper] Connecting socket for: MMM-AVStock 
            [2026-01-02 14:09:18.239] [LOG]   [node_helper] Connecting socket for: MMM-anotherNewsFeed 
            [2026-01-02 14:09:18.240] [LOG]   [MMM-anotherNewsFeed] Starting node helper for: MMM-anotherNewsFeed 
            [2026-01-02 14:09:18.242] [LOG]   [node_helper] Connecting socket for: updatenotification 
            [2026-01-02 14:09:18.243] [LOG]   [node_helper] Starting module helper: updatenotification 
            [2026-01-02 14:09:18.245] [LOG]   [app] Sockets connected & modules started ... 
            [21:0102/010919.030995:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
            [2026-01-02 14:09:19.430] [LOG]   [electron] Launching application. 
            [21:0102/010919.848714:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
            [21:0102/010919.850527:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
            [21:0102/010919.852228:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
            [21:0102/010919.852910:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
            [21:0102/010919.860171:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
            [21:0102/010919.860444:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
            [2026-01-02 14:09:23.059] [INFO]  [utils]
            
            karsten13K 1 Reply Last reply Reply Quote 0
            • karsten13K Offline
              karsten13 @scottwalsh
              last edited by

              @scottwalsh said in Docker Watchtower container restarting and mm container errors after upgrade:

              Did you have any thoughts on these errors that appear in the mm container? Seems to be running fine.

              they are only noise, you can ignore them.

              I thought I sorted out the dbus errors but they are back again, will update my setup so they disappear in the future.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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