Read the statement by Michael Teeuw here.
Cant Start MMPM GUI
-
You were absolutely right about the http
I changed the process now in the env file to MagicMirror. However now there is no connection between mmpm and mm anymore.
Conclusion: now i have the gui but i mmpm cannot access active modules anymore. i tried switching the process in the env back to pm2 but that doesnt help either.
-
@Zar I would look at the mmpm wiki
https://github.com/Bee-Mar/mmpm/wiki/Command-Line-Optionsand open in issue if u need more help
-
I did look at the wiki but none of the mmpm commands help with loosing the connection. The right env in this case is pm2 as i figured out by trying under which circumstances mmpm can control mm.
However since until now not a single module could be loaded i will flash the SD card and start from scratch.
-
@sdetweil seems the hard way, vs asking the MMPM author
-
Well mmpm was not the only thing not working ;)
I will try to install Magic Mirror through the MMPM commands this time. Maybe that helps.
-
@Zar i would just use my scripts…
-
Please do me and future askers a favor and dont tell them to use your script. Thats the second flash of the raspberrie now…
Your script basically makes it impossible to stop MM because it just restarts npm and PM2 as well as MM every single time you try to shut it down.
-
@Zar pm2’s job is to restart , you can always minimize MM (alt-spacebar, n) and then use pm2 to stop,
(alt-ctrl-t to open a terminal window)
or use an ssh ssession to the pi and pm2 stop…or not accept pm2 during install … all kinds of ways to handle it…
alt-spacebar, n to minimize is the same as for Windows on any app.
-
New question about the GUI here:
I have 2 MM installations on 2 R3B+.
Both the same config. Both the same Raspian Buster.On one, GUI is working as intended.
On the other, for a while now (worked before), I have to reinstall the MMPM GUI after every reboot with mmpm install --gui, then it works.
After a reboot -> 502 Bad gateway.
MMPM 2.05.Anyone already came across this and has a solution available?
-
I have exactly the same problem: I can’t get MMPM get to autostart after reboot. Any ideas?