Read the statement by Michael Teeuw here.
Posts
-
RE: update package list
Ok,
Because you are using pm2 makes getting log a little more interesting
Do
pm2 stop all pm2 flush pm2 start MagicMirror
Wait til MagicMirror comes up and modules show loading
Then dopm2 logs —lines=100.
The n look thru the listing and see if there are any errors reported
Also can you post the configuration from config.js for those two modules
Note the calendar module url needs to be mangled, xxx part so it doesn’t expose the full url -
RE: Pi Zero and MagicMirror2
@plainbroke pi0w
Did you use my install script?
Electron is not available for armv6l
You need to install another browser, Firefox, midori, push
Then launch browser over server modeMy script does all the setup
You have to set an env variable for which ever browserIf you are installed but still need updated, there is a separate script for that
-
RE: update package list
@pat59 said in update package list:
I used restart RPII used restart RPI
I don’t know what that means in reality under the covers
so, you need to delete one of the apps… unless you intentionally have two instances.
they show online, and no restarts, which is weird
-
RE: update package list
@pat59 you have two instances… pick one… delete the other
pm2 --help
will give you the command options
what is the remote control function to stop it?
-
RE: update package list
Did you stop it manually ctrl-q
Yesterday after we finished testing?pm2 status
Is anything listed as running?
If not then do thisps -ef| grep MagicMirror
You should only get one line of output
-
RE: update package list
@pat59 so, you already have an instance running, probably under pm2
when I said stop MM I meant in whatever way running…
pm2’s JOB is to start and KEEP MM running… no matter what
you ctrl-Q
pm2 says, oops, app crashed, restart…so, you have to use the pm2 commands to tell it what to do
pm2 status
will show the managed apps, one line per
you can control the app, by using the name or number of the app in a rowpm2 stop 0 pm2 stop MagicMirror
could both be for the same app
once stopped, THEN you can go to the MM folder and do the npm start to see the possible errors easier…
once you fix the errors, you can stop the temp MM with ctrl-q (as you started it manually)
and then tell pm2 to manage it againpm2 start 0/MagicMirror