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 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 Do not disturb
        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 Do not disturb
            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 Do not disturb
                  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 Do not disturb
                    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 Do not disturb
                        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 Do not disturb
                            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 Do not disturb
                                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 Do not disturb
                                    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 Do not disturb
                                        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
                                        • 1 Offline
                                          1a2a3a @sdetweil
                                          last edited by

                                          @sdetweil

                                          done, but mirror no response or whatsoever

                                          hsa@HSA:~ $ cd ~/MagicMirror/installers
                                          hsa@HSA:~/MagicMirror/installers $ curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/refs/heads/master/mm.sh >mm.sh
                                          hsa@HSA:~/MagicMirror/installers $ pm2 stop all
                                          (node:10682) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
                                          (Use `node --trace-deprecation ...` to show where the warning was created)
                                          [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
                                          [PM2] [all](0) ✓
                                          ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                                          │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                                          ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                                          │ 0  │ MagicMirror        │ fork     │ 45   │ stopped   │ 0%       │ 0b       │
                                          └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                                          hsa@HSA:~/MagicMirror/installers $ pm2 start MagicMirror
                                          (node:10691) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
                                          (Use `node --trace-deprecation ...` to show where the warning was created)
                                          [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
                                          [PM2] [MagicMirror](0) ✓
                                          [PM2] Process successfully started
                                          ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                                          │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                                          ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                                          │ 0  │ MagicMirror        │ fork     │ 45   │ online    │ 0%       │ 2.7mb    │
                                          └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                                          hsa@HSA:~/MagicMirror/installers $
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @1a2a3a
                                            last edited by

                                            @1a2a3a and MM is up or not?

                                            pm2 status

                                            has the cycle count changed?

                                            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