My Syncloud is currently using an expired TLS certificate stored at /var/snap/platform/current/syncloud.crt. Judging from the logs, when certbot is run automatically it fails because it hits LetsEncrypt’s rate limit for renewals. It seems to have successfully renewed on 2021-11-15 and 2021-11-11 judging from these records. That renewed certificate (from the 15th) is present at /var/snap/platform/common/syncloud.crt. Because certbot is run with --force-renewal it does not respect the rate limit error.
I have already tried:
restarting snap.platform.nginx-public
refreshing the platform snap
rebooting the device
re-activating the device
Misc. info:
System version: 2110221095
Installer version: 210929152
Output of nmap -p 80,443 $mydomain.syncloud.it is:
PORT STATE SERVICE
80/tcp open http
443/tcp open https
Is anybody else encountering this? Thanks in advance.
Also to check if you still have this bug you can run this command and should only print one log setting:
grep common -R /var/snap/platform/current/certbot/renewal
/var/snap/platform/current/certbot/renewal/[domain].syncloud.it.conf:logs_dir = /var/snap/platform/common/log
If it prints more that means we have not manage to fix it for all use cases.
Of it pronts one line most likely you just need to eait for 10 days since the upgrade.
root@syncloud:~# sh /snap/platform/current/bin/migrate_certbot_to_current.sh
/snap/platform/current/bin/migrate_certbot_to_current.sh: 7: /snap/platform/current/bin/migrate_certbot_to_current.sh: [[: not found
/snap/platform/current/bin/migrate_certbot_to_current.sh: 16: /snap/platform/current/bin/migrate_certbot_to_current.sh: [[: not found
Check your /var/snap/platform/common/log/letsencrypt.log and see what is the reason?
Is it rate limit or something else?
Do not paste the log here as it will reveal your domain name.