snap does not work anymore on LXC containers (Debian 10)

zorrobiwan

Active Member
Jun 10, 2020
26
4
43
52
I've a couple of containers running Debian 10 and certbot installed via snap

Since a couple of weeks, certbot is not working anymore. Last certificate generation is around December 22nd and it fails to renew (and yes we are the 21st ... 3 months later)

Code:
certbot renew
aa_is_enabled() failed unexpectedly (No such file or directory): No such file or directory

I found a thread on Redit but not so much information
https://www.reddit.com/r/letsencryp..._failed_unexpectedly_no_such_file_or/hz1i9at/

I'll test a workaround to remove snap version of certbot and install pip one but solving this could be useful for anyone else.

Help would be appreciated.

Pascal
 
  • Like
Reactions: Szabi
I've installed it through pip since a couple of days and it's working well too now.

Thx for you reply
 
Merci, @Pierre-Yves !

For Apache2 accordingly:

Code:
snap remove certbot
apt -y install certbot
apt install python3-certbot-apache
[reboot container]
certbot --apache