Read the statement by Michael Teeuw here.
MMM-AQI stopped working
-
@dwburger said in MMM-AQI stopped working:
In recent days, the MMM-AQI module on my MM2 has stopped working.
request still works.
there was a problem with a certificate authority expired cert starting on Friday.
u should see that in your mm messages
2.17.1 had a fix for that problem
-
@sdetweil Thanks so much for the reply! Unfortunately, I only understood the first part. OK…“request” still works. How do I view mm messages? I used your script to update to the latest version earlier. How do I go about determining whether 2.17.1 was installed properly?
-
@dwburger did u say yes to PM2 when u installed MM?
pm2 log --lines=100
or
grep version ~/MagicMirror/package.json
or review the ~/MagicMirror/installers/upgrade.log
-
@sdetweil Yes…I use pm2 to start/stop MM2.
-
@sdetweil said in MMM-AQI stopped working:
pm2 log --lines=100
OK…now I get it. I used:
pm2 log --lines=100
to view the log. Lots of red text having to do with the RTSP MM module. I’ll keep looking for errors having to do with expired certificates. -
@dwburger u can also view the files at
~/.pm2/logs
note the dot in front of pm2
use a good editor, then u can search the files
-
@sdetweil I must have made a mistake when using your script command to upgrade:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
After I backed-up altered files and modules, I used the command:
git pull && npm install
and the MMM-AQI module works again. Thanks for pointing me in the right direction!