Hello i have a question. I found problem with renew of my lets encrypt. In apache log i fouind that should be maybe because python version. I can see warn [Sun Oct 11 00:00:03.848239 2020] [:error] [pid 902] python_init: Python version mismatch, expected '2.7.5+', found '2.7.16'. but i am not sure how can i update to new version? I tried apt get update and upgrade, upgrade was a lot of things, but python not.
I don't think that the python version message is related to your problem. Especially as 2.7.16 is newer than 2.7.5, so the rule that the installed python version must be newer than 2.7.5 is matched.
Maybe, i think there is new version python 3. But probably have to remove 2 and install 3. In all case before i have no problem with renew lets encrypt. Now lets encrypt expires on 20.11.2020, and for second domain 31.10. I guess that in this time should be both renew. I tried to run manually sudo certbot renew --dry-run All looks fine and in terminal i can see begin certificate and that it was renew, but files not changed and expires date is still same.
This helps you find why LE does not work: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/ And I agree with @till , do not touch python version. If you remove Python2 your system stops working.
I see the same error on a new web and db server (setup monday this week) with actual patches and actual ISPConfig 3.2.7p1 but letsencyrpt (ACME) works fine