TLS certificates renewal fails

Attempts at automatic or manual renewal of my TLS certificates fail with the error below. Certificate is to expire in 11 days.
Please can anyone tell me what this error means:
An unexpected error occurred: Traceback (most recent call last): File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2698, in get_entry_map ep_map = self._ep_map File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 2669, in getattr raise AttributeError(attr) AttributeError: _ep_map During handling of the above exception, another exception occurred: ValueError: Entry points must be listed in groups Please see the logfile ‘/tmp/tmpnx28_0yu’ for more details.

Prior to installing MiaB, was this server an unmodified Ubuntu Server 18.04?

After installation, have you made any changes or added any packages to the server?

No, the server was an unmodified ubuntu server.
I have, however, resolved the problem by installing certbot via snap.
Thank you.

I wouldn’t consider that to be a valid resolution.

Which version of MiaB are you running?

I’m running the latest version of Miab: v.50

I am on v.48 , and I am getting this error

The TLS (SSL) certificate has a problem: The certificate has expired or is not yet valid. It is valid from 2020-08-17 06:35:52 to 2020-11-15 06:35:52.

Not auto provisions the cert?