Let's Encrypt - Certificate is past due but webui updater says its not

I’m having issues with Let’s Encrypt. A couple of weeks ago I was getting emails saying that my certificate was due to expire on April the 6th. But when I checked the LetsEncrypt in the WebUI it tried to update and I got the message that the cert was not yet due for renewal and that it was keeping the existing certificate. At the time I thought maybe it was a false alarm and didn’t think anything of it. Today I can no longer access my nextcloudpi because the certificate is past due and even now when I try the LetsEncrypt from the WebUI I receive the same message:

[ letsencrypt ]
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Cert not yet due for renewal
Keeping the existing certificate

Certificate not yet due for renewal; no action taken.

I’ve also checked and my Certbot is up to date as well.

Does anyone have any tips? Is there a way to force a renewal?

Thank you,

I apologize, I just noticed there is another thread exactly with this issue. What resolved it was to rename the etc\letsencrypt\archive , live and renewal folders then re-run the WebUI Letsencrypt.

Yes, that has been reported to fix the issue.

cd /etc/letsencrypt/
mv archive archive_old
mv renewal renewal_old
mv live live_old

then use ncp-config or ncp-web to run letsencrypt to get a new certificate