Not sure why certbot didn't auto-renew, not sure why it can't renew manually.
nginx is stopped when I run the below command.
At first, my DNS was missing a v6 address, which is now fixed.
Not sure if this matters, but i'm using Tor Project's Onion Location Header: Tor Project | Onion-Location for upgrading Tor Browser users to my clear-text (port 80) onion address.
My domain is:
I ran this command:
$ sudo certbot renew --force-renewal -v
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/yawnbox.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate for yawnbox.com
Performing the following challenges:
http-01 challenge for yawnbox.com
Cleaning up challenges
Encountered exception during recovery: certbot.errors.MisconfigurationError: nginx restart failed:
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] still could not bind()
Failed to renew certificate yawnbox.com with error: nginx restart failed:
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [2620:18c:1:128::154]:443 failed (98: Address already in use)
nginx: [emerg] bind() to 103.232.206.154:443 failed (98: Address already in use)
nginx: [emerg] bind() to unix:/var/run/tor-hs-my-website.sock failed (98: Address already in use)
nginx: [emerg] still could not bind()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/yawnbox.com/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
- nginx/1.21.0
The operating system my web server runs on is (include version):
- Ubuntu 20.04.2 LTS
My hosting provider, if applicable, is:
- Self-hosted
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:
- certbot 1.16.0
Thank you,
-yawnbox