Heads-up: I'm sure i used the 'standard' process found on many google searches to get my SSL Cert up-and-running on the Raspberry Pi and it's been running fine for a couple of months, however seems like certbot side of things ain't playing the game !
My domain is:rivierafirepits.com
I ran this command: sudo certbot renew --dry-run
It produced this output:
internal error, please report: running "certbot" failed: cannot find installed snap "certbot" at revision 891: missing file /snap/certbot/891/meta/snap.yaml
My web server is (include version):
Apache2
The operating system my web server runs on is (include version):
Debian Buster
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot --version ALSO produces:
internal error, please report: running "certbot" failed: cannot find installed snap "certbot" at revision 891: missing file /snap/certbot/891/meta/snap.yaml
That directory is supposed to automatically get mounted on boot (or on the installation of a snap) from a (squashfs) image (which you'll find in /var/lib/snapd/snaps/).
If the directory is empty, then something is going wrong with that mounting process.
If it's not being mounted even after a reboot, that's not good either. You might be able to find some useful diagnostic information in:
sudo journalctl -u snapd
Without knowing what's going wrong in snapd I can only suggest trying to re-install the snap:
root@pi:~# uname -a
Linux pi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
root@pi:~# dpkg-query -l raspberrypi-kernel
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-============-============-=================================
ii raspberrypi-kernel 1.20210108-1 armhf Raspberry Pi bootloader