MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Mathes75
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 16
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      Short and final update on this - I give up.
      Reimaged the card, edited the .env file before first start, so directly pulled the fat image. Set up my standard Modules, everything up and running - except MMM-FRITZ-BoxCallmonitor - and started to test mounts to map the fritzconnection Python scripts… as again, a strange container showed up:

      pi@magicmirroros:/opt/mm/run $ docker compose up -d
      WARN[0000] No services to build                         
      [+] up 2/2
       ✘ Container b053acabeef9 Error response from daemon: No such container: b053acabeef9f142eb3382656732bee6b75d549c10ec2ef80da27ec2c60946d6                                          2.2s 
       ✔ Container labwc        Recreated                                                                                                                                                2.2s 
      Error response from daemon: No such container: b053acabeef9f142eb3382656732bee6b75d549c10ec2ef80da27ec2c60946d6
      

      Now I am sure my trusty SDcard is corrupt. Thanks @karsten13 for all the troubleshooting and help! I have learned a lot around Docker last days.

      Will get a new card and see some time. Other projects requiring my attention.

      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13

      To make it short - same. Will start from scratch and let you know.

      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13

      After docker compose down, prune resulted in Total reclaimed space: 0B .

      When trying to start the containers and running the commands:

      pi@magicmirrorMB:/opt/mm/run $ docker compose up -d
      WARN[0000] No services to build                         
      [+] up 2/2
       ✔ Network magicmirror_default Created                                                                               0.2s 
       ✔ Container mm                Created                                                                               0.5s 
      Error response from daemon: No such container: 1b169eacdb711404e12c838a79de243c677daaaea260867d04c133a86cc3025b
      pi@magicmirrorMB:/opt/mm/run $ docker system prune -f
      Deleted Containers:
      b04e79ead19ae7e42b7c7899f8e9b4b2d4f870770362c684bfadbfdaae6725aa
      
      Deleted Networks:
      magicmirror_default
      
      Total reclaimed space: 4.096kB
      pi@magicmirrorMB:/opt/mm/run $ docker ps -a
      CONTAINER ID   IMAGE                    COMMAND            CREATED      STATUS                    PORTS     NAMES
      1b169eacdb71   karsten13/labwc:latest   "/entrypoint.sh"   9 days ago   Exited (128) 2 days ago             
      

      I think the easiest way is to start from scratch. Save the config.js, remember the modules and just reinstall. Switch to fat image again and fiddle around with FRITZ stuff. Sorry for keeping you busy and thanks a lot for your help and patience!

      Let me know if you want to finish troubleshooting ;-)

      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13
      Is there a way to reload the images from scratch, delete them from the RPi without losing the customization?

      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13

      pi@magicmirrorMB:/opt/mm/run $ docker ps -a
      CONTAINER ID   IMAGE                    COMMAND            CREATED      STATUS                    PORTS     NAMES
      1b169eacdb71   karsten13/labwc:latest   "/entrypoint.sh"   8 days ago   Exited (128) 2 days ago             
      pi@magicmirrorMB:/opt/mm/run $ 
      
      

      What? There must be something completely wrong…

      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13
      Doesn´t look good. I’m too noob about Docker to really understand what’s going on:

      pi@magicmirrorMB:~ $ cd /opt/mm/run/
      pi@magicmirrorMB:/opt/mm/run $ docker compose down
      [+] down 1/1
       ✔ Container 1b169eacdb71 Removed                                          0.0s 
      pi@magicmirrorMB:/opt/mm/run $ docker rm -f $(docker ps -aq)
      Error response from daemon: No such container: 1b169eacdb71
      pi@magicmirrorMB:/opt/mm/run $ docker compose up -d
      WARN[0000] No services to build                         
      [+] up 2/2
       ✔ Network magicmirror_default Created                                     0.2s 
       ✔ Container mm                Created                                     0.9s 
      

      After last line just nothing happens. No prompt, no display on mirror.
      Can I check where the strange container is called or where the reference is?

      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13
      Sorry for being that unspecific. I changed the .env file in the “Docker image to use” section:

      # Docker Images to use:
      MM_IMAGE="karsten13/magicmirror:v2.34.0_fat"
      LABWC_IMAGE="karsten13/labwc:latest"
      MMPM_IMAGE="karsten13/mmpm:latest"
      WATCHTOWER_IMAGE="ghcr.io/nicholas-fedor/watchtower:latest"
      
      

      Executed cd /opt/mm/run && docker compose up -d --force-recreate and the download started. After successfully pulling the image, Terminal stopped here:

       ✔ Image karsten13/magicmirror:fat Pulled                                318.2s 
         ✔ 304150113e8d                  Pull complete                          97.1s 
         ✔ 964f5c44c7bd                  Pull complete                           0.9s 
         ✔ ac8996972af0                  Pull complete                           0.9s 
         ✔ 3ee9d8e5c8b3                  Pull complete                         131.8s 
         ✔ f9b5315e0a0e                  Pull complete                           0.8s 
         ✔ 5e7a4985a616                  Pull complete                           0.7s 
         ✔ 9f175b8c171e                  Pull complete                          98.7s 
         ✔ c1be2df81e57                  Pull complete                           0.7s 
         ✔ 4f4fb700ef54                  Pull complete                           0.0s 
         ✔ 9dcfcb600955                  Pull complete                           1.0s 
         ✔ 0902543587b7                  Pull complete                         212.6s 
         ✔ 6454a8f98e11                  Pull complete                         314.9s 
         ✔ fe8e38a18048                  Pull complete                          97.6s 
         ✔ a4662295f62c                  Pull complete                           0.9s 
         ✔ c5dcf86b0f8a                  Pull complete                           1.0s 
       ✔ Network magicmirror_default     Created                                 0.4s 
       ✘ Container 1b169eacdb71          Error response from daemon: No such container: 1b169eacdb711404e12c838a79de243c677daaaea260867d04c133a86cc3025b 6.8s 
      
      

      Output of docker compose config:

      name: magicmirror
      services:
        labwc:
          container_name: labwc
          environment:
            LAB_WC_HIDE_CURSOR: "true"
            RANDR_PARAMS: ""
            RANDR_POLL: 1m
            XDG_RUNTIME_DIR: /tmp/labwc
          image: karsten13/labwc:latest
          networks:
            default: null
          privileged: true
          restart: always
          volumes:
            - type: bind
              source: /tmp/labwc
              target: /tmp/labwc
              bind: {}
            - type: bind
              source: /run/udev
              target: /run/udev
              bind: {}
        magicmirror:
          container_name: mm
          depends_on:
            labwc:
              condition: service_healthy
              restart: true
              required: true
          environment:
            DISPLAY: unix:0.0
            ELECTRON_ENABLE_GPU: "0"
            MM_CUSTOMCSS_FILE: css/custom.css
            MM_MODULES_DIR: modules
            MM_OVERRIDE_DEFAULT_MODULES: "true"
            MM_SCENARIO: electron
            MM_SHOW_CURSOR: "false"
            WAYLAND_DISPLAY: wayland-0
            XDG_RUNTIME_DIR: /tmp/labwc
          image: karsten13/magicmirror:v2.34.0_fat
          network_mode: host
          privileged: true
          restart: always
          shm_size: "268435456"
          volumes:
            - type: bind
              source: /tmp/.X11-unix
              target: /tmp/.X11-unix
              bind: {}
            - type: bind
              source: /home/pi/.Xauthority
              target: /home/node/.Xauthority
              bind: {}
            - type: bind
              source: /tmp/labwc
              target: /tmp/labwc
              bind: {}
            - type: bind
              source: /opt/mm/mounts/config
              target: /opt/magic_mirror/config
              bind: {}
            - type: bind
              source: /opt/mm/mounts/modules
              target: /opt/magic_mirror/modules
              bind: {}
            - type: bind
              source: /opt/mm/mounts/css/custom.css
              target: /opt/magic_mirror/css/custom.css
              bind: {}
          post_start:
            - command:
                - /bin/sh
                - -c
                - |
                  if [ "init" = "init" ]; then
                    # update volume permissions
                    chown -R 1000:1000 config modules css/custom.css
                    chmod -R 777 config modules css/custom.css
                  fi
                  if command -v node_modules/.bin/electron > /dev/null; then
                    # if electron is installed then start dbus-daemon to avoid errors in the logs
                    dbus-daemon --system || true
                  fi
              user: root
      networks:
        default:
          name: magicmirror_default
      
      
      posted in Utilities
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      Hello @karsten13,
      I have changed the docker image to fat in .env file. Unfortunately, after pulling the docker image, the script stopped with error: No such container: 1b169eacdb711[~35 more numbers/letters].
      Magic Mirror stopped working :( What did I do wrong?

      posted in Utilities
      M
      Mathes75
    • RE: Version 2.34.0 - Missing X Server or $DISPLAY (Docker version of MMOS)

      Pi rebooted twice today (initiated by myself) and issue didn’t come back - I think this can bei marked as resolved - thanks a lot!

      Now I can take care about Python and fritzconnector…

      posted in Troubleshooting
      M
      Mathes75
    • RE: Version 2.34.0 - Missing X Server or $DISPLAY (Docker version of MMOS)

      @karsten13
      Back to function! Several restarts without blank screen!

      Output of docker compose config - in case it is useful…

      name: magicmirror
      services:
        labwc:
          container_name: labwc
          environment:
            LAB_WC_HIDE_CURSOR: "true"
            RANDR_PARAMS: ""
            RANDR_POLL: 1m
            XDG_RUNTIME_DIR: /tmp/labwc
          image: karsten13/labwc:latest
          networks:
            default: null
          privileged: true
          restart: always
          volumes:
            - type: bind
              source: /tmp/labwc
              target: /tmp/labwc
              bind: {}
            - type: bind
              source: /run/udev
              target: /run/udev
              bind: {}
        magicmirror:
          container_name: mm
          depends_on:
            labwc:
              condition: service_healthy
              restart: true
              required: true
          environment:
            DISPLAY: unix:0.0
            ELECTRON_ENABLE_GPU: "0"
            MM_CUSTOMCSS_FILE: css/custom.css
            MM_MODULES_DIR: modules
            MM_OVERRIDE_DEFAULT_MODULES: "true"
            MM_SCENARIO: electron
            MM_SHOW_CURSOR: "false"
            WAYLAND_DISPLAY: wayland-0
            XDG_RUNTIME_DIR: /tmp/labwc
          image: karsten13/magicmirror:latest
          network_mode: host
          privileged: true
          restart: always
          shm_size: "268435456"
          volumes:
            - type: bind
              source: /tmp/.X11-unix
              target: /tmp/.X11-unix
              bind: {}
            - type: bind
              source: /home/pi/.Xauthority
              target: /home/node/.Xauthority
              bind: {}
            - type: bind
              source: /tmp/labwc
              target: /tmp/labwc
              bind: {}
            - type: bind
              source: /opt/mm/mounts/config
              target: /opt/magic_mirror/config
              bind: {}
            - type: bind
              source: /opt/mm/mounts/modules
              target: /opt/magic_mirror/modules
              bind: {}
            - type: bind
              source: /opt/mm/mounts/css/custom.css
              target: /opt/magic_mirror/css/custom.css
              bind: {}
          post_start:
            - command:
                - /bin/sh
                - -c
                - |
                  if [ "init" = "init" ]; then
                    # update volume permissions
                    chown -R 1000:1000 config modules css/custom.css
                    chmod -R 777 config modules css/custom.css
                  fi
                  if command -v node_modules/.bin/electron > /dev/null; then
                    # if electron is installed then start dbus-daemon to avoid errors in the logs
                    dbus-daemon --system || true
                  fi
              user: root
      networks:
        default:
          name: magicmirror_default
      
      
      posted in Troubleshooting
      M
      Mathes75
    • RE: Version 2.34.0 - Missing X Server or $DISPLAY (Docker version of MMOS)

      @karsten13 New issue. I did the

      cd /opt/mm
      git pull
      ./install/install.sh electron
      

      again and now I’m facing:

      pi@magicmirrorMB:/opt/mm $ ./install/install.sh electron
      
      --> Check docker installation
      
      Docker is already installed:
      Docker version 29.1.3, build f52814d
      Docker Compose version v5.0.1
      Found no xserver or wayland so using own container
      
      --> Pulling container images and starting magicmirror
      
      Going to remove mm
      [+] remove 1/1
       ✔ Container mm Removed                                                                                                                                                            0.1s 
      WARN[0000] No services to build                         
      [+] up 2/2
       ✘ Container labwc Error dependency labwc failed to start                                                                                                                          1.3s 
       ✔ Container mm    Created                                                                                                                                                         0.6s 
      dependency failed to start: container labwc has no healthcheck configured
      

      Don´t know what went wrong.

      Output of docker compose config is:

      pi@magicmirrorMB:/opt/mm/run $ docker compose config
      name: magicmirror
      services:
        labwc:
          container_name: labwc
          environment:
            LAB_WC_HIDE_CURSOR: "true"
            RANDR_PARAMS: ""
            RANDR_POLL: 1m
            XDG_RUNTIME_DIR: /tmp/labwc
          image: karsten13/labwc:latest
          networks:
            default: null
          privileged: true
          restart: always
          volumes:
            - type: bind
              source: /tmp/labwc
              target: /tmp/labwc
              bind: {}
            - type: bind
              source: /run/udev
              target: /run/udev
              bind: {}
        magicmirror:
          container_name: mm
          depends_on:
            labwc:
              condition: service_healthy
              restart: true
              required: true
          environment:
            DISPLAY: unix:0.0
            ELECTRON_ENABLE_GPU: "0"
            MM_CUSTOMCSS_FILE: css/custom.css
            MM_MODULES_DIR: modules
            MM_OVERRIDE_DEFAULT_MODULES: "true"
            MM_SCENARIO: electron
            MM_SHOW_CURSOR: "false"
            WAYLAND_DISPLAY: wayland-0
            XDG_RUNTIME_DIR: /tmp/labwc
          image: karsten13/magicmirror:latest
          network_mode: host
          privileged: true
          restart: always
          shm_size: "268435456"
          volumes:
            - type: bind
              source: /tmp/.X11-unix
              target: /tmp/.X11-unix
              bind: {}
            - type: bind
              source: /home/pi/.Xauthority
              target: /home/node/.Xauthority
              bind: {}
            - type: bind
              source: /tmp/labwc
              target: /tmp/labwc
              bind: {}
            - type: bind
              source: /opt/mm/mounts/config
              target: /opt/magic_mirror/config
              bind: {}
            - type: bind
              source: /opt/mm/mounts/modules
              target: /opt/magic_mirror/modules
              bind: {}
            - type: bind
              source: /opt/mm/mounts/css/custom.css
              target: /opt/magic_mirror/css/custom.css
              bind: {}
          post_start:
            - command:
                - /bin/sh
                - -c
                - |
                  if [ "init" = "init" ]; then
                    # update volume permissions
                    chown -R 1000:1000 config modules css/custom.css
                    chmod -R 777 config modules css/custom.css
                  fi
                  if command -v node_modules/.bin/electron > /dev/null; then
                    # if electron is installed then start dbus-daemon to avoid errors in the logs
                    dbus-daemon --system || true
                  fi
              user: root
      networks:
        default:
          name: magicmirror_default
      
      

      Any way to get back to the easy issue?

      posted in Troubleshooting
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @karsten13 to get this right: Using the fat image would have at least python on board. And to get everything to work I would need to add a script, adding the dependencies for MMM-FRITZ-Box-Callmonitor-py3:

      Execute npm install to install the dependencies.
      (Optional) Execute sudo apt-get install python3-dev libxml2-dev libxslt1-dev zlib1g-dev && sudo pip install --break-system-packages fritzconnection to allow access to your FRITZ!Box phone book and recent calls. This can take a few minutes.

      Will definitely give it a try!

      posted in Utilities
      M
      Mathes75
    • RE: Version 2.34.0 - Missing X Server or $DISPLAY (Docker version of MMOS)

      Thanks @karsten13!

      git pull needed a commit to work. Done. Installing Electron revealed no change to apply.

      At least I seem to be one step further: Recreating the images as mentioned in a post above repeatedly resolved the "missing X Server"message each time and started MagicMirror…

      As I am quite done with all changes and adaptions, I am fine to keep the workaround with recreating the image(s), once the mirror needs a restart.

      posted in Troubleshooting
      M
      Mathes75
    • RE: MMM-FRITZ-Box-Callmonitor-py3 and MMM-Callmonitor-Current-Call

      @xiexodusix - I set up my MagicMirror from scratch and now wanted to integrate the FRITZ-Callmonitor to it, unfortunately with no luck. No calls are displayed, the phonebook has non-stop rotating icon. In the docker logs (Yes, I’m using latest MagicMirrorOS with integrated Docker) I get the following error:

      [2026-01-11 02:10:11.646] [ERROR] [app] Whoops! There was an uncaught exception... 
      [2026-01-11 02:10:11.684] [ERROR] [app] Error: spawn python3 ENOENT
          at ChildProcess._handle.onexit (node:internal/child_process:285:19)
          at onErrorNT (node:internal/child_process:483:16)
          at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
        errno: -2,
        code: 'ENOENT',
        syscall: 'spawn python3',
        path: 'python3',
        spawnargs: [
          '/opt/magic_mirror/modules/MMM-FRITZ-Box-Callmonitor-py3/fritz_access.py',
          '-i',
          '192.168.0.1',
          '-p',
          '*********',
          '-u',
          'magicmirror'
        ]
      } 
      [2026-01-11 02:10:11.686] [ERROR] [app] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 
      
      

      As you can see, I have created username and password only for MM.

      Starting fritzconnection from (host) commandline works, incomming calls are registered and shown in Terminal.

      posted in Utilities
      M
      Mathes75
    • RE: Version 2.34.0 - Missing X Server or $DISPLAY (Docker version of MMOS)

      Thanks a lot for having a look at my issue!

      As mentioned in the first post, I downloaded the most recent Docker image of MagicMirrorOS. - no desktop, lite version. Wrote the image with Balena Etcher and let the Rpi do it’s magic after booting until “factory” MagicMirror was shown. SSHed into the Rpi and ran sudo raspi-config to adjust locales and WiFi.
      I installed the desired Modules, modified the config.js - and now the Mirror works only at every third or fourth boot. (Sometimes real power cycle, sometimes sudo shutdown -r now - sometimes first works, sometimes second)

      Currently it’sworking, only one Module has issues. Both containers recreated and restarted, output of docker logs labwc

      00:00:00.000 [INFO] [seatd/seat.c:48] Created VT-bound seat seat0
      00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
      failed to connect to display
      00:00:01.036 [INFO] [seatd/server.c:145] New client connected (pid: 1, uid: 1000, gid: 1000)
      00:00:01.036 [INFO] [seatd/seat.c:239] Added client 1 to seat0
      00:00:01.037 [INFO] [seatd/seat.c:563] Opened client 1 on seat0
      failed to connect to display
      failed to connect to display
      failed to connect to display
      failed to connect to display
      failed to connect to display
      failed to connect to display
      HDMI-A-1 "Lenovo Group Limited T2224pD V902B58B (HDMI-A-1)"
        Make: Lenovo Group Limited
        Model: T2224pD
        Serial: V902B58B
        Physical size: 480x270 mm
        Enabled: yes
        Modes:
          1920x1080 px, 60.000000 Hz (preferred, current)
          1920x1080 px, 60.000000 Hz
          1920x1080 px, 59.939999 Hz
          1920x1080 px, 50.000000 Hz
          1680x1050 px, 59.882999 Hz
          1600x900 px, 75.000000 Hz
          1600x900 px, 60.000000 Hz
          1280x1024 px, 75.025002 Hz
          1280x1024 px, 70.000999 Hz
          1280x1024 px, 60.020000 Hz
          1440x900 px, 59.901001 Hz
          1366x768 px, 59.790001 Hz
          1152x864 px, 75.000000 Hz
          1280x720 px, 60.000000 Hz
          1280x720 px, 59.939999 Hz
          1280x720 px, 50.000000 Hz
          1024x768 px, 75.028999 Hz
          1024x768 px, 70.069000 Hz
          1024x768 px, 60.004002 Hz
          832x624 px, 74.551003 Hz
          800x600 px, 75.000000 Hz
          800x600 px, 72.188004 Hz
          800x600 px, 60.317001 Hz
          800x600 px, 56.250000 Hz
          720x576 px, 50.000000 Hz
          720x576 px, 50.000000 Hz
          720x480 px, 60.000000 Hz
          720x480 px, 60.000000 Hz
          720x480 px, 59.939999 Hz
          720x480 px, 59.939999 Hz
          640x480 px, 75.000000 Hz
          640x480 px, 72.808998 Hz
          640x480 px, 60.000000 Hz
          640x480 px, 59.939999 Hz
          640x480 px, 59.939999 Hz
          720x400 px, 70.082001 Hz
        Position: 0,0
        Transform: normal
        Scale: 1.000000
        Adaptive Sync: disabled
      

      Output of docker compose config

      name: magicmirror
      services:
        labwc:
          container_name: labwc
          environment:
            LAB_WC_HIDE_CURSOR: "true"
            RANDR_PARAMS: ""
            RANDR_POLL: 1m
            XDG_RUNTIME_DIR: /run/user/1000
          image: karsten13/labwc:latest
          networks:
            default: null
          privileged: true
          restart: always
          volumes:
            - type: bind
              source: /run/user/1000
              target: /run/user/1000
              bind: {}
            - type: bind
              source: /run/udev
              target: /run/udev
              bind: {}
        magicmirror:
          container_name: mm
          environment:
            DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
            DBUS_SYSTEM_BUS_ADDRESS: unix:path=/run/user/1000/bus
            DISPLAY: unix:0.0
            ELECTRON_ENABLE_GPU: "0"
            MM_CUSTOMCSS_FILE: css/custom.css
            MM_MODULES_DIR: modules
            MM_OVERRIDE_DEFAULT_MODULES: "true"
            MM_SCENARIO: electron
            MM_SHOW_CURSOR: "false"
            WAYLAND_DISPLAY: wayland-0
            XDG_RUNTIME_DIR: /run/user/1000
          image: karsten13/magicmirror:latest
          network_mode: host
          privileged: true
          restart: always
          shm_size: "268435456"
          volumes:
            - type: bind
              source: /tmp/.X11-unix
              target: /tmp/.X11-unix
              bind: {}
            - type: bind
              source: /home/pi/.Xauthority
              target: /home/node/.Xauthority
              bind: {}
            - type: bind
              source: /run/user/1000
              target: /run/user/1000
              bind: {}
            - type: bind
              source: /opt/mm/mounts/config
              target: /opt/magic_mirror/config
              bind: {}
            - type: bind
              source: /opt/mm/mounts/modules
              target: /opt/magic_mirror/modules
              bind: {}
            - type: bind
              source: /opt/mm/mounts/css/custom.css
              target: /opt/magic_mirror/css/custom.css
              bind: {}
          post_start:
            - command:
                - /bin/sh
                - -c
                - |
                  [ "init" = "init" ] || exit 0
                  chown -R 1000:1000 config modules css/custom.css
                  chmod -R 777 config modules css/custom.css
              user: root
              environment:
                MM_CHMOD: null
                MM_GID: null
                MM_INIT: null
                MM_UID: null
      networks:
        default:
          name: magicmirror_default
      
      

      Have a nice weekend!

      posted in Troubleshooting
      M
      Mathes75
    • Version 2.34.0 - Missing X Server or $DISPLAY (Docker version of MMOS)

      G’Morning everyone reading this!

      Yesterday I set up a new MagicMirror, using a Raspberry Pi 3 B+, a 16GB SD with the most recent image from https://gitlab.com/khassel/magicmirror, connected to a HDMI monitor.
      It fired up, did some magic, I was able to install my favorite modules, but after individualizing the config.js to use those modules (MMM-WordClock, MMM-Remote-Control) and to customize my view, the MagicMirror just starts every third (hard-)reboot.

      docker logs mm output:

      [entrypoint 07:02:17.102] [INFO]  symlink default modules
      [2026-01-09 08:02:20.468] [LOG]   [app] Starting MagicMirror: v2.34.0 
      [2026-01-09 08:02:20.489] [LOG]   [app] Loading config ... 
      [2026-01-09 08:02:20.496] [LOG]   [app] config template file not exists, no envsubst 
      [2026-01-09 08:02:21.782] [INFO]  [check_config] Checking config file /opt/magic_mirror/config/config.js ... 
      [2026-01-09 08:02:22.038] [INFO]  [check_config] Your configuration file doesn't contain syntax errors :) 
      [2026-01-09 08:02:22.042] [INFO]  [check_config] Checking modules structure configuration ... 
      [2026-01-09 08:02:22.352] [INFO]  [check_config] Your modules structure configuration doesn't contain errors :) 
      [2026-01-09 08:02:22.358] [LOG]   [app] Loading module helpers ... 
      [2026-01-09 08:02:22.362] [LOG]   [app] No helper found for module: MMM-WordClock. 
      [2026-01-09 08:02:22.364] [LOG]   [app] No helper found for module: alert. 
      [2026-01-09 08:02:22.386] [LOG]   [node_helper] Initializing new module helper ... 
      [2026-01-09 08:02:22.388] [LOG]   [node_helper] Module helper loaded: updatenotification 
      [2026-01-09 08:02:22.390] [LOG]   [app] No helper found for module: clock. 
      [2026-01-09 08:02:22.560] [LOG]   [node_helper] Initializing new module helper ... 
      [2026-01-09 08:02:22.562] [LOG]   [node_helper] Module helper loaded: calendar 
      [2026-01-09 08:02:22.563] [LOG]   [app] No helper found for module: weather. 
      [2026-01-09 08:02:22.763] [LOG]   [node_helper] Initializing new module helper ... 
      [2026-01-09 08:02:22.764] [LOG]   [node_helper] Module helper loaded: newsfeed 
      [2026-01-09 08:02:22.957] [LOG]   [node_helper] Initializing new module helper ... 
      [2026-01-09 08:02:22.958] [LOG]   [node_helper] Module helper loaded: MMM-Remote-Control 
      [2026-01-09 08:02:22.960] [LOG]   [app] All module helpers loaded. 
      [2026-01-09 08:02:22.980] [LOG]   [server] Starting server on port 8080 ...  
      [2026-01-09 08:02:22.986] [WARN]  [server] You're using a full whitelist configuration to allow for all IPs 
      [2026-01-09 08:02:23.076] [LOG]   [app] Server started ... 
      [2026-01-09 08:02:23.079] [LOG]   [node_helper] Connecting socket for: updatenotification 
      [2026-01-09 08:02:23.081] [LOG]   [node_helper] Starting module helper: updatenotification 
      [2026-01-09 08:02:23.083] [LOG]   [node_helper] Connecting socket for: calendar 
      [2026-01-09 08:02:23.085] [LOG]   [calendar] Starting node helper for: calendar 
      [2026-01-09 08:02:23.087] [LOG]   [node_helper] Connecting socket for: newsfeed 
      [2026-01-09 08:02:23.088] [LOG]   [newsfeed] Starting node helper for: newsfeed 
      [2026-01-09 08:02:23.090] [LOG]   [node_helper] Connecting socket for: MMM-Remote-Control 
      [2026-01-09 08:02:23.092] [LOG]   [MMM-Remote-Control] Starting node helper for: MMM-Remote-Control 
      [2026-01-09 08:02:23.108] [LOG]   [app] Sockets connected & modules started ... 
      [22:0109/070223.113337:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:249] Missing X server or $DISPLAY
      [22:0109/070223.113675:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.
      /opt/magic_mirror/node_modules/electron/dist/electron exited with signal SIGSEGV
      

      I tried to use the search, but as I am running the lite OS without X Server, I don’t know where to start.

      A successful start with everything displaying fine gives something strange in the logs:

      [2026-01-09 09:38:26.915] [LOG]   [app] Sockets connected & modules started ... 
      [21:0109/083829.686193:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [21:0109/083829.686503:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [21:0109/083829.686874:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [2026-01-09 09:38:30.770] [LOG]   [electron] Launching application. 
      [21:0109/083832.536207:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
      [21:0109/083832.553143:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [21:0109/083832.553419:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [21:0109/083832.553587:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [21:0109/083832.554321:ERROR:dbus/bus.cc:408] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
      [21:0109/083832.554443:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: 
      [2026-01-09 09:38:43.125] [INFO]  [utils] 
      ####  System Information  ####
      - SYSTEM:   manufacturer: ; model: Docker Container; virtual: false; MM: 2.34.0
      - OS:       platform: linux; distro: Debian GNU/Linux; release: 13; arch: arm64; kernel: 6.12.47+rpt-rpi-v8
      - VERSIONS: electron: 39.2.7; used node: 22.21.1; installed node: 24.12.0; npm: 11.7.0; pm2: 
      - ENV:      XDG_SESSION_TYPE: undefined; MM_CONFIG_FILE: undefined
                  WAYLAND_DISPLAY:  wayland-0; DISPLAY: unix:0.0; ELECTRON_ENABLE_GPU: 0
      - RAM:      total: 906.04 MB; free: 443.12 MB; used: 462.92 MB
      - OTHERS:   uptime: 2 minutes; timeZone: Europe/Berlin 
      
      
      posted in Troubleshooting
      M
      Mathes75
    • 1 / 1