Raspbian + Domoticz unable to install certbot

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.

there is no /etc/letscrypt folder ;(

My domain is: dise.ddns.us

I ran this command: sudo certbot certonly --apache

It produced this output:
The following error was encountered:
[Errno 20] Not a directory: '/var/log/letsencrypt/.certbot.lock'
Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.

My web server is (include version):
run on internal domoticz server

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

Debian Buster 10

My hosting provider, if applicable, is: changeip.com

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

If those suggestions did not work you should try upgrading Certbot. That version 0.31 is extremely old. The latest is 2.10.

Using snap is the recommended option and described below. Alternatives also described. Follow the steps closely.

After updating, check version with sudo certbot --version

4 Likes

While outside the scope of what we can assist with here, it may also be worth upgrading the obsolete Debian 10 as well.

5 Likes

Supplemental Head Up: dise.ddns.us and www.dise.ddns.us point to different IPv4 Addresses.

dise.ddns.us -> 185.78.75.194

$ nslookup dise.ddns.us ns1.changeip.org.
Server:         ns1.changeip.org.
Address:        45.79.87.114#53

Name:   dise.ddns.us
Address: 185.78.75.194

www.dise.ddns.us -> 178.37.25.116

$ nslookup www.dise.ddns.us ns1.changeip.org.
Server:         ns1.changeip.org.
Address:        45.79.87.114#53

Name:   www.dise.ddns.us
Address: 178.37.25.116
2 Likes

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