Read the statement by Michael Teeuw here.
Electron install dificulties
-
-
@missingxtension said in Electron install dificulties:
Having all kinds of install problems from the very beginning. squashing errors all left and right from different forums. But magicmirrors forum has been useless.
I am sure everyone being able to register and post on this forum is quite capable of copy and paste commands from chromium. But the forum seems intent on not really helping anyone. They just say ohh suffer a little and read.Sorry but a very inappropriate rant.
You are trying to run this on a virtual machine and are blaming this forum that it’s not working due to the incompatibility of electron with certain systems.
Have you checked other posts on this forum?
How long has it taken Sam to respond to you? And actually trying to help -
- No! and yes! Started having problems on a pi4. But that was way too slow, and no snapshots. That is where the virtual machine came in. For trouble shooting and configuration. After all the hardware is not relevant to magicmirror. I have had a virtual windows xp (caps went out, 16bit drivers, sp2 breaks system) running for over 10 years on vmware no problems, the techs that calibrate and update the equipment its operating never even notice. Until it restarts to the vmware logo. The vm is so much faster, the limits of xp still apply like memory and core count.
- Yes, I am a certified forum stalker. Like most people who work on this kinds of projects. I always custom flash my routers, root my phones, and even have a z3x to save time. But I am a newbie to this
- Sam was incredibly fast. Its very much appreciated.
-
@missingxtension so, you said you fixed the multiple instances issue… what did u do to fix that?
-
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