A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
updating MMM-mmpm using mmpm web UI and now MagicMirror won't start
-
$ pm2 list ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 557 │ errored │ 0% │ 0b │ │ 1 │ mmpm.api │ fork │ 4 │ online │ 0% │ 27.0mb │ │ 2 │ mmpm.log-server │ fork │ 4 │ online │ 0% │ 27.7mb │ │ 3 │ mmpm.repeater │ fork │ 4 │ online │ 0% │ 27.7mb │ │ 4 │ mmpm.ui │ fork │ 4 │ online │ 0% │ 17.4mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
Here are the logs I see in the mmpm ui:
{"timestamp": "2024-04-03 21:59:35,412", "level": "INFO", "version": "4.1.1", "message": "Received request to start MagicMirror", "logger_name": "mmpm.api.endpoints.endpoint", "module": "ep_mm_ctl", "function": "start", "line": 92} {"timestamp": "2024-04-03 21:59:35,414", "level": "DEBUG", "version": "4.1.1", "message": "pm2 process set as MagicMirror", "logger_name": "mmpm.api.endpoints.endpoint", "module": "controller", "function": "start", "line": 189} {"timestamp": "2024-04-03 21:59:35,416", "level": "DEBUG", "version": "4.1.1", "message": "Attempting to start MagicMirror using pm2 start MagicMirror ", "logger_name": "mmpm.api.endpoints.endpoint", "module": "controller", "function": "start", "line": 205} {"timestamp": "2024-04-03 21:59:35,418", "level": "DEBUG", "version": "4.1.1", "message": "Executing command `pm2 start MagicMirror`", "logger_name": "mmpm.api.endpoints.endpoint", "module": "utils", "function": "run_cmd", "line": 111} {"timestamp": "2024-04-03 21:59:36,054", "level": "INFO", "version": "4.1.1", "message": "Started MagicMirror", "logger_name": "mmpm.api.endpoints.endpoint", "module": "controller", "function": "start", "line": 216} {"timestamp": "2024-04-03 21:59:53,609", "level": "DEBUG", "version": "4.1.1", "message": "Client disconnected: kIMuN9OtxFxs50T0AAAJ", "logger_name": "mmpm.api.repeater", "module": "repeater", "function": "disconnect", "line": 63} {"timestamp": "2024-04-03 21:59:53,612", "level": "DEBUG", "version": "4.1.1", "message": "Removed kIMuN9OtxFxs50T0AAAJ from known Client IDs", "logger_name": "mmpm.api.repeater", "module": "repeater", "function": "disconnect", "line": 66} {"timestamp": "2024-04-03 22:00:03,614", "level": "DEBUG", "version": "4.1.1", "message": "Client disconnected: nhuaaGBQFvkiqkhMAAAL", "logger_name": "mmpm.api.repeater", "module": "repeater", "function": "disconnect", "line": 63} {"timestamp": "2024-04-03 22:00:03,615", "level": "DEBUG", "version": "4.1.1", "message": "Removed nhuaaGBQFvkiqkhMAAAL from known Client IDs", "logger_name": "mmpm.api.repeater", "module": "repeater", "function": "disconnect", "line": 66} {"timestamp": "2024-04-03 22:00:03,617", "level": "DEBUG", "version": "4.1.1", "message": "No clients connected. Disconnecting from MagicMirror SocketIO Server.", "logger_name": "mmpm.api.repeater", "module": "repeater", "function": "disconnect", "line": 70}
I have tried reinstalling mmpm, the UI, and MMM-mmpm and restarting.
These logs might be more helpful:
/home/pi/.pm2/logs/MagicMirror-error.log last 75 lines: 0|MagicMir | [2024-04-03 22:10:07.178] [ERROR] App threw an error during load 0|MagicMir | [2024-04-03 22:10:07.182] [ERROR] Error: Cannot find module '/home/pi/MagicMirror/node_modules/systeminformation/lib/index.js'. Please verify that the package.json has a valid "main" entry 0|MagicMir | at tryPackage (node:internal/modules/cjs/loader:422:19) 0|MagicMir | at Module._findPath (node:internal/modules/cjs/loader:672:18) 0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27) 0|MagicMir | at s._resolveFilename (node:electron/js2c/browser_init:2:115476) 0|MagicMir | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:908:27) 0|MagicMir | at c._load (node:electron/js2c/node_init:2:13672) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1122:19) 0|MagicMir | at require (node:internal/modules/helpers:130:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/utils.js:3:12) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1256:14) 0|MagicMir | at Module._extensions..js (node:internal/modules/cjs/loader:1311:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:1098:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:945:12) 0|MagicMir | at c._load (node:electron/js2c/node_init:2:13672) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1122:19) 0|MagicMir | A JavaScript error occurred in the main process 0|MagicMir | Uncaught Exception: 0|MagicMir | Error: Cannot find module '/home/pi/MagicMirror/node_modules/systeminformation/lib/index.js'. Please verify that the package.json has a valid "main" entry 0|MagicMir | at tryPackage (node:internal/modules/cjs/loader:422:19) 0|MagicMir | at Module._findPath (node:internal/modules/cjs/loader:672:18) 0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27) 0|MagicMir | at s._resolveFilename (node:electron/js2c/browser_init:2:115476) 0|MagicMir | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:908:27) 0|MagicMir | at c._load (node:electron/js2c/node_init:2:13672) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1122:19) 0|MagicMir | at require (node:internal/modules/helpers:130:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/utils.js:3:12) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1256:14) 0|MagicMir | at Module._extensions..js (node:internal/modules/cjs/loader:1311:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:1098:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:945:12) 0|MagicMir | at c._load (node:electron/js2c/node_init:2:13672) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1122:19) 0|MagicMir | [13400:0403/221008.167490:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.167856:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.168715:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.168844:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.169012:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.169118:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.169270:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.169833:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.170142:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.170267:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.171101:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.171215:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.171929:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.172108:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.173290:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.173450:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174025:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174154:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174316:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174413:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174557:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174658:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174799:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.174895:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.175032:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.175122:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2) 0|MagicMir | [13400:0403/221008.175265:ERROR:gbm_wrapper.cc(76)] Failed to get fd for plane.: No such file or directory (2) 0|MagicMir | [13400:0403/221008.175355:ERROR:gbm_wrapper.cc(259)] Failed to export buffer to dma_buf: No such file or directory (2)
-
@travishardiman said in updating MMM-mmpm using mmpm web UI and now MagicMirror won't start:
home/pi/MagicMirror/node_modules/systeminformation/lib/index.js
this library is missing systeminformation
cd ~/MagicMirror npm install systeminformation
-
@sdetweil said in updating MMM-mmpm using mmpm web UI and now MagicMirror won't start:
@travishardiman said in updating MMM-mmpm using mmpm web UI and now MagicMirror won't start:
home/pi/MagicMirror/node_modules/systeminformation/lib/index.js
this library is missing systeminformation
cd ~/MagicMirror npm install systeminformation
Thanks! That fixed it!!