SOLVED Magic mirror is not showing up
when i try to start the magic mirror using pm2 start mm.sh, it says “Starting /home/pi/mm.sh in fork_mode (1 instance)”
and then it says
and then table that this looks like this shows up
id │ name │ mode │ ↺ │ status │ cpu │ memory │
│ 0 │ mm │ fork │ 0 │ online │ 0% │ 2.4mb
then nothing happens. I have watched countless videos about the whole prossess and i do everything that they do, but after the enter pm2 start mm.sh the table shows up and then the magic mirror page shows up. i dont know what to do
but in the meantime
pm2 stop all
pm2 logs --lines=50
to see what is going on
does executing mm.sh work by itself?
pm2 is really picky… if there is a batch (bash) script, then it MUST be named mm.sh just mm won’t work.
then pm2 delete 0
pm2 save -f
then run my fixuppm2.sh script
@CoopDog1712 you can’t change and entry, but you can delete it
pm2 delete 0 or pm2 delete mm
pm2 logs --lines=50 might tell us what us going on
pm2 is a command
pm2 --help will show you all the things you can do
ps, you can attach pics here… the third icon from the right above the editor here
@CoopDog1712 i couldnt see much of that image
after typing in pm2 logs --lines=50, all that is coming up is a repeating of these couple lines
@CoopDog1712 yes, sometimes, the install messes up
pm2 stop all cd ~/MagicMirror npm install firstname.lastname@example.org
cd ~/MagicMirror npm start
if all looks good
ctrl-c to stop
pm2 start MagicMirror
I should have asked, what pi is this on ? not pi 0 w, right?
@sdetweil no its a pi 4
@sdetweil so it works now, and after i enter pm2 start MagicMirror, it loads the software for the magic mirror, the only issue is that their is nothing only a blank screen, no time, weather, nothing. all that comes up is a blank screen. any suggestions?