Live directory exists for mydomain.com, no certs saved, but no error

I’m having the following error:

letsencrypt_1  | live directory exists for lucaszanella.com

and nothing is being saved there

My domain is: lucaszanella.com

I ran this command: certbot certonly --standalone --non-interactive --agree-tos --email $EMAIL --cert-name $CERT_NAME --domains $DOMAINS

It produced this output:

letsencrypt_1  | Saving debug log to /var/log/letsencrypt/letsencrypt.log
letsencrypt_1  | Plugins selected: Authenticator standalone, Installer None
letsencrypt_1  | Obtaining a new certificate
letsencrypt_1  | Performing the following challenges:
letsencrypt_1  | http-01 challenge for lucaszanella.com
letsencrypt_1  | Waiting for verification...
letsencrypt_1  | Cleaning up challenges
letsencrypt_1  | live directory exists for lucaszanella.com
letsencrypt_1  | IMPORTANT NOTES:
letsencrypt_1  |  - Your account credentials have been saved in your Certbot
letsencrypt_1  |    configuration directory at /etc/letsencrypt. You should make a
letsencrypt_1  |    secure backup of this folder now. This configuration directory will
letsencrypt_1  |    also contain certificates and private keys obtained by Certbot so
letsencrypt_1  |    making regular backups of this folder is ideal.
lucaszanellacom_letsencrypt_1 exited with code 1

My web server is (include version): apache

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

My hosting provider, if applicable, is: digital ocean

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

In the logs, the following python error:

Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.21.1', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1240, in main
    return config.func(config, plugins)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1120, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 118, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 375, in obtain_and_enroll_certificate
    self.config)
  File "/usr/lib/python3/dist-packages/certbot/storage.py", line 1017, in new_lineage
    "live directory exists for " + lineagename)
certbot.errors.CertStorageError: live directory exists for lucaszanella.com

ps: there’s nothing on the folder it says it’s writing to

Can you post “sudo ls -alR /etc/letsencrypt/{archive,live,renewal}”?

Edit: What’s “letsencrypt_1”?

it’s a docker image. I’m mapping /etc/letsencrypt to /letsencrypt on the main host. There’s nothing on /letsencrypt, so that’s why I’m confused

don’t mind, I figured out, I was mapping to the /etc/letsencrypt/lucaszanella_com so it was creating the folder when the docker went up

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