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

    Posts

    Recent Best Controversial
    • RE: My new MagicMirror will not start with Wayland?

      @rkorell Addition:

      to my 100% surprise the mirror now works - but: extremely slow.
      it is started with “npm run start:x11” !!!
      (in a Wayland configuration !?)

      loginctl show-session 1 | grep "Desktop"
      Desktop=LXDE-pi-wayfire
      pi@MagicMirrorPi5:~ $ 
      
      0|MagicMir | > magicmirror@2.31.0-develop start
      0|MagicMir | > npm run start:x11
      0|MagicMir | 
      0|MagicMir | 
      0|MagicMir | > magicmirror@2.31.0-develop start:x11
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir | 
      0|MagicMir | [2025-03-28 11:39:58.784] [LOG]   Starting MagicMirror: v2.31.0-develop 
      0|MagicMir | [2025-03-28 11:39:58.794] [LOG]   Loading config ... 
      0|MagicMir | [2025-03-28 11:39:58.795] [LOG]   config template file not exists, no envsubst 
      0|MagicMir | [2025-03-28 11:39:58.979] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
      0|MagicMir | [2025-03-28 11:39:59.040] [INFO]  Your configuration file doesn't contain syntax errors :) 
      0|MagicMir | [2025-03-28 11:39:59.040] [INFO]  Checking modules structure configuration ... 
      0|MagicMir | [2025-03-28 11:39:59.077] [INFO]  Your modules structure configuration doesn't contain errors :) 
      0|MagicMir | [2025-03-28 11:39:59.078] [LOG]   Loading module helpers ... 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: alert. 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: MMM-MagicMover. 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: clock. 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: MMM-Profilepicture. 
      0|MagicMir | [2025-03-28 11:39:59.088] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.088] [LOG]   Module helper loaded: MMM-Logging 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   Module helper loaded: MMM-MoonPhase 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   No helper found for module: MMM-Globe. 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   No helper found for module: weather. 
      0|MagicMir | [2025-03-28 11:39:59.129] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.129] [LOG]   Module helper loaded: MMM-JsonValue 
      0|MagicMir | [2025-03-28 11:39:59.137] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.137] [LOG]   Module helper loaded: MMM-MyGarbage 
      0|MagicMir | [2025-03-28 11:39:59.137] [LOG]   No helper found for module: MMM-CalendarExt3Agenda. 
      0|MagicMir | [2025-03-28 11:39:59.213] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.213] [LOG]   Module helper loaded: MMM-Todoist 
      0|MagicMir | [2025-03-28 11:39:59.250] [LOG]   2025-03-28T11:39:59 <log> init module helper birthdaylist (/home/pi/MagicMirror/modules/birthdaylist/node_helper.js:15 Class.init) 
      0|MagicMir | [2025-03-28 11:39:59.250] [LOG]   Module helper loaded: birthdaylist 
      0|MagicMir | [2025-03-28 11:39:59.251] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.251] [LOG]   Module helper loaded: MMM-SystemMonitor 
      0|MagicMir | [2025-03-28 11:39:59.357] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.357] [LOG]   Check MagicMirror² version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.31.0-develop 
      0|MagicMir | [2025-03-28 11:39:59.358] [LOG]   Version is ok! 
      0|MagicMir | [2025-03-28 11:39:59.358] [LOG]   Module helper loaded: MMM-Strava 
      0|MagicMir | [2025-03-28 11:39:59.358] [LOG]   No helper found for module: MMM-EventHorizon. 
      0|MagicMir | [2025-03-28 11:39:59.389] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.389] [LOG]   Module helper loaded: MMM-FRITZ-Box-Callmonitor-py3 
      0|MagicMir | [2025-03-28 11:39:59.511] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.511] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify 
      0|MagicMir | [2025-03-28 11:39:59.512] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.512] [LOG]   Module helper loaded: MMM-SystemInfo 
      0|MagicMir | [2025-03-28 11:39:59.539] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.539] [LOG]   Module helper loaded: newsfeed 
      0|MagicMir | [2025-03-28 11:39:59.539] [LOG]   No helper found for module: MMM-UselessFacts. 
      0|MagicMir | [2025-03-28 11:39:59.559] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.559] [LOG]   Module helper loaded: MMM-Remote-Control 
      0|MagicMir | [2025-03-28 11:39:59.597] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.597] [LOG]   Module helper loaded: calendar 
      0|MagicMir | [2025-03-28 11:39:59.598] [LOG]   All module helpers loaded. 
      0|MagicMir | [2025-03-28 11:39:59.601] [LOG]   Starting server on port 8080 ...  
      0|MagicMir | [2025-03-28 11:39:59.940] [LOG]   Server started ... 
      0|MagicMir | [2025-03-28 11:39:59.941] [LOG]   Connecting socket for: MMM-Logging 
      0|MagicMir | [2025-03-28 11:39:59.942] [LOG]   2025-03-28T11:39:59 <log> Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.942] [LOG]   Connecting socket for: MMM-MoonPhase 
      0|MagicMir | [2025-03-28 11:39:59.943] [LOG]   Starting module helper: MMM-MoonPhase 
      0|MagicMir | [2025-03-28 11:39:59.943] [LOG]   Connecting socket for: MMM-JsonValue 
      0|MagicMir | [2025-03-28 11:39:59.943] [LOG]   Connecting socket for: MMM-MyGarbage 
      0|MagicMir | [2025-03-28 11:39:59.944] [LOG]   2025-03-28T11:39:59 <log> Starting node_helper for module: MMM-MyGarbage (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_helper.js:9 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.944] [LOG]   Connecting socket for: MMM-Todoist 
      0|MagicMir | [2025-03-28 11:39:59.946] [LOG]   2025-03-28T11:39:59 <log> Starting node helper for: MMM-Todoist (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js:19 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.946] [LOG]   Connecting socket for: birthdaylist 
      0|MagicMir | [2025-03-28 11:39:59.947] [LOG]   Connecting socket for: MMM-SystemMonitor 
      0|MagicMir | [2025-03-28 11:39:59.947] [LOG]   Starting module helper: MMM-SystemMonitor 
      0|MagicMir | [2025-03-28 11:39:59.947] [LOG]   Connecting socket for: MMM-Strava 
      0|MagicMir | [2025-03-28 11:39:59.949] [LOG]   2025-03-28T11:39:59 <log> Starting module helper: MMM-Strava (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:47 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.950] [LOG]   Connecting socket for: MMM-FRITZ-Box-Callmonitor-py3 
      0|MagicMir | [2025-03-28 11:39:59.951] [LOG]   2025-03-28T11:39:59 <log> Starting module: MMM-FRITZ-Box-Callmonitor-py3 (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:28 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.952] [LOG]   Connecting socket for: MMM-NowPlayingOnSpotify 
      0|MagicMir | [2025-03-28 11:39:59.953] [LOG]   Connecting socket for: MMM-SystemInfo 
      0|MagicMir | [2025-03-28 11:39:59.953] [LOG]   Starting node helper: MMM-SystemInfo 
      0|MagicMir | [2025-03-28 11:39:59.953] [LOG]   Connecting socket for: newsfeed 
      0|MagicMir | [2025-03-28 11:39:59.954] [LOG]   Starting node helper for: newsfeed 
      0|MagicMir | [2025-03-28 11:39:59.954] [LOG]   Connecting socket for: MMM-Remote-Control 
      0|MagicMir | [2025-03-28 11:39:59.954] [LOG]   Starting node helper for: MMM-Remote-Control 
      0|MagicMir | [2025-03-28 11:39:59.959] [LOG]   Connecting socket for: calendar 
      0|MagicMir | [2025-03-28 11:39:59.959] [LOG]   Starting node helper for: calendar 
      0|MagicMir | [2025-03-28 11:39:59.960] [LOG]   Sockets connected & modules started ... 
      0|MagicMir | [2025-03-28 11:40:00.172] [LOG]   Launching application. 
      0|MagicMir | [2025-03-28 11:40:00.631] [INFO]  System information:
      0|MagicMir | ### SYSTEM:   manufacturer: ; model: ; virtual: false
      0|MagicMir | ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.74+rpt-rpi-2712
      0|MagicMir | ### VERSIONS: electron: 32.2.7; used node: 20.18.1; installed node: 20.18.1; npm: 10.8.2; pm2: 5.4.3
      0|MagicMir | ### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined 
      
      

      Now I’m confused totally.

      can anybody please help me to understand, what happens here?

      THANKS!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil said in Restore script cannot create Backup folder?:

      thanks so much for the trouble report… fixed

      Dear Sam, you’re REALLY (!) welcome!

      Thanks to YOU for all of your effort!

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • My new MagicMirror will not start with Wayland?

      Good Morning!
      after my last posting regarding display-stop with X11 (MMM-Universal-Pir) I’ve decided to try to get things to run with Wayland.
      Unfortunately this doesn’t work :-(
      I’ve disabled X11 / enabled Wayland in raspi-config and done a reboot.
      Magic Mirror than doesn’t come up - no surprise.

      issued

       pm2 stop MagicMirror
      
      [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
      ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror    │ default     │ 2.31.0… │ fork    │ 0        │ 0      │ 0    │ stopped   │ 0%       │ 0b       │ pi       │ disabled │
      └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
      
      
      

      Then I’ve tried

      npm run start:wayland
      

      This exits with an error message from electron :

      pi@MagicMirrorPi5:~/MagicMirror $ npm run start:wayland
      
      > magicmirror@2.31.0-develop start:wayland
      > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland
      
      [2025-03-28 10:27:47.902] [LOG]   Starting MagicMirror: v2.31.0-develop 
      [2025-03-28 10:27:47.912] [LOG]   Loading config ... 
      [2025-03-28 10:27:47.913] [LOG]   config template file not exists, no envsubst 
      [2025-03-28 10:27:48.094] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
      [2025-03-28 10:27:48.151] [INFO]  Your configuration file doesn't contain syntax errors :) 
      [2025-03-28 10:27:48.152] [INFO]  Checking modules structure configuration ... 
      [2025-03-28 10:27:48.193] [INFO]  Your modules structure configuration doesn't contain errors :) 
      [2025-03-28 10:27:48.194] [LOG]   Loading module helpers ... 
      [2025-03-28 10:27:48.195] [LOG]   No helper found for module: alert. 
      [2025-03-28 10:27:48.195] [LOG]   No helper found for module: MMM-MagicMover. 
      [2025-03-28 10:27:48.195] [LOG]   No helper found for module: clock. 
      [2025-03-28 10:27:48.196] [LOG]   No helper found for module: MMM-Profilepicture. 
      [2025-03-28 10:27:48.204] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.204] [LOG]   Module helper loaded: MMM-Logging 
      [2025-03-28 10:27:48.211] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.211] [LOG]   Module helper loaded: MMM-MoonPhase 
      [2025-03-28 10:27:48.211] [LOG]   No helper found for module: MMM-Globe. 
      [2025-03-28 10:27:48.211] [LOG]   No helper found for module: weather. 
      [2025-03-28 10:27:48.237] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.237] [LOG]   Module helper loaded: MMM-JsonValue 
      [2025-03-28 10:27:48.244] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.245] [LOG]   Module helper loaded: MMM-MyGarbage 
      [2025-03-28 10:27:48.245] [LOG]   No helper found for module: MMM-CalendarExt3Agenda. 
      [2025-03-28 10:27:48.328] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.328] [LOG]   Module helper loaded: MMM-Todoist 
      [2025-03-28 10:27:48.359] [LOG]   2025-03-28T10:27:48 <log> init module helper birthdaylist (/home/pi/MagicMirror/modules/birthdaylist/node_helper.js:15 Class.init) 
      [2025-03-28 10:27:48.359] [LOG]   Module helper loaded: birthdaylist 
      [2025-03-28 10:27:48.360] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.360] [LOG]   Module helper loaded: MMM-SystemMonitor 
      [2025-03-28 10:27:48.470] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.470] [LOG]   Check MagicMirror² version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.31.0-develop 
      [2025-03-28 10:27:48.470] [LOG]   Version is ok! 
      [2025-03-28 10:27:48.470] [LOG]   Module helper loaded: MMM-Strava 
      [2025-03-28 10:27:48.470] [LOG]   No helper found for module: MMM-EventHorizon. 
      [2025-03-28 10:27:48.501] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.501] [LOG]   Module helper loaded: MMM-FRITZ-Box-Callmonitor-py3 
      [2025-03-28 10:27:48.618] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.619] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify 
      [2025-03-28 10:27:48.619] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.619] [LOG]   Module helper loaded: MMM-SystemInfo 
      [2025-03-28 10:27:48.647] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.647] [LOG]   Module helper loaded: newsfeed 
      [2025-03-28 10:27:48.647] [LOG]   No helper found for module: MMM-UselessFacts. 
      [2025-03-28 10:27:48.667] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.667] [LOG]   Module helper loaded: MMM-Remote-Control 
      [2025-03-28 10:27:48.709] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.709] [LOG]   Module helper loaded: calendar 
      [2025-03-28 10:27:48.710] [LOG]   All module helpers loaded. 
      [2025-03-28 10:27:48.713] [LOG]   Starting server on port 8080 ...  
      [2025-03-28 10:27:48.714] [WARN]  You're using a full whitelist configuration to allow for all IPs 
      [2025-03-28 10:27:49.037] [LOG]   Server started ... 
      [2025-03-28 10:27:49.037] [LOG]   Connecting socket for: MMM-Logging 
      [2025-03-28 10:27:49.038] [LOG]   2025-03-28T10:27:49 <log> Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start) 
      [2025-03-28 10:27:49.039] [LOG]   Connecting socket for: MMM-MoonPhase 
      [2025-03-28 10:27:49.039] [LOG]   Starting module helper: MMM-MoonPhase 
      [2025-03-28 10:27:49.044] [LOG]   Connecting socket for: MMM-JsonValue 
      [2025-03-28 10:27:49.045] [LOG]   Connecting socket for: MMM-MyGarbage 
      [2025-03-28 10:27:49.045] [LOG]   2025-03-28T10:27:49 <log> Starting node_helper for module: MMM-MyGarbage (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_helper.js:9 Class.start) 
      [2025-03-28 10:27:49.046] [LOG]   Connecting socket for: MMM-Todoist 
      [2025-03-28 10:27:49.047] [LOG]   2025-03-28T10:27:49 <log> Starting node helper for: MMM-Todoist (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js:19 Class.start) 
      [2025-03-28 10:27:49.047] [LOG]   Connecting socket for: birthdaylist 
      [2025-03-28 10:27:49.047] [LOG]   Connecting socket for: MMM-SystemMonitor 
      [2025-03-28 10:27:49.048] [LOG]   Starting module helper: MMM-SystemMonitor 
      [2025-03-28 10:27:49.048] [LOG]   Connecting socket for: MMM-Strava 
      [2025-03-28 10:27:49.050] [LOG]   2025-03-28T10:27:49 <log> Starting module helper: MMM-Strava (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:47 Class.start) 
      [2025-03-28 10:27:49.051] [LOG]   Connecting socket for: MMM-FRITZ-Box-Callmonitor-py3 
      [2025-03-28 10:27:49.052] [LOG]   2025-03-28T10:27:49 <log> Starting module: MMM-FRITZ-Box-Callmonitor-py3 (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:28 Class.start) 
      [2025-03-28 10:27:49.053] [LOG]   Connecting socket for: MMM-NowPlayingOnSpotify 
      [2025-03-28 10:27:49.053] [LOG]   Connecting socket for: MMM-SystemInfo 
      [2025-03-28 10:27:49.053] [LOG]   Starting node helper: MMM-SystemInfo 
      [2025-03-28 10:27:49.054] [LOG]   Connecting socket for: newsfeed 
      [2025-03-28 10:27:49.054] [LOG]   Starting node helper for: newsfeed 
      [2025-03-28 10:27:49.054] [LOG]   Connecting socket for: MMM-Remote-Control 
      [2025-03-28 10:27:49.055] [LOG]   Starting node helper for: MMM-Remote-Control 
      [2025-03-28 10:27:49.060] [LOG]   Connecting socket for: calendar 
      [2025-03-28 10:27:49.061] [LOG]   Starting node helper for: calendar 
      [2025-03-28 10:27:49.061] [LOG]   Sockets connected & modules started ... 
      [2025-03-28 10:27:49.346] [LOG]   Launching application. 
      [2025-03-28 10:27:49.594] [INFO]  System information:
      ### SYSTEM:   manufacturer: ; model: ; virtual: false
      ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.74+rpt-rpi-2712
      ### VERSIONS: electron: 32.2.7; used node: 20.18.1; installed node: 20.18.1; npm: 10.8.2; pm2: 5.4.3
      ### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined 
      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
      

      pm2 knows that about MagicMirror:

      pi@MagicMirrorPi5:~/MagicMirror $ pm2 show MagicMirror
       Describing process with id 0 - name MagicMirror 
      ┌───────────────────┬──────────────────────────────────────────┐
      │ status            │ stopped                                  │
      │ name              │ MagicMirror                              │
      │ namespace         │ default                                  │
      │ version           │ 2.31.0-develop                           │
      │ restarts          │ 0                                        │
      │ uptime            │ 0                                        │
      │ script path       │ /home/pi/MagicMirror/installers/mm.sh    │
      │ script args       │ N/A                                      │
      │ error log path    │ /home/pi/.pm2/logs/MagicMirror-error.log │
      │ out log path      │ /home/pi/.pm2/logs/MagicMirror-out.log   │
      │ pid path          │ /home/pi/.pm2/pids/MagicMirror-0.pid     │
      │ interpreter       │ bash                                     │
      │ interpreter args  │ N/A                                      │
      │ script id         │ 0                                        │
      │ exec cwd          │ /home/pi                                 │
      │ exec mode         │ fork_mode                                │
      │ node.js version   │ N/A                                      │
      │ node env          │ N/A                                      │
      │ watch & reload    │ ✘                                        │
      │ unstable restarts │ 0                                        │
      │ created at        │ 2025-03-28T09:21:32.089Z                 │
      └───────────────────┴──────────────────────────────────────────┘
       Divergent env variables from local env 
      ┌────────────────┬─────────────────────────────────────┐
      │ PWD            │ /home/pi                            │
      │ SSH_CONNECTION │ 172.23.56.21 53109 172.23.56.157 22 │
      │ TERM           │ xterm                               │
      │ SHLVL          │ 2                                   │
      │ SSH_CLIENT     │ 172.23.56.21 53109 22               │
      │ OLDPWD         │ /home/pi/MagicMirror/splashscreen   │
      └────────────────┴─────────────────────────────────────┘
      
      

      What to do to get it fixed?
      is
      fixuppm2.sh a possible solution?

      Thanks for any hint!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • MMM-Universal-Pir - Desparately seeking right command

      Good eveneing, all.
      My mirror is working fine, I was able to configure a Raspi5 with bookworm and all migrated modules are working in this version.
      Because I have to keep in mind that my favourite MMM-Pir ( :-) ) won’t run that much in future I try to investigate alternatives.
      The most current module for PIR detection seems to be MMM-Universal-Pir.
      Unfortunately I’m not able to figure out the right commands (or the module doesn’t work - but I’ve seen some success messages).

      For some strange reason my Mirror-Autostart is configured with a X11 start, so on my bookworm instance I have disabled wayland to run MagicMirror in this mode, so “default” commands of module won’t definitely not work.

      I’ve found here around :

      “vcgencmd display_power 1” / “vcgencmd display_power 0” - on bookworm vgencmd doesn’t have this “display_power” option.

      “echo on | sudo tee /sys/class/drm/card1-HDMI-A-1/status” / “echo off | sudo tee /sys/class/drm/card1-HDMI-A-1/status” – this doesn’t do anything on my system - neither on terminal command-line nor in module.

      “DISPLAY=:0.0 xrandr --output HDMI-1 --off” / “DISPLAY=:0.0 xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left” are the most promising candidates - they at least are working on command-line in terminal
      But xrandr doesn’t work with MMM-Universal-Pir.
      (I’ve also tried to use these xrandr commands without display-reference
      (“xrandr --output HDMI-1 --off” / “xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”* ) . Doesn’t work, either (from module).

      Is anybody out there with Pi5/bookworm/X11 with a working configuration / Command pair?

      And an additional question to those who are uing this module successfully: Is it true, that the countdown is not interrupted if a motion is detected ? (this is my impression when looking at the countdown - but may 1 Minute is too short) …

      Many thanks for any hint!
      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil Thanks.
      IN the meantime I’ve figured out that the MM-Pir directorry in github repo (backup) only contains four files, so is useless for restoring…

      posted in Troubleshooting
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil despite getting it “run” it doesn’t work properly :-(
      I’m looking around but seems to be hard …

      posted in Troubleshooting
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil said in MMM-CalendarExt3Agenda doesn't work on fresh restored install:

      you can’t binary back it up either, as there are OS level dependencies

      I’ve “solved” it with my tar.gz archive.
      put all of the working copy in it, extract im MagicMirror/modules and ran npm install in MMM-Pir …

      Now I’m looking around how to get xandr fixed, because now MMM-Pir increase the screen resolution to maximum which is not desired …

      posted in Troubleshooting
      R
      rkorell
    • RE: Bugsounet and MMM-Pir

      @sdetweil yes! :-)

      posted in General Discussion
      R
      rkorell
    • RE: Bugsounet and MMM-Pir

      @sdetweil @lif
      For your information:

      I was successful with installing MMM-Pir on my brand new Pi5/bookworm:

      pi@MagicMirrorPi5:~ $ cd MagicMirror/modules
      pi@MagicMirrorPi5:~/MagicMirror/modules $ tar -xf MMM-Pir.tar.gz 
      pi@MagicMirrorPi5:~/MagicMirror/modules $ cd MMM-Pir/
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ npm install
      
      > MMM-Pir@2.4.4 preinstall
      > echo ⚠ npm install will be deprecated on next release!.
      
      ⚠ npm install will be deprecated on next release!.
      
      > MMM-Pir@2.4.4 install
      > npm run setup
      
      
      > MMM-Pir@2.4.4 presetup
      > npm run dependencies && installer/preinstall.sh
      
      
      > MMM-Pir@2.4.4 dependencies
      > installer/dependencies.sh -d 'unclutter ddcutil cec-utils python3 python-is-python3 python3-gpiozero gpiod libgpiod2 libgpiod-dev'
      
      
      Welcome to MMM-Pir v2.4.4
      
      ① ➤ dependencies installer
      
      Checking OS...
      OS Detected: linux-gnu (debian 12 aarch64)
      
      Checking all dependencies...
      All Dependencies needed are installed !
      
      ② ➤ Preinstall
      
      No root checking...
      Checking MMM-Pir: pi/pi
      Checking MagicMirror: pi/pi
      
      Installing @sdetweil sandbox fix...
      fixing sandbox permissions
      
      ③ ➤ Install npm dependencies
      
      > MMM-Pir@2.4.4 setup
      > npm prune
      
      
      up to date in 990ms
      
      124 packages are looking for funding
        run `npm fund` for details
      
      > MMM-Pir@2.4.4 postsetup
      > installer/postinstall.sh -m -r
      
      
      ④ ➤ Postinstall
      
      Minify Main code...
      Found: 10 files to install and minify
      
      Process File: MMM-Pir/MMM-Pir.js
      Process File: MMM-Pir/node_helper.js
      Process File: MMM-Pir/components/cronJob.js
      Process File: MMM-Pir/components/governorLib.js
      Process File: MMM-Pir/components/motion.js
      Process File: MMM-Pir/components/motionLib.js
      Process File: MMM-Pir/components/pirLib.js
      Process File: MMM-Pir/components/screenDisplayer.js
      Process File: MMM-Pir/components/screenLib.js
      Process File: MMM-Pir/components/screenTouch.js
      Done
      
      Try to Disable screen saver...
      Found: screen saver in gsettings
      disable screensaver via gsettings was true and uint32 300
      Found: screen saver in lightdm
      disable screensaver via lightdm.conf
      Found: screen saver in lxsession
      disable screensaver via lxsession
      Found: wayfire.ini
      
      [WARN] There is some change for disable screen saver
      [WARN] Please, don't forget to reboot your OS for apply the new configuration!
      Done
      
      Rebuild MagicMirror...
      ✔ Rebuild Complete
      Done
      
      
      MMM-Pir is now installed !
      
      > MMM-Pir@2.4.4 postinstall
      > echo ⚠ On next release, Please use: npm run setup
      
      ⚠ On next release, Please use: npm run setup
      
      added 1 package in 31s
      
      124 packages are looking for funding
        run `npm fund` for details
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ 
      

      I will have to play with the screen options (caused for sure by bookworm) because right now I get an error notification from MMM-Pir (screen error detected: dpms command error(mode 1) ) but there are several other modes to try …

      Regards,
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil :-)

      nmp install DOES the trick!

      (should have come to my mind !!!)

      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CalendarExt3Agenda $ npm install
      
      > mmm-calendarext3agenda@1.4.6 postinstall
      > git submodule update --init --recursive
      
      Submodule 'CX3_Shared' (https://github.com/MMRIZE/CX3_Shared) registered for path 'CX3_Shared'
      Cloning into '/home/pi/MagicMirror/modules/MMM-CalendarExt3Agenda/CX3_Shared'...
      Submodule path 'CX3_Shared': checked out '0b390e2770866533464c81e5b26ff366e9695344'
      
      up to date, audited 1 package in 1s
      
      found 0 vulnerabilities
      
      

      Thanks!
      Calendar is present, again!
      Nice!

      Now all I’m missing is MMM-Pir :-)
      Just frickling around but cannot get this git-cloned from backup-repository …

      thanks a LOT!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil Did not find a restore.log file …
      But in this post I listed a copy of screen output during restore.

      it stated “restoring MMM-CalendarExt3Agenda” without engaging npm install …

      Will give npm install a try…

      Thanks!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • MMM-CalendarExt3Agenda doesn't work on fresh restored install

      Good morning,

      just restored my mirror with restore scripts from Sam (@sdetweil ).
      Unfortunately MMM-CalendarExt3Agenda doesn’t show up.
      I’ve just installed the calendar fix but this doesn’t help:

      pi@MagicMirrorPi5:~/MagicMirror $ git switch _fix_clipping
      error: Your local changes to the following files would be overwritten by checkout:
      	package-lock.json
      	package.json
      Please commit your changes or stash them before you switch branches.
      Aborting
      pi@MagicMirrorPi5:~/MagicMirror $ rm package-lock.json
      pi@MagicMirrorPi5:~/MagicMirror $ git switch _fix_clipping
      error: Your local changes to the following files would be overwritten by checkout:
      	package.json
      Please commit your changes or stash them before you switch branches.
      Aborting
      pi@MagicMirrorPi5:~/MagicMirror $ mv package.json package.json.old
      pi@MagicMirrorPi5:~/MagicMirror $ git switch _fix_clipping
      Switched to branch '_fix_clipping'
      pi@MagicMirrorPi5:~/MagicMirror $ npm run install-mm
      
      > magicmirror@2.31.0-develop install-mm
      > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
      
      
      > magicmirror@2.31.0-develop postinstall
      > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
      > "
      
      
      > magicmirror@2.31.0-develop install-vendor
      > echo "Installing vendor files ...
      > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing vendor files ...
      
      
      up to date in 369ms
      
      > magicmirror@2.31.0-develop install-fonts
      > echo "Installing fonts ...
      > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing fonts ...
      
      
      up to date in 400ms
      MagicMirror² installation finished successfully! 
      
      
      > magicmirror@2.31.0-develop prepare
      > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
      
      no husky installed.
      
      added 1 package, removed 99 packages, and changed 186 packages in 19s
      

      I’ve searched logs and found an error:

      Cannot GET /modules/MMM-CalendarExt3Agenda/CX3_Shared/CX3_shared.mjs
      

      which is true - this directory “CX3_Shared” is empty on my restored version.
      on github the CX3_Shared directory is linked elsewhere - this is might the reason for not re-installing it correctly…

      Git pull in $HOME/MagicMirror/modules/MMM-CalendarExt3Agenda doesn’t help either.
      What can I do to get it up and running?

      Thanks for any hint!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil
      sorry, still another question…
      Your backup-script has stored the famous MMM-Pir (bugsounet’s) on my git-repository.
      The restore script does not restore this directory (I guess because the origin git repo doesn’t exist anymore - which makes sense).
      But I would at least try to get this up and running again…

      Can I restore this directory manually?
      And if possible is this done with a fully qualified path or somehow different?
      (meaning “https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir”)

      so would my command be:

      git clone https://github.com/rkorell/MagicMirror/tree/main/MMM-Pir 
      

      or

      git clone https://github.com/rkorell/MagicMirror/MMM-Pir
      

      Or do I have to transfer my tar file to the new raspi and unpack it there?

      Thanks for guidance!

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil WOW!

      nearly all is working!

      Some local modifications are not catched (e.g. datafile for birthdaylist (to illustrate what I mean - you are somewhat familiar with birthdaylist :-) ) ).

      For unknown reasons “MMM-CalendarExt3Agenda” is not showing up - I may have to apply the fix I had seen somehow (have NOT to use this fix on my Pi4 with same mirror version (2.30.0))
      Calendar fetches are present (checked log) so it seems an error in C3A …

      By checking log I found a never seen error:

      0|MagicMir |     at node:internal/deps/undici/undici:13392:13
      0|MagicMir |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
      0|MagicMir |   [cause]: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 151.101.193.164:443, 151.101.65.164:443, 151.101.129.164:443, 151.101.1.164:443, timeout: 30000ms)
      0|MagicMir |       at onConnectTimeout (/home/pi/MagicMirror/node_modules/undici/lib/core/connect.js:237:24)
      0|MagicMir |       at Immediate._onImmediate (/home/pi/MagicMirror/node_modules/undici/lib/core/connect.js:206:11)
      0|MagicMir |       at process.processImmediate (node:internal/timers:483:21) {
      0|MagicMir |     code: 'UND_ERR_CONNECT_TIMEOUT'
      0|MagicMir |   }
      0|MagicMir | } 
      0|MagicMir | [2025-03-26 04:50:09.238] [ERROR] Failed to retrieve repo info for MagicMirror: Error: Command failed: cd /home/pi/MagicMirror/ && git fetch -n --dry-run
      0|MagicMir | fatal: unable to access 'https://github.com/MagicMirrorOrg/MagicMirror.git/': Failed to connect to github.com port 443 after 133356 ms: Couldn't connect to server
      
      

      is this related to auto-update?

      And another question: On my other Mirror a restart happens when I write config.js back to raspi - this doesn’t happen on new system - can I enable this with a parameter somehow I have missed?

      Thanks a LOT for your great script and your effort behind!

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil has worked :-)

      
      pi@MagicMirrorPi5:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_restore.sh)" -r https://github.com/rkorell/MagicMirror -f
      restoring MM configuration from /home/pi/MM_backup to /home/pi/MagicMirror
      
      trying to fetch MagicMirror from github
      folder /home/pi/MM_backup does not exist, will clone it from github
      Username for 'https://github.com': rkorell
      Password for 'https://rkorell@github.com': 
      created git branch from last tag = 10
      restored config.js and custom.css
      restoring birthdaylist
      module birthdaylist contains package.json, doing npm install
      
      restoring internet-monitor
      module internet-monitor contains package.json, doing npm install
      
      restoring MMM-Bring
      module MMM-Bring contains package.json, doing npm install
      there were files saved for this module , restoring
      
      restoring MMM-CalendarExt3Agenda
      
      restoring MMM-Config
      module MMM-Config contains package.json, doing npm install
      there were files saved for this module , restoring
      
      restoring MMM-EventHorizon
      module MMM-EventHorizon DOES NOT contain package.json
      
      restoring MMM-FrameLight
      
      restoring MMM-FRITZ-Box-Callmonitor-py3
      module MMM-FRITZ-Box-Callmonitor-py3 contains package.json, doing npm install
      
      restoring MMM-Fuel
      module MMM-Fuel contains package.json, doing npm install
      
      restoring MMM-Globe
      
      restoring MMM-JsonValue
      module MMM-JsonValue contains package.json, doing npm install
      
      restoring MMM-LogExt
      module MMM-LogExt DOES NOT contain package.json
      
      restoring MMM-Logging
      module MMM-Logging contains package.json, doing npm install
      
      restoring MMM-MagicMover
      
      restoring MMM-MoonPhase
      
      restoring MMM-MPlayer
      
      restoring MMM-MyGarbage
      module MMM-MyGarbage contains package.json, doing npm install
      
      restoring MMM-NotificationTrigger
      module MMM-NotificationTrigger DOES NOT contain package.json
      
      restoring MMM-NowPlayingOnSpotify
      module MMM-NowPlayingOnSpotify contains package.json, doing npm install
      
      restoring MMM-Profilepicture
      module MMM-Profilepicture DOES NOT contain package.json
      
      restoring MMM-Remote-Control
      module MMM-Remote-Control contains package.json, doing npm install
      there were files saved for this module , restoring
      
      restoring MMM-Strava
      module MMM-Strava contains package.json, doing npm install
      there were files saved for this module , restoring
      
      restoring MMM-SweepClock
      
      restoring MMM-SystemInfo
      module MMM-SystemInfo DOES NOT contain package.json
      
      restoring MMM-SystemStats
      module MMM-SystemStats contains package.json, doing npm install
      
      restoring MMM-Temp2IOT
      module MMM-Temp2IOT DOES NOT contain package.json
      
      restoring MMM-Todoist
      module MMM-Todoist contains package.json, doing npm install
      
      restoring MMM-ViewNotifications
      module MMM-ViewNotifications DOES NOT contain package.json
      
      restoring MMM-WiFiPassword
      module MMM-WiFiPassword DOES NOT contain package.json
      
      Checking for modules with removed libraries
      grep: MMM-LogExt
      MMM-Strava
      MMM-JsonValue
      MMM-Remote-Control
      MMM-FRITZ-Box-Callmonitor-py3
      MMM-MyGarbage
      MMM-Bring
      MMM-SystemStats
      internet-monitor
      MMM-Config
      MMM-MoonPhase
      MMM-Temp2IOT
      MMM-Todoist
      MMM-Fuel
      MMM-SystemInfo
      MMM-NotificationTrigger
      birthdaylist
      MMM-Logging
      MMM-MPlayer
      MMM-FrameLight
      MMM-NowPlayingOnSpotify/node_helper.js: File name too long
      
      restore completed, you can start MagicMirror now
      
      

      Now have to check what is working, what not …

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil cool, THANKS!

      script now is doing something :-)

      I’m really curious…

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Fresh install on bookworm only works with X11 - which disables VNC...

      @sdetweil cool - but had switched to X11 after installation.
      But screensaver IS switched off (it seems to me that screensaver is switched off per default - never seen a screenserver on my pis …

      posted in Troubleshooting
      R
      rkorell
    • RE: Fresh install on bookworm only works with X11 - which disables VNC...

      @sdetweil :-)
      For me it’s currently fine!
      All is working and wayland is not needed THAT much :-)

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil Don’t worry!
      Have fun with your family!

      Will stop then until tomorrow -take your time!!!

      posted in Troubleshooting
      R
      rkorell
    • RE: Fresh install on bookworm only works with X11 - which disables VNC...

      @rkorell Screen switching Off is now disappeared without any reason - did not change anything…

      Screen darkness still there but may an issue with the modules I never used and this greyish is “normal” …

      posted in Troubleshooting
      R
      rkorell
    • 1 / 1