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

    Posts

    Recent Best Controversial
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil i use your mm.sh code.
      then i ran pm2 start MagicMirror

      then i get this

      (node:1995398) [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
      

      and the mirror just go into a blackscreen then loop back to wallpaper then loop back again to blackscreen and it keeps going back and forth

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil the pm2 issue.

      im not able to pm2 start magicmirror

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil i did. i copied your code as suggest and paste it into my mm.sh and it the same issue.

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil ok got it. thanks. since the punycode is not material lets ignore it for now and focus on the pm2 haha.

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil it doesnt work still unfortunately. it goes into a black screen then back to wallpaper and keep looping in this manner…

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil

      hsa@HSA:~ $ find ~/MagicMirror/modules -type d | grep punycode | sort
      /home/hsa/MagicMirror/modules/MMM-Jast/node_modules/punycode
      
      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil can we fix the pm2 please?

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil here you go

      [hsa@HSA:~ $ grep "module:" ~/MagicMirror/config/config.js
                              module: "alert",
                              module: "updatenotification",
                              module: "clock",
              module: "MMM-Jast",
        module: 'MMM-GoogleDocs-Notes',
                              module: "newsfeed",
                      module: "MMM-NewsAPI",
        module: "MMM-MyScoreboard",
        module: "MMM-SoccerLiveScore",
      //  module: "MMM-GooglePhotos",
      // module: "MMM-ImagesPhotos",
      //   module: "MMM-Wallpaper",
      //    module: 'MMM-BackgroundSlideshow',
        module: "MMM-OneDrive",
        module: "MMM-CalendarExt3Agenda",
                              module: "calendar",
                               module: "MMM-CalendarExt3",
                              module: "calendar",](link url)
      
      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil i have change my mm.sh to

      #!/bin/bash
      # This file is still here to keep PM2 working on older installations.
      cd ~/MagicMirror
      DISPLAY=:0 npm run start:x11
      

      but when i do pm2 start MagicMirror, it doesnt start still.

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil same thing

      NODE_OPTIONS=--trace-deprecation npm run start:x11
      
      [2026-05-02 00:31:24.574] [LOG]   [node_helper] Module helper loaded: MMM-CalendarExt3
      [2026-05-02 00:31:24.574] [LOG]   [app] All module helpers loaded.
      [2026-05-02 00:31:24.592] [LOG]   [server] Starting server on port 8080 ...
      [2026-05-02 00:31:24.602] [ERROR] [unknown] (node:1985687) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
          at node:punycode:7:10
          at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:398:7)
          at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337:10)
          at loadBuiltinModule (node:internal/modules/helpers:126:7)
          at loadBuiltinWithHooks (node:internal/modules/cjs/loader:1229:15)
          at Module._load (node:internal/modules/cjs/loader:1320:48)
          at c._load (node:electron/js2c/node_init:2:18060)
          at wrapModuleLoad (node:internal/modules/cjs/loader:262:19)
          at Module.require (node:internal/modules/cjs/loader:1583:12)
          at require (node:internal/modules/helpers:153:16)
      [2026-05-02 00:31:24.702] [LOG]   [app] Server started ...
      [2026-05-02 00:31:24.703] [LOG]   [node_helper] Connectin```
      code_text
      
      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil i did use your upgrade script.

      do you mean change it inside mm.sh?

      currently its

      #!/bin/bash
      # This file is still here to keep PM2 working on older installations.
      cd ~/MagicMirror
      DISPLAY=:0 npm start
      

      change it to

      #!/bin/bash
      # This file is still here to keep PM2 working on older installations.
      cd ~/MagicMirror
      DISPLAY=:0 npm run start:x11
      

      correct?

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil how do i fix my pm2 issue?

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil yes correct

      NODE_OPTIONS=–trace-deprecation npm run start:x11

      i also manually git pull all the modules and all are up to dates as well.

      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil my pm2 is currently not working at the moment.

      i then tried to pm2 start and ran into this error. Ok not exactly error, but the mirror just keep going to blackscreen and nothing then back to wall paper then blackscreen and keep looping this.

      (node:1971942) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
      (Use `node --trace-deprecation ...` to show where the warning was created)
      
      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil it didnt show any module error.

      [2026-05-01 23:53:38.898] [LOG]   [app] All module helpers loaded.
      [2026-05-01 23:53:38.901] [LOG]   [server] Starting server on port 8080 ...
      [2026-05-01 23:53:38.911] [ERROR] [unknown] (node:1979206) [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-01 23:53:39.001] [LOG]   [app] Server started ...
      
      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil my mm.sh is currently -

      #!/bin/bash
      # This file is still here to keep PM2 working on older installations.
      cd ~/MagicMirror
      DISPLAY=:0 npm start
      

      should i change it to

      #!/bin/bash
      # This file is still here to keep PM2 working on older installations.
      cd ~/MagicMirror
      DISPLAY=:0 npm start:x11
      
      posted in Troubleshooting
      1
      1a2a3a
    • RE: multiple error in magic mirror after update from 2.28.0 to 2.36.0

      @sdetweil hi there old friend! its been a really long while and i hope all is fine on your end? anyway thanks for the prompt response!

      anyway i dont quite get what you mean.

      so i ran NODE_OPTIONS=–trace-deprecation npm run start:x11, MM run

      when i ran NODE_OPTIONS=–trace-deprecation npm run start:wayland, MM doesnt run…

      posted in Troubleshooting
      1
      1a2a3a
    • multiple error in magic mirror after update from 2.28.0 to 2.36.0

      uhm hi, its been awhile since i updated my MM.

      i ran sdetweil upgrade script and these were being upgrade.

      doing test run = false
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v20.9.0
      installing correct version of node and npm, please wait
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.21.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.9.4
      Installed npm version: V10.9.4
      No npm upgrade necessary.
      
      saving custom.css
      
      upgrading from version 2.28.0 to 2.36.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.36.0 postinstall
      > git clean -df fonts vendor modules/default
      
      
      > magicmirror@2.36.0 prepare
      > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
      
      no husky installed.
      

      i then tried to pm2 start and ran into this error. Ok not exactly error, but the mirror just keep going to blackscreen and nothing then back to wall paper then blackscreen and keep looping this.

      (node:1971942) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
      (Use `node --trace-deprecation ...` to show where the warning was created)
      

      then i ran npm start and get the punycode error

      [ERROR] [unknown] (node:1970698) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
      (Use `electron --trace-deprecation ...` to show where the warning was created)
      [1970698:0501/224750.044913:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
      [1970698:0501/224750.044978:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
      [1970698:0501/224750.044995:ERROR:ui/aura/env.cc:246] The platform failed to initialize.  Exiting.
      /home/hsa/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
      

      i then read in another thread to do npm run start:x11
      this works but the punycode still appear but mirror runs.

      feels like theres multiple item for me to fix and im kinda lost.

      can some kind soul help me out?

      posted in Troubleshooting
      1
      1a2a3a
    • MMM-SoccerLiveScore not updating

      anyone facing issue with the api not updating?
      in my mirror it is showing next api update is on 21 march 2026. current image showing epl data stats from late jan, meaning the recent matches data is not shown. like the games for yesterday is invisible as well.

      posted in Troubleshooting
      1
      1a2a3a
    • RE: MMM-JAST stopped updating a couple of days ago.

      Ok, after git pull, had to do a npm ci and that fixes it!

      posted in Troubleshooting
      1
      1a2a3a
    • 1 / 1