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.

    multiple error in magic mirror after update from 2.28.0 to 2.36.0

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    71 Posts 2 Posters 68 Views 2 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.
    • 1 Offline
      1a2a3a @sdetweil
      last edited by

      @sdetweil mm.sh is the same location as yours. this is the bash result

      hsa@HSA:~/MagicMirror/installers $ bash -x mm.sh

      + cd /home/hsa/MagicMirror
      ++ ps -ef
      ++ grep -v grep
      ++ wc -l
      ++ grep -i -e xway -e labwc
      + '[' 1 -ne 0 ']'
      + export WAYLAND_DISPLAY=wayland-1
      + WAYLAND_DISPLAY=wayland-1
      + npm run start:wayland
      
      > magicmirror@2.36.0 start:wayland
      > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --ozone-platform=wayland
      
      [2026-05-02 01:18:20.742] [LOG]   [app] Starting MagicMirror: v2.36.0
      [2026-05-02 01:18:20.750] [LOG]   [utils] Loading config ...
      [2026-05-02 01:18:20.754] [INFO]  [utils] Checking config file /home/hsa/MagicMirror/config/config.js ...
      [2026-05-02 01:18:20.822] [INFO]  [utils] Your configuration file doesn't contain syntax errors :)
      [2026-05-02 01:18:20.822] [INFO]  [utils] Checking modules structure configuration ...
      [2026-05-02 01:18:20.880] [INFO]  [utils] Your modules structure configuration doesn't contain errors :)
      [2026-05-02 01:18:20.883] [LOG]   [app] Loading module helpers ...
      [2026-05-02 01:18:20.883] [LOG]   [app] No helper found for module: alert.
      [2026-05-02 01:18:20.887] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:20.887] [LOG]   [node_helper] Module helper loaded: updatenotification
      [2026-05-02 01:18:20.888] [LOG]   [app] No helper found for module: clock.
      [2026-05-02 01:18:21.199] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:21.206] [LOG]   [node_helper] Module helper loaded: MMM-Jast
      [2026-05-02 01:18:21.682] [INFO]  [systeminformation]
      ####  System Information  ####
      - SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 5 Model B Rev 1.0; virtual: false; MM: v2.36.0
      - OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.47+rpt-rpi-2712
      - VERSIONS: electron: 41.3.0; used node: 22.21.1; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.14
      - ENV:      XDG_SESSION_TYPE: tty; MM_CONFIG_FILE: undefined
                  WAYLAND_DISPLAY:  wayland-1; DISPLAY: undefined; ELECTRON_ENABLE_GPU: undefined
      - RAM:      total: 8059.14 MB; free: 6835.58 MB; used: 1223.56 MB
      - OTHERS:   uptime: 201889 minutes; timeZone: Asia/Singapore
      [2026-05-02 01:18:22.054] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.054] [LOG]   [node_helper] Module helper loaded: MMM-GoogleDocs-Notes
      [2026-05-02 01:18:22.080] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.081] [LOG]   [node_helper] Module helper loaded: newsfeed
      [2026-05-02 01:18:22.087] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.087] [LOG]   [app] Check MagicMirror² version for node helper 'MMM-NewsAPI' - Minimum version: 2.21.0 - Current version: 2.36.0
      [2026-05-02 01:18:22.087] [LOG]   [app] Version is ok!
      [2026-05-02 01:18:22.088] [LOG]   [node_helper] Module helper loaded: MMM-NewsAPI
      [2026-05-02 01:18:22.089] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.089] [LOG]   [node_helper] Module helper loaded: MMM-MyScoreboard
      [2026-05-02 01:18:22.096] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.097] [LOG]   [app] Check MagicMirror² version for node helper 'MMM-SoccerLiveScore' - Minimum version: 2.1.0 - Current version: 2.36.0
      [2026-05-02 01:18:22.097] [LOG]   [app] Version is ok!
      [2026-05-02 01:18:22.097] [LOG]   [node_helper] Module helper loaded: MMM-SoccerLiveScore
      [2026-05-02 01:18:22.192] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.193] [LOG]   [node_helper] Module helper loaded: MMM-OneDrive
      [2026-05-02 01:18:22.193] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.194] [LOG]   [node_helper] Module helper loaded: MMM-CalendarExt3Agenda
      [2026-05-02 01:18:22.265] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.265] [LOG]   [node_helper] Module helper loaded: calendar
      [2026-05-02 01:18:22.266] [LOG]   [node_helper] Initializing new module helper ...
      [2026-05-02 01:18:22.266] [LOG]   [node_helper] Module helper loaded: MMM-CalendarExt3
      [2026-05-02 01:18:22.266] [LOG]   [app] All module helpers loaded.
      [2026-05-02 01:18:22.270] [LOG]   [server] Starting server on port 8080 ...
      [2026-05-02 01:18:22.280] [ERROR] [unknown] (node:1996838) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
      (Use `electron --trace-deprecation ...` to show where the warning was created)
      [2026-05-02 01:18:22.394] [LOG]   [app] Server started ...
      [2026-05-02 01:18:22.395] [LOG]   [node_helper] Connecting socket for: updatenotification
      [2026-05-02 01:18:22.396] [LOG]   [node_helper] Starting module helper: updatenotification
      [2026-05-02 01:18:22.397] [LOG]   [node_helper] Connecting socket for: MMM-Jast
      [2026-05-02 01:18:22.397] [LOG]   [MMM-Jast] MMM-Jast helper method started...
      [2026-05-02 01:18:22.397] [LOG]   [node_helper] Connecting socket for: MMM-GoogleDocs-Notes
      [2026-05-02 01:18:22.398] [LOG]   [node_helper] Connecting socket for: newsfeed
      [2026-05-02 01:18:22.398] [LOG]   [newsfeed] Starting node helper for: newsfeed
      [2026-05-02 01:18:22.399] [LOG]   [node_helper] Connecting socket for: MMM-NewsAPI
      [2026-05-02 01:18:22.399] [LOG]   [MMM-NewsAPI] Starting node_helper for module: MMM-NewsAPI
      [2026-05-02 01:18:22.399] [LOG]   [node_helper] Connecting socket for: MMM-MyScoreboard
      [2026-05-02 01:18:22.399] [LOG]   [MMM-MyScoreboard] Starting node_helper for module [MMM-MyScoreboard]
      [2026-05-02 01:18:22.491] [LOG]   [node_helper] Connecting socket for: MMM-SoccerLiveScore
      [2026-05-02 01:18:22.492] [LOG]   [MMM-SoccerLiveScore] Starting node helper for: MMM-SoccerLiveScore
      [2026-05-02 01:18:22.492] [LOG]   [node_helper] Connecting socket for: MMM-OneDrive
      [2026-05-02 01:18:22.493] [INFO]  [MMM-OneDrive] [MMM-OneDrive] [node_helper] Starting module helper
      [2026-05-02 01:18:22.494] [INFO]  [lib] [DiskCaching] Initialized in directory: /home/hsa/MagicMirror/modules/MMM-OneDrive/cache/photos
      [2026-05-02 01:18:22.495] [INFO]  [MMM-OneDrive] [MMM-OneDrive] [node_helper] Started
      [2026-05-02 01:18:22.495] [LOG]   [node_helper] Connecting socket for: MMM-CalendarExt3Agenda
      [2026-05-02 01:18:22.496] [LOG]   [node_helper] Connecting socket for: calendar
      [2026-05-02 01:18:22.497] [LOG]   [calendar] Starting node helper for: calendar
      [2026-05-02 01:18:22.497] [LOG]   [node_helper] Connecting socket for: MMM-CalendarExt3
      [2026-05-02 01:18:22.498] [LOG]   [app] Sockets connected & modules started ...
      [2026-05-02 01:18:22.508] [LOG]   [electron] Launching application.
      /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
      
      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        which means it THINKS you are running wayland…

        crtl-c in that window just to make sure its stopped

        if you do

        npm run start:x11

        does MM come up?

        if so, change the

        npm run start:wayland
        to
        npm run start:x11

        and then pm2 start MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil i have change mm.sh to

          if [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l) -ne 0 ]; then 
             # if WAYLAND_DISPLAYis set, use it, else set to -0
             export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0}
             npm run start:x11
          else
             DISPLAY=:0 npm run start:x11
          fi
          

          pm2 start Magicmirror does not start still

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @1a2a3a
            last edited by

            @1a2a3a ok, lets reboot once

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil ok done. same. black screen with mouse > wall paper > continue looping

              the funny thing is that when i do the bash, it works. just pm2 start doesnt.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @1a2a3a
                last edited by

                @1a2a3a ok, can you show the output of

                pm2 logs --lines=100
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 2 Replies Last reply Reply Quote 0
                • 1 Offline
                  1a2a3a @sdetweil
                  last edited by

                  @sdetweil

                  [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
                  /home/hsa/.pm2/pm2.log last 100 lines:
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:40:40: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:40:40: PM2 log: Script /home/hsa/MagicMirror/installers/mm.sh had too many unstable restarts (16). Stopped. "errored"
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:41:05: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
                  PM2        | 2026-05-02T01:41:05: PM2 log: Script /home/hsa/MagicMirror/installers/mm.sh had too many unstable restarts (16). Stopped. "errored"
                  PM2        | 2026-05-02T01:44:14: PM2 log: App [MagicMirror:0] starting in -fork mode-
                  PM2        | 2026-05-02T01:44:14: PM2 log: App [MagicMirror:0] online
                  PM2        | 2026-05-02T01:44:37: PM2 log: Stopping app:MagicMirror id:0
                  PM2        | 2026-05-02T01:44:52: PM2 error: Error: EIO: i/o error, write
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:52: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: pid=4701 msg=failed to kill - retrying in 100ms
                  PM2        | 2026-05-02T01:44:53: PM2 log: Process with pid 4701 still alive after 1600ms, sending it SIGKILL now...
                  PM2        | 2026-05-02T01:44:53: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGKILL]
                  PM2        | 2026-05-02T01:44:54: PM2 log: pid=4701 msg=process killed
                  
                  /home/hsa/.pm2/logs/MagicMirror-error.log last 100 lines:
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 22:58:12.952] [ERROR] [unknown] (node:1972286) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 22:59:26.457] [ERROR] [unknown] (node:1972654) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 23:00:45.581] [ERROR] [unknown] (node:1972996) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 23:00:51.435] [ERROR] [unknown] (node:1973259) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 23:02:41.213] [ERROR] [unknown] (node:1973622) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 23:02:47.007] [ERROR] [unknown] (node:1973926) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-01 23:48:30.795] [ERROR] [unknown] (node:1978494) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-01 23:56:37.164] [ERROR] [unknown] (node:1979751) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-01 23:57:50.550] [ERROR] [unknown] (node:1980093) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 00:35:18.202] [ERROR] [unknown] (node:1986797) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:36:30.821] [ERROR] [unknown] (node:1987135) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:37:43.066] [ERROR] [unknown] (node:1987721) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:38:56.786] [ERROR] [unknown] (node:1988072) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:40:10.172] [ERROR] [unknown] (node:1988442) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:41:23.991] [ERROR] [unknown] (node:1988801) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:42:37.723] [ERROR] [unknown] (node:1989164) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 00:43:50.993] [ERROR] [unknown] (node:1989673) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 01:01:40.022] [ERROR] [unknown] (node:1991891) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:02:52.189] [ERROR] [unknown] (node:1992235) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:04:42.831] [ERROR] [unknown] (node:1992608) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:04:48.383] [ERROR] [unknown] (node:1992913) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:06:00.472] [ERROR] [unknown] (node:1993256) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:07:12.592] [ERROR] [unknown] (node:1993598) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:08:25.975] [ERROR] [unknown] (node:1993969) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:09:39.688] [ERROR] [unknown] (node:1994320) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:10:53.313] [ERROR] [unknown] (node:1994688) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 01:13:18.207] [ERROR] [unknown] (node:1995430) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:14:30.831] [ERROR] [unknown] (node:1995781) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 01:27:17.967] [ERROR] [unknown] (node:1998078) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 01:31:48.948] [ERROR] [unknown] (node:1998975) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:31:54.952] [ERROR] [unknown] (node:1999283) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 01:36:40.810] [ERROR] [unknown] (node:2153) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:36:53.372] [ERROR] [unknown] (node:3319) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                  0|MagicMir | [2026-05-02 01:38:13.968] [ERROR] [unknown] (node:3697) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | [2026-05-02 01:39:57.114] [ERROR] [unknown] (node:4016) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  0|MagicMir | /home/hsa/MagicMirror/installers/mm.sh: line 2: $'\r': command not found
                  0|MagicMir | /home/hsa/MagicMirror/installers/mm.sh: line 3: cd: $'/home/hsa/MagicMirror\r': No such file or directory
                  0|MagicMir | [2026-05-02 01:44:16.815] [ERROR] [unknown] (node:4725) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
                  0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
                  
                  S 1 Reply Last reply Reply Quote 0
                  • 1 Offline
                    1a2a3a @sdetweil
                    last edited by

                    @sdetweil does this needs to be fix?

                    (node:5692) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
                    (Use `node --trace-deprecation ...` to show where the warning was created)
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @1a2a3a
                      last edited by sdetweil

                      @1a2a3a said:

                      0|MagicMir | /home/hsa/MagicMirror/installers/mm.sh: line 2: $‘\r’: command not found
                      0|MagicMir | /home/hsa/MagicMirror/installers/mm.sh: line 3: cd: $‘/home/hsa/MagicMirror\r’: No such file or directory

                      are you on windows??

                      it added a carriage return to lines 2 and 3… please remove… the script failed, and pm2s JOB is to keep it running

                      pm2 status will show you the restart count

                      | id │ name                │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
                      ├────┼─────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                      │ 8  │ MagicMirror         │ default     │ 2.32.0… │ fork    │ N/A      │ 0      │ 245… │ stopped   │ 0%       │ 0b       │ sam      │ disabled │
                      

                      the circle arrow next to uptime, is number of restarts

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @1a2a3a
                        last edited by sdetweil

                        @1a2a3a

                        API is deprecated. Please use Array.isArray() instead.

                        same as punycode
                        up to the module author

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil im on rpi5, ssh from a windows. where do i remove the lines?

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @1a2a3a
                            last edited by

                            @1a2a3a in some editor… you might see them in nano

                            cd ~/MagicMirror/installers
                            nano mm.sh
                            

                            use arrow keys to move around, delete to remove, ins to be able to insert

                            when done

                            ctrl-o
                            to save
                            ctrl-x to exit

                            if you don’t want to save
                            ctrl-x and reply n

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil i dont see the lines in mm.sh…

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @1a2a3a
                                last edited by

                                @1a2a3a

                                cd ~/MagicMirror/installers

                                cat mm.sh

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @sdetweil

                                  hsa@HSA:~/MagicMirror/installers $ cat mm.sh
                                  #!/bin/bash
                                  
                                  cd ~/MagicMirror
                                  DISPLAY=:0 npm run start:x11
                                  hsa@HSA:~/MagicMirror/installers $
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @1a2a3a
                                    last edited by

                                    @1a2a3a ok, thats not my mm.sh which you supposedly saved

                                    but

                                    nano mm.sh

                                    remove the blank line 2
                                    and go to the end of new line 2 and if the cursor is not after the last character, hit backspace,
                                    then ctrl-o to save
                                    and ctrl-x to exit nano

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @sdetweil edited to your mm.sh but same result

                                      hsa@HSA:~/MagicMirror/installers $ cat mm.sh
                                      #!/bin/bash
                                      cd ~/MagicMirror
                                      
                                      if [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l) -ne 0 ]; then
                                         # if WAYLAND_DISPLAYis set, use it, else set to -0
                                         export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0}
                                         npm run start:wayland
                                      else
                                         DISPLAY=:0 npm run start:x11
                                      fi
                                      hsa@HSA:~/MagicMirror/installers $
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @1a2a3a
                                        last edited by

                                        @1a2a3a are you sure this is the script listed in pm2 info output?

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil

                                          status │ errored │
                                          │ name │ MagicMirror │
                                          │ namespace │ default │
                                          │ version │ 2.36.0 │
                                          │ restarts │ 45 │
                                          │ uptime │ 0 │
                                          │ script path │ /home/hsa/MagicMirror/installers/mm.sh │
                                          │ script args │ N/A │
                                          │ error log path │ /home/hsa/.pm2/logs/MagicMirror-error.log │
                                          │ out log path │ /home/hsa/.pm2/logs/MagicMirror-out.log │
                                          │ pid path │ /home/hsa/.pm2/pids/MagicMirror-0.pid │
                                          │ interpreter │ bash │
                                          │ interpreter args │ N/A │
                                          │ script id │ 0 │
                                          │ exec cwd │ /home/hsa/MagicMirror │
                                          │ exec mode │ fork_mode │
                                          │ node.js version │ N/A │
                                          │ node env │ N/A │
                                          │ watch & reload │ ✘ │
                                          │ unstable restarts │ 0 │
                                          │ created at │ N/A

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @1a2a3a
                                            last edited by

                                            @1a2a3a said:

                                            /home/hsa/MagicMirror/installers/mm.sh

                                            weird… do this

                                            cd ~/MagicMirror/installers
                                            curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/refs/heads/master/mm.sh >mm.sh
                                            

                                            then do the

                                            pm2 stop all
                                            pm2 start MagicMirror
                                            

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • 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