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

    Richard238

    @Richard238

    9
    Reputation
    2.6k
    Profile views
    232
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online
    Location Sussex, UK

    Richard238 Unfollow Follow

    Best posts made by Richard238

    • RE: Calendar Module: Multiple Icons.

      Sure, it’s in /home/pi/MagicMirror/css/custom.css

       * Changes to this files will be ignored by GIT. *
       *****************************************************/
      
       body {
       	
       }
      
       
       .fa.fa-calendar-check-o {
        color: #00d2ff; /* Blue */
      }
      
       .fa.fa-trash-o  {
        color: #C97F7F; /* Brown */
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Embed Grafana Charts - xframe issue

      @hs said in Embed Grafana Charts - xframe issue:

      allow_embedding=true

      For future me and of course anyone else looking for this, the setting is in the [Security] section of /etc/grafana/grafana.ini (Assumes Grafana is hosted on a Pi or other Linux distro)

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Thanks, it was that, and a missing } close curly bracket.

      posted in Troubleshooting
      R
      Richard238
    • After update, chrome-sandbox needs root and mode 4655?

      Noticed earlier that my MM had crashed for whatever reason - it’s not been touched changed in weeks.

      On reboot, it wanted 44 updates.
      pm2 start mm then showed nothing, with the logs giving an error:

      0|mm       | [10532:0127/132321.643138:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
      

      I did

      sudo chown root /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox
      sudo chmod 4755 /home/pi/MagicMirror/node_modules/electron/dist/chrome-sandbox
      

      This seems to have fixed it, with MM now starting correctly.

      What’s caused this, and is the chown/chmod the correct thing todo?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      renamed MM to MM.JAN22

      renamed MM.save to MM

      All good, thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Updating did nothing but gave fatal error warning.

      @sdetweil Weather module changes worked.
      They needs adjusting, but it is now showing something so it’s a good start I can work from.

      posted in Troubleshooting
      R
      Richard238
    • RE: Updating did nothing but gave fatal error warning.

      I now have coloured icons in the calendar:

      2cde94cd-45ff-48af-a9d0-2d1a6f1bcdee-image.png

      Code now looks like this:

      /* Calendar: config.js set to  symbol: 'fa-light fa-calendar', */ 
      .calendar .fa-calendar-day {
        color: #00d255 /* 55=Green FF=Blue */
      }
      
      /* Calendar: config.js set to  symbol: 'fa-light fa-trash-can', */ 
      .calendar .fa-trash  {
        color: #C97F7F /* Brown */
      }
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      pi@magicmirror:~/MagicMirror $ node -v
      v16.1.0
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      I couldn’t use that as I the Pi had no network, no file manager. It was bricked :(

      New OS, new default vanilla MM all good.

      And then I remembered the orig MM was still on a SD Card before I swapped over to a USB drive.
      Copied all I needed, seems to be all good so far!

      Thanks for your help. :)

      posted in Troubleshooting
      R
      Richard238

    Latest posts made by Richard238

    • RE: Embed Grafana Charts - xframe issue

      @hs said in Embed Grafana Charts - xframe issue:

      allow_embedding=true

      For future me and of course anyone else looking for this, the setting is in the [Security] section of /etc/grafana/grafana.ini (Assumes Grafana is hosted on a Pi or other Linux distro)

      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      I couldn’t use that as I the Pi had no network, no file manager. It was bricked :(

      New OS, new default vanilla MM all good.

      And then I remembered the orig MM was still on a SD Card before I swapped over to a USB drive.
      Copied all I needed, seems to be all good so far!

      Thanks for your help. :)

      posted in Troubleshooting
      R
      Richard238
    • MMM-doomsDay

      Apologies if this request is in the wrong place…

      MMM-doomsDay isn’t listed anywhere, yet is still on GitHub and working just fine on my MM.
      What’s the reason for it not being on the module list or the module wiki page?

      Thank you.

      posted in Requests
      R
      Richard238
    • RE: Request: Flight tracker using PiAware

      +1 for this, please. I have a Pi Aware in the loft and would be interested in adding its data to MM.

      posted in Requests
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      Pi (Pi4 in metal heat-sink case) was running really warm. Powered it off and left it for a while.

      Powered on, it has no networking and file manager does nothing.
      If I can get networking enabled, I’ll make a config and CSS backup.

      Looks like it’s going to need an OS reinstall which will have to wait until I have time to do so.
      I’ll report back when that’s done.

      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      pi@mmv2:/ $ pm2 stop all
      [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
      [PM2] [MagicMirror](0) â
      ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ
      â id â name               â mode     â ⺠   â status    â cpu      â memory   â
      ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼âââââââââââ¤
      â 0  â MagicMirror        â fork     â 300  â stopped   â 0%       â 0b       â
      ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ
      pi@mmv2:/ $ cd ~/MagicMirror
      pi@mmv2:~/MagicMirror $ rm -rf node_modules
      pi@mmv2:~/MagicMirror $ npm install
      npm error code EIO
      npm error syscall read
      npm error errno -5
      npm error EIO: i/o error, read
      npm error A complete log of this run can be found in: /home/pi/.npm/_logs/2025-08-17T11_35_16_106Z-debug-0.log
      pi@mmv2:~/MagicMirror $ npm start
      
      > magicmirror@2.32.0 start
      > node --run start:x11
      
      /bin/sh: 1: ./node_modules/.bin/electron: not found
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @mumblebaj said in Update, unable to connect.:

      npm run config:check

      pi@mmv2:~/MagicMirror $ npm run config:check
      
      > magicmirror@2.32.0 config:check
      > node js/check_config.js
      
      [2025-08-17 12:14:16.030] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
      [2025-08-17 12:14:16.285] [ERROR] Your configuration file contains syntax errors :(
      Line 99 column 21: 'Log' is not defined. 
      
      

      Lines 97/98/99:

                      // Override start method.
                      start: function () {
                          Log.log("Starting module: " + this.name);
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil said in Update, unable to connect.:

      pm2 logs --lines=20

      Seems to loop through this:

      0|MagicMirror  | > magicmirror@2.32.0 start
      0|MagicMirror  | > node --run start:x11
      0|MagicMirror  | [2025-08-16 19:11:31.316] [LOG]   Starting MagicMirror: v2.32.0 
      0|MagicMirror  | [2025-08-16 19:11:31.359] [LOG]   Loading config ... 
      0|MagicMirror  | [2025-08-16 19:11:31.363] [LOG]   config template file not exists, no envsubst 
      0|MagicMirror  | [2025-08-16 19:11:31.976] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
      0|MagicMirror  | [2025-08-16 19:11:32.117] [ERROR] Your configuration file contains syntax errors :(
      0|MagicMirror  | Line 99 column 21: 'Log' is not defined. 
      PM2            | App [MagicMirror:0] exited with code [1] via signal [SIGINT]
      PM2            | App [MagicMirror:0] starting in -fork mode-
      PM2            | App [MagicMirror:0] online
      0|MagicMirror  | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      @sdetweil

      pi@mmv2:~/MagicMirror $ node -v
      v22.14.0
      pi@mmv2:~/MagicMirror $ pm2 stop MagicMirror
      [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) â
      ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ
      â id â name               â mode     â ⺠   â status    â cpu      â memory   â
      ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼âââââââââââ¤
      â 0  â MagicMirror        â fork     â 2120 â stopped   â 0%       â 0b       â
      ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ
      pi@mmv2:~/MagicMirror $ pm2 start MagicMirror
      [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     â 2120 â online    â 0%       â 2.6mb    â
      ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ
      pi@mmv2:~/MagicMirror $
      posted in Troubleshooting
      R
      Richard238
    • RE: Update, unable to connect.

      Same issue today. Tried with force but still no MM.

      node -v = v22.14.0

      posted in Troubleshooting
      R
      Richard238