Run configure hook of "certbot" snap if present (run hook "configure": /var/lib not root-owned 1001:0)

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

help me... I want to get https domain but there is error continuously saying Run configure hook of "certbot" snap if present (run hook "configure": /var/lib not root-owned 1001:0)........

My domain is: senayuri.com

I ran this command: sudo snap install --classic certbot

It produced this output:Run configure hook of "certbot" snap if present (run hook "configure": /var/lib not root-owned 1001:0)

My web server is (include version): nginx latest ver

The operating system my web server runs on is (include version): ubuntu 22.04.3 lts

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):

Hi @veve03, and welcome to the LE community forum :slight_smile:

Please show the output of:
ls -l /var/ | grep lib

3 Likes

image
output is: drwxr-xr-x 46 ubuntu root 4096 Aug 15 01:14 lib
And lib is red

thank you...

It should look like "root root":
image
[ignore the date diff]

1 Like

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