Read the statement by Michael Teeuw here.
Bookworm: MM not starting
-
Hi,
I just did a fresh install of MM under Bookwork (full version).
If system launches to GUI I did not find any way of autostart MM in kiosk-mode browser.MM-service is starting, but I don’t get a local MM-GUI running.
Trying this way had no success.
No change if GUI is set to Wayland or X11.
I remember an older version of MM which was just startable via PM2, npm start or service file.
If I setup boot to CLI instead of GUI, MM also does not start because of an error that the GUI is needed.
TL;DR: How can I autostart MM on a local display on a debian bookworm?
Any advices are highly appreciated!
-
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 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