Read the statement by Michael Teeuw here.
config.js for MMM-WeatherChart
-
@johndeluxe is pm2 starting the correct script?
pm2 status
to get the name/numberpm2 info x
where x is the name or numberpart of the output
| status │ stopped │ │ name │ MagicMirror │ │ namespace │ default │ │ version │ 2.23.0 │ │ restarts │ 27 │ │ uptime │ 0 │ │ script path │ /home/sam/MagicMirror/installers/mm.sh │
then
pm2 stop all pm2 flush pm2 start x
and then
pm2 logs --lines=????
the default for ??? is 15
-
That helped for diagnosis, partially! Correct script was executed, and log --lines showed 15. But it also throws some errors like shown here (SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox., which you also solved :-) ): https://forum.magicmirror.builders/topic/17122/sharedimagemanager-produceskia-trying-to-produce-a-skia-representation-from-a-non-existent-mailbox/2
So when disabling the gpu I can now see the graph also on the direct screen, but not the images (clouds etc.).
Gettings there…Thank you very much until here Sam! -
BTW, this is my uname -a:
Linux raspberrypi3b 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
-
So I figured out that everything is working after pm2 restart. So first attempt after boot always has some issues, but after restart it is fine.
Thanks all for oyur help! -
@johndeluxe pm2 flush will empty the log
then reboot
the log will be just for that first start…
let’s see what’s in there
pm2 logs --lines=50