Read the statement by Michael Teeuw here.
Bookworm: MM not starting
-
@calimero use pm2
if you had used my install script this was a choice
there is a separate script so yiu can add pm2 later
see
https://github.com/sdetweil/MagicMirror_scripts -
@sdetweil Thank you for your reply.
You’re talking about this script?Behaviour did not change after executing.
┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ default │ 2.29.0 │ fork │ 3229 │ 3s │ 23 │ online │ 0% │ 2.6mb │ pi │ enabled │
│ 0 │ mm │ default │ N/A │ fork │ 3285 │ 0s │ 3 │ online │ 0% │ 2.6mb │ pi │ disabled │
└────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘pm2 log:
1|MagicMirror | [2024-10-20 22:48:49.111] [LOG] Starting MagicMirror: v2.29.0
1|MagicMirror | [2024-10-20 22:48:49.179] [LOG] Loading config …
1|MagicMirror | [2024-10-20 22:48:49.185] [LOG] config template file not exists, no envsubst
1|MagicMirror | [2024-10-20 22:48:50.448] [INFO] Checking config file /home/pi/MagicMirror/config/config.js …
1|MagicMirror | [2024-10-20 22:48:50.667] [INFO] Your configuration file doesn’t contain syntax errors :)
1|MagicMirror | [2024-10-20 22:48:50.670] [INFO] Checking modules structure configuration …
1|MagicMirror | [2024-10-20 22:48:50.941] [ERROR] right is not definedDo you have a further advice? Thanks in advance!
-
@calimero said in Bookworm: MM not starting:
@sdetweil Thank you for your reply.
You’re talking about this script?Behaviour did not change after executing.
┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ default │ 2.29.0 │ fork │ 3229 │ 3s │ 23 │ online │ 0% │ 2.6mb │ pi │ enabled │
│ 0 │ mm │ default │ N/A │ fork │ 3285 │ 0s │ 3 │ online │ 0% │ 2.6mb │ pi │ disabled │
└────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘pm2 log:
[ERROR] right is not defined
looks lik you have a module in a wrong position
-
@sdetweil Touché.
U’re absolutely right. Just removed the handy PIR-script and installed PIR-Sensor-Lite and forgot the “”. My bad.
But: Beaviour is like before. I can start the process and access the MM via Browser but it does not start on the local display.
What works is:
Browse the MM-IP from whitelistet IP. That’s nice but I’d like to have the MM just showing via autostart on the display which is attached to the PI:(
-
Perhaps I should have named the title “MM not showing” instead of “MM not starting”.
-
-
-
Nevermind -
my last two replys are not published yet.
Anyway - I read about a smiliar problem and tried the following:- backup MM folder
- use your install-script
- removed module and config-content from backup to new folder
MM starts up as intended.
No idea, what was the issue exactly, but after your installation-script-usage it works as a charm.Thanks for support!
-
@calimero glad you got it going.
as for your delayed posts
everyone with reputation below 2 has their posts reviewed. this to stop all the junk posts
i review every such post, and occasionally sleep! lol
please don’t double post
-
@calimero said in Bookworm: MM not starting:
backup MM folder
use your install-script
removed module and config-content from backup to new folderalso, I have backup/restore scripts that will do that AND allow you to keep different versions, AND save on github
NOT on local machine where it might be lost
only saves the config, custom.css and a LIST of the modules (where from)
on restore, reinstalls all the modules (in case node.js changed during the time between backup and restore) -