Read the statement by Michael Teeuw here.
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
-
Well, thank you, I’m going to stop now. I’m 65 years old and I don’t always understand what to do. I’m a novice. I don’t know which application to delete. Thanks again for your help.
-
-
pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ pm2 stop mm
[PM2] Applying action stopProcessId on app [mm](ids: [ 0 ])
[PM2] mm ✓┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 1 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.4mb │ │ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror $ pm2 restart MagicMirror
Use --update-env to update environment variables
[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
[PM2] MagicMirror ✓┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 1 │ MagicMirror │ fork │ 1 │ online │ 0% │ 2.4mb │ │ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror $
-
Congratulations on your courage
Do I have to restart after that? -
@pat59 is it working? after the pm2 restart?
-
Hello
No, I have the other apps working fine except for Calendar, which is still loading, and Newsfeed, which is also loading. -
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 -
Hello, here is the error it gives me.
pi@raspberrypi:~ $ cd ~/MagicMirror
pi@raspberrypi:~/MagicMirror $ pm2 stop all
[PM2] Applying action stopProcessId on app [all](ids: [ 0, 1 ])
[PM2] mm ✓
[PM2] MagicMirror ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │
│ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror $ pm2 flush
[PM2] Flushing /home/pi/.pm2/pm2.log
[PM2] Flushing:
[PM2] /home/pi/.pm2/logs/mm-out.log
[PM2] /home/pi/.pm2/logs/mm-error.log
[PM2] Flushing:
[PM2] /home/pi/.pm2/logs/MagicMirror-out.log
[PM2] /home/pi/.pm2/logs/MagicMirror-error.log
[PM2] Logs flushed
pi@raspberrypi:~/MagicMirror $ pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 1 ])
[PM2] MagicMirror ✓
[PM2] Process successfully started
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 1 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.4mb │
│ 0 │ mm │ fork │ 0 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror $ pm2 logs -lines=100.error: unknown option `-=’
pi@raspberrypi:~/MagicMirror $
-