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

    Posts

    Recent Best Controversial
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil

      I think that did the trick

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil

      jeff@raspberrypi:~/MagicMirror $ git pull && npm run install-mm
      Already up to date.

      magicmirror@2.30.0 install-mm
      npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev

      npm ERR! code EBADENGINE
      npm ERR! engine Unsupported engine
      npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.30.0
      npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.30.0
      npm ERR! notsup Required: {“node”:“>=20.18.1 <21 || >=22”}
      npm ERR! notsup Actual: {“npm”:“10.1.0”,“node”:“v20.9.0”}

      npm ERR! A complete log of this run can be found in: /home/jeff/.npm/_logs/2025-01-03T16_52_04_066Z-debug-0.log

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil

      jeff@raspberrypi:~/MagicMirror $ git checkout package.json
      Updated 0 paths from the index

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil

      That’s exactly what I have

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil

      i’m confused. it is showing “2.30.0”

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil

      jeff@raspberrypi:~/MagicMirror $ npm run mm-install
      npm ERR! Missing script: “mm-install”
      npm ERR!
      npm ERR! Did you mean one of these?
      npm ERR! npm install # Install a package
      npm ERR! npm uninstall # Remove a package
      npm ERR!
      npm ERR! To see a list of scripts, run:
      npm ERR! npm run

      npm ERR! A complete log of this run can be found in: /home/jeff/.npm/_logs/2025-01-03T16_14_57_938Z-debug-0.log
      jeff@raspberrypi:~/MagicMirror $

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @BKeyport

      jeff@raspberrypi:~/MagicMirror $ rm package-lock.json
      jeff@raspberrypi:~/MagicMirror $ git pull && npm run install-mm
      Updating 94c3c69…c24de64
      error: Your local changes to the following files would be overwritten by merge:
      package.json
      Please commit your changes or stash them before you merge.
      Aborting

      posted in Troubleshooting
      J
      jefftse
    • RE: Please commit your changes or stash them before you merge?

      @sdetweil
      jeff@raspberrypi:~/MagicMirror $ git diff package.json
      diff --git a/package.json b/package.json
      index 7b80b4e…aa80952 100644
      — a/package.json
      +++ b/package.json
      @@ -58,6 +58,7 @@
      “ajv”: “^8.17.1”,
      “ansis”: “^3.3.2”,
      “console-stamp”: “^3.1.2”,

      •           "electron-version": "^2.0.1",
                  "envsub": "^4.1.0",
                  "eslint": "^9.11.1",
                  "express": "^4.21.0",
        

      @@ -66,13 +67,17 @@
      “helmet”: “^7.1.0”,
      “html-to-text”: “^9.0.5”,
      “iconv-lite”: “^0.6.3”,

      •           "luxon": "^3.5.0",
                  "module-alias": "^2.2.3",
                  "moment": "^2.30.1",
                  "node-ical": "0.18.0",
        
      •           "onoff": "^6.0.3",
                  "pm2": "^5.4.2",
        
      •           "rss-parser": "^3.13.0",
                  "socket.io": "^4.8.0",
                  "suncalc": "^1.9.0",
        
      •           "systeminformation": "^5.23.5"
        
      •           "systeminformation": "^5.23.5",
        
      •           "wiring-pi": "^2.2.1"
          },
          "devDependencies": {
                  "@eslint/js": "^9.11.1",
        
      posted in Troubleshooting
      J
      jefftse
    • Please commit your changes or stash them before you merge?

      I tried to update my mirror tonight but i’m getting this.

      jeff@raspberrypi:~/MagicMirror $ sudo git pull && npm run install-mm
      Updating 94c3c69…c24de64
      error: Your local changes to the following files would be overwritten by merge:
      package-lock.json
      package.json
      Please commit your changes or stash them before you merge.
      Aborting

      please advise

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil

      my setup is pretty simple.

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @karsten13 Ha! thank you!!! i totally overlooked it!! appreciated it!

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil I might have found the problem. it’s the backgroundslideshow. I disabled resizing and it hasn’t crashed yet. we will report again!

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil my setup is pretty simple and its freshly built yesterday. here is my config…

      deleted
      
      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil 0|mm | MEMORY-ERROR: electron[3627]: GSlice: assertion failed: sinfo->n_allocated > 0
      0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGABRT

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil it did just crash with this

      0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
      PM2 | App [mm:0] exited with code [1] via signal [SIGINT]
      PM2 | App [mm:0] starting in -fork mode-
      PM2 | App [mm:0] online
      0|mm | > magicmirror@2.29.0 start
      0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil ok, i just did it and will report back. I guess i lost VNC from switching.

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil > magicmirror@2.29.0 start
      0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
      0|mm | [2024-12-18 09:29:44.580] [LOG] Starting MagicMirror: v2.29.0
      0|mm | [2024-12-18 09:29:44.647] [LOG] Loading config …
      0|mm | [2024-12-18 09:29:44.654] [LOG] config template file not exists, no envsubst
      0|mm | [2024-12-18 09:29:46.022] [INFO] Checking config file /home/jeff/MagicMirror/config/config.js …
      0|mm | [2024-12-18 09:29:46.254] [INFO] Your configuration file doesn’t contain syntax errors :)
      0|mm | [2024-12-18 09:29:46.257] [INFO] Checking modules structure configuration …
      0|mm | [2024-12-18 09:29:46.526] [INFO] Your modules structure configuration doesn’t contain errors :)
      0|mm | [2024-12-18 09:29:46.532] [LOG] Loading module helpers …
      0|mm | [2024-12-18 09:29:46.536] [LOG] No helper found for module: alert.
      0|mm | [2024-12-18 09:29:46.555] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:46.557] [LOG] Module helper loaded: updatenotification
      0|mm | [2024-12-18 09:29:46.559] [LOG] No helper found for module: clock.
      0|mm | [2024-12-18 09:29:46.860] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:46.861] [LOG] Module helper loaded: calendar
      0|mm | [2024-12-18 09:29:47.085] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:47.086] [LOG] Module helper loaded: newsfeed
      0|mm | [2024-12-18 09:29:48.025] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:48.026] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
      0|mm | [2024-12-18 09:29:48.264] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:48.265] [LOG] Module helper loaded: MMM-Screencast
      0|mm | [2024-12-18 09:29:49.970] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:49.972] [LOG] Module helper loaded: MMM-AVStock
      0|mm | [2024-12-18 09:29:50.472] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:50.473] [LOG] Check MagicMirror² version for node helper ‘MMM-CoinMarketCap’ - Minimum version: 2.2.1 - Current version: 2.29.0
      0|mm | [2024-12-18 09:29:50.475] [LOG] Version is ok!
      0|mm | [2024-12-18 09:29:50.476] [LOG] Module helper loaded: MMM-CoinMarketCap
      0|mm | [2024-12-18 09:29:50.709] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:50.710] [LOG] Module helper loaded: MMM-BackgroundSlideshow
      0|mm | [2024-12-18 09:29:50.826] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:50.827] [LOG] Module helper loaded: MMM-Pir
      0|mm | [2024-12-18 09:29:50.869] [LOG] Initializing new module helper …
      0|mm | [2024-12-18 09:29:50.870] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
      0|mm | [2024-12-18 09:29:50.870] [LOG] All module helpers loaded.
      0|mm | [2024-12-18 09:29:50.889] [LOG] Starting server on port 8080 …
      0|mm | [2024-12-18 09:29:54.510] [LOG] Server started …
      0|mm | [2024-12-18 09:29:54.515] [LOG] Connecting socket for: updatenotification
      0|mm | [2024-12-18 09:29:54.521] [LOG] Starting module helper: updatenotification
      0|mm | [2024-12-18 09:29:54.527] [LOG] Connecting socket for: calendar
      0|mm | [2024-12-18 09:29:54.536] [LOG] Starting node helper for: calendar
      0|mm | [2024-12-18 09:29:54.538] [LOG] Connecting socket for: newsfeed
      0|mm | [2024-12-18 09:29:54.541] [LOG] Starting node helper for: newsfeed
      0|mm | [2024-12-18 09:29:54.543] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify
      0|mm | [2024-12-18 09:29:54.550] [LOG] Connecting socket for: MMM-Screencast
      0|mm | [2024-12-18 09:29:54.557] [LOG] Connecting socket for: MMM-AVStock
      0|mm | [2024-12-18 09:29:54.563] [LOG] Connecting socket for: MMM-CoinMarketCap
      0|mm | [2024-12-18 09:29:54.569] [LOG] MMM-CoinMarketCap: module loaded! Path: /home/jeff/MagicMirror/modules/MMM-CoinMarketCap
      0|mm | [2024-12-18 09:29:54.574] [LOG] MMM-CoinMarketCap: Path “/logos” configured successfully.
      0|mm | [2024-12-18 09:29:54.575] [LOG] Connecting socket for: MMM-BackgroundSlideshow
      0|mm | [2024-12-18 09:29:54.581] [LOG] Connecting socket for: MMM-Pir
      0|mm | [2024-12-18 09:29:54.584] [LOG] Connecting socket for: MMM-OpenWeatherMapForecast
      0|mm | [2024-12-18 09:29:54.585] [LOG] Starting node_helper for MMM-OpenWeatherMapForecast
      0|mm | [2024-12-18 09:29:54.589] [LOG] Sockets connected & modules started …
      0|mm | [2024-12-18 09:29:55.384] [LOG] Launching application.
      0|mm | [2024-12-18 09:29:57.817] [INFO] System information:
      0|mm | ### SYSTEM: manufacturer: ; model: ; virtual: false
      0|mm | ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.62+rpt-rpi-v8
      0|mm | ### VERSIONS: electron: 31.7.6; used node: 20.18.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.3
      0|mm | ### OTHER: timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefined
      0|mm | [30914:1218/092957.948903:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.949629:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.950132:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.950420:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.950944:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.951547:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.952173:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.952551:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.953858:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.954350:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.955047:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.955602:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.956790:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.957248:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.961329:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.961766:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.962348:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.962797:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.963454:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.963887:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.964501:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.964979:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.965605:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm | [30914:1218/092957.966056:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      0|mm | [30914:1218/092957.966665:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or director

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil waiting for the next crash

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil gotcha. yea. i tried to upload the whole error log but i realized there is no way to do it here.

      posted in Troubleshooting
      J
      jefftse
    • RE: Electron quit periodically

      @sdetweil I’m sorry but i’m not following…

      posted in Troubleshooting
      J
      jefftse
    • 1 / 1