Read the statement by Michael Teeuw here.
Raspberry Pi Zero W for Magic Mirror
-
@davidgagne and MagicMirror should have come up using firefox
-
@davidgagne said in Raspberry Pi Zero 2 W for Magic Mirror:
I’ll email install.log to you as soon as I can figure out how to … find and copy the install log.
you should install one of the windows ssh clients tools. Winscp or Bitvise ssh clients.
they provide the typical ssh terminal AND also a windows file manager view of the remote system.
so you can double click to edit on windows and automatically save the file back.bitvise also provides drag and drop file copy support to/from the remote system… for logs and credential files
I use notepad++ or visual studio code to edit on windows.
such a time saver!!
-
@sdetweil I am not going to bother sending you the install log because it worked!
It took a long time to launch, but now I can see MagicMirror running when I VNC into the Pi.
After running your fixuppm2 script I executed
pm2 start MagicMirror
and got this:[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.27.0 │ fork │ 28553 │ 0s │ 2 │ online │ 0% │ 2.5mb │ dvg │ disabled │ └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
Now when I VNC into the Pi I see it running! So far the date and time is the only thing correctly displaying, but at least now MagicMirror is running. Thank you!
-
@davidgagne I am interested in the log to see why the inline pm2 setup failed.
yes, pi0w is not fast.
the default calendar and weather take configuration before they produce output.
-
@davidgagne you can also adjust the MagicMirror config so you can open your windows browser to see it too.
-
@sdetweil I’m an Apple user. I am sure there’s something similar, though. Thanks.
-
@sdetweil It looks like I spoke too soon. After a reboot, I cannot seem to get any output from MagicMirror.
I rebooted and then calledpm2 start MagicMirror
from within the MagicMirror directory, and it seems to execute just fine. But … nothing happens. It doesn’t actually start the app, as far as I can tell. Even though the output seems the same:[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.27.0 │ fork │ 4592 │ 1s │ 148 │ online │ 0% │ 27.4mb │ dvg │ disabled │ └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
Any ideas?
-
@davidgagne pm2 logs --lines=75
-
@davidgagne that circle with the arrow heading column says times restarted. 148 is a problem
-
@sdetweil I emailed you the output from that. I’m guessing
Error: Cannot find module 'electron'
is bad?