Error when updating the certificate using certbot

Hi everyone. When i try updating certificate of my site, i got error

Renewal configuration file /etc/letsencrypt/renewal/onlyelma365.rumex.ru.conf is broken.
The error was: expected /etc/letsencrypt/live/onlyelma365.rumex.ru/cert.pem to be a symlink
Skipping.

The message says that the files should be links. But the ls command shows that they are. I can't figure out what the problem might be.

ls /etc/letsencrypt/live/elma-365.rumex.ru/ -l
total 4
-rw-r--r-- 1 root root 692 Apr 24 08:25 README
lrwxrwxrwx 1 root root  41 Jul 24 08:39 cert.pem -> ../../archive/elma-365.rumex.ru/cert2.pem
lrwxrwxrwx 1 root root  42 Jul 24 08:39 chain.pem -> ../../archive/elma-365.rumex.ru/chain2.pem
lrwxrwxrwx 1 root root  46 Jul 24 08:39 fullchain.pem -> ../../archive/elma-365.rumex.ru/fullchain2.pem
lrwxrwxrwx 1 root root  44 Jul 24 08:39 privkey.pem -> ../../archive/elma-365.rumex.ru/privkey2.pem

Snap packages not supported in LXC.

My domain is: elma-365.rumex.ru

I ran this command: certbot -q --dry-run renew

It produced this output:

Renewal configuration file /etc/letsencrypt/renewal/onlyelma365.rumex.ru.conf is broken.
The error was: expected /etc/letsencrypt/live/onlyelma365.rumex.ru/cert.pem to be a symlink
Skipping.
0 renew failure(s), 1 parse failure(s)

My web server is : nginx/1.18.0

The operating system my web server runs on is : Debian/11.7

My hosting provider, if applicable, is: Local on Proxmox LXC

I can login to a root shell on my machine :Yes

I'm using a control panel to manage my site :NO

The version of my client is :certbot 2.6.0

This is a different directory than you've shown below:

onlyelma365.rumex.ru vs. elma-365.rumex.ru.

5 Likes

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