Read the statement by Michael Teeuw here.
Electron install dificulties
-
shutdown -r now
I did a reboot. After that the menus are gone from the window manager, even for chromium. That seems to stop the multiple instances, otherwise it just keeps loading them over and over again.
-
-
@sdetweil
https://ibb.co/YDkDZzn
After a restart the window decorations are gone ( I think they are still called that). Then only one instance starts.
While I was preparing this response, it eventually stopped loading instances. -
@missingxtension the pm2 status column w the little curly cue is number of restarts.so pm2 thinks it failed…
can u do
pm2 stop all
pm2 logs --lines =100and
grep start ~/MagicMirror/package.json -
@sdetweil
stop all wasn’t necessary
I had already killed the MM instances. But I can reinstall MM from a fresh if you need me to.https://pastebin.com/embed_js/Mq8en42t
marked as spam by akismet
grep output
"start": "./run-start.sh $1",
https://pastebin.com/3LwH3ZPv MM out log
-
@missingxtension so, pm2’s job is to start and keep running the processes it manages.
chromium is not supposed to ‘exit’, altho it does on 2nd thru nth, when it opens a page in an existing browser…
the question is why did the 1st instance end…
did u change the package,json after install?
do this
pm2 delete 0
then run the fixuppm2 script from my scripts site… last entry
https://github.com/sdetweil/MagicMirror_scriptsthis will recreate the pm2 entry