Read the statement by Michael Teeuw here.
Standard module Calendar hangs on events
-
@sdetweil To update the calendar after hanging, I used just a raspberry reboot. Then my friend helped me make a script to reboot only the mirror software itself.
And I connected the button to the GPIO raspberry.
The script is like this - -
@Laz so you are using pm2
-
@sdetweil I set it according to this instruction -
-
@Laz yes, that is my set of scripts…
anyhow, pm2’s job is to keep MM (or any other app it manages) running…
but it also collects the output from those apps…
SO you can use the pm2 command to print out the content it has already saved
pm2 --help
shows you all the things the command can do .pm2 logs
will dump out the info saved
the --lines=nn parameter will control how many lines of output to display… the default is just 15… so you may have to increase the number to get more of the outputpm2 logs --lines=50 or --lines=100
-
@sdetweil Thanks a lot!!!
Not everything is clear (Google translator…;))))))))))))))))
But I will try today or over the weekend to do everything you wrote and show you the results. -
@sdetweil But I am afraid that the log file may not show an error at a particular moment. Because the hanging events of the blue calendar occur chaotically, not every day…
The pink calendar barely freezes in event updates.
I changed the arrangement of these calendars (one above the other), but it didn’t help for the blue calendar. -
@Laz the info, if any, will be in the log
you can also see the files holding the log info
in the ~/.pm2/logs folder (note the . in front of pm2 here)
-
@sdetweil Good afternoon!
I did not succeed in doing everything on your advice.
But I noticed that the blue calendar had not been updated for several days. And I looked at the log file.
It shows that until April 2, two calendars are being updated to 20.56.41. And after 21.01.28, only one calendar began to be updated. And so it was until I overloaded the mirror today.
I attach screenshots from the log file. -
@Laz thanks. that’s the good info. how about the error log? I’m pretty sure there was a timeout error, and once errored, it never recovers.
but you should see the timeout error reported on the error log
-
Good afternoon!
I couldn’t find any calendar related errors.
I can’t insert a txt file here. Changing the extension to a picture also does not go away.