Hi,
I'm not getting any results and have been trying for a while. My certbot renew --dry-run is working fine but whenever I use the crontab to automate my renewal it says my account is not found. I don't know why (recently moved to debian 10 to get rid of the depreceated certbot-auto script).
My domain is: applyai.de
I ran this command: From the crontab: /usr/bin/certbot renew --nginx-server-root /etc/nginx --nginx-ctl /usr/sbin/nginx
It produced this output:
2021-04-03 10:46:35,459:INFO:certbot.storage:Attempting to parse the version 0.36.0 renewal configuration file found at /etc/letsencrypt/renewal/applyai.de.conf with version 0.31.0 of Certbot. This might not work.
2021-04-03 10:46:35,461:DEBUG:certbot.storage:Should renew, less than 30 days before certificate expiry 2019-11-03 11:29:31 UTC.
2021-04-03 10:46:35,461:INFO:certbot.renewal:Cert is due for renewal, auto-renewing...
2021-04-03 10:46:35,461:DEBUG:certbot.plugins.selection:Requested authenticator nginx and installer nginx
2021-04-03 10:46:35,608:DEBUG:certbot.plugins.selection:Single candidate plugin: * nginx
Description: Nginx Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx.configurator:NginxConfigurator
Initialized: <certbot_nginx.configurator.NginxConfigurator object at 0x7fc2e9357748>
Prep: True
2021-04-03 10:46:35,608:DEBUG:certbot.plugins.selection:Single candidate plugin: * nginx
Description: Nginx Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: nginx = certbot_nginx.configurator:NginxConfigurator
Initialized: <certbot_nginx.configurator.NginxConfigurator object at 0x7fc2e9357748>
Prep: True
2021-04-03 10:46:35,608:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_nginx.configurator.NginxConfigurator object at 0x7fc2e9357748> and installer <certbot_nginx.configurator.NginxConfigurator object at 0x7fc2e9357748>
2021-04-03 10:46:35,608:INFO:certbot.plugins.selection:Plugins selected: Authenticator nginx, Installer nginx
2021-04-03 10:46:35,609:WARNING:certbot.renewal:Attempting to renew cert (applyai.de) from /etc/letsencrypt/renewal/applyai.de.conf produced an unexpected error: Account at /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/d8afb92217b7f4e5f57ce4d202f5e2a9 does not exist. Skipping.
2021-04-03 10:46:35,609:DEBUG:certbot.renewal:Traceback was:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/certbot/renewal.py", line 452, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1191, in renew_cert
le_client = _init_le_client(config, auth, installer)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 605, in _init_le_client
acc, acme = _determine_account(config)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 509, in _determine_account
acc = account_storage.load(config.account)
File "/usr/lib/python3/dist-packages/certbot/account.py", line 246, in load
return self._load_for_server_path(account_id, self.config.server_path)
File "/usr/lib/python3/dist-packages/certbot/account.py", line 215, in _load_for_server_path
prev_loaded_account = self._load_for_server_path(account_id, prev_server_path)
File "/usr/lib/python3/dist-packages/certbot/account.py", line 226, in _load_for_server_path
"Account at %s does not exist" % account_dir_path)
certbot.errors.AccountNotFound: Account at /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/d8afb92217b7f4e5f57ce4d202f5e2a9 does not exist
My web server is (include version): nginx 1.14.2
The operating system my web server runs on is (include version): Debian 10
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
Any help is appreciated.