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

zorrobiwan

Member
Jun 10, 2020
25
3
8
51
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!