Can't install SSL on ubuntu 22.04 - apache2


My domain: pochitacoineth.com

I ran this command: sudo ln -s /snap/bin/certbot /usr/bin/certbot ;
sudo certbot --apache

It gave the following message: look at the screenshot please

I can log into the root shell on my machine (yes or no, or I don't know): Yes , I can!

I use a control panel to manage my site (yes or no, or specify the name and version of the control panel):
WinSCP

My client version (e.g. output certbot --version or certbot-auto --version if you use Certbot): Doesn't install certbot =(

What's the output of:

ls -l /snap/certbot

and

snap list
4 Likes

The issue is probably going to be related to that core20 snap being broken on your server. I'm not sure how that happens but we've seen it on rare occasions before.

Maybe try:

sudo snap remove core20 lxd certbot
sudo snap install --classic certbot
5 Likes

I don't even know what I would do without you, you are the best! Everything is working xD

4 Likes

I'm curious: why remove lxd? Does it have any relationship with Certbot?

3 Likes

The reason to remove lxd is that it depends on core20, and we wouldn't be able to remove/install the broken core20 snap otherwise.

6 Likes

Ah OK, I couldn't find anything that would have given me that info, but I'm also not a snap user so I guess you'd just have to know that somehow :slight_smile:

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.