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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:onebeautyworld.com
I ran this command:certbot certonly --nginx -d onebeautyworld.com,www.onebeautyworld.com --http-01-port 8080
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for onebeautyworld.com
http-01 challenge for www.onebeautyworld.com
nginx: [error] invalid PID number ââ in â/run/nginx.pidâ
Cleaning up challenges
nginx: [error] invalid PID number ââ in â/run/nginx.pidâ
Encountered exception during recovery:
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/certbot/auth_handler.pyâ, line 75, in handle_authorizations
resp = self._solve_challenges(aauthzrs)
File â/usr/lib/python3/dist-packages/certbot/auth_handler.pyâ, line 139, in _solve_challenges
resp = self.auth.perform(all_achalls)
File â/usr/lib/python3/dist-packages/certbot_nginx/configurator.pyâ, line 1071, in perform
self.restart()
File â/usr/lib/python3/dist-packages/certbot_nginx/configurator.pyâ, line 881, in restart
nginx_restart(self.conf(âctlâ), self.nginx_conf)
File â/usr/lib/python3/dist-packages/certbot_nginx/configurator.pyâ, line 1141, in nginx_restart
ânginx restart failed:\n%s\n%sâ % (out.read(), err.read()))
certbot.errors.MisconfigurationError: nginx restart failed:
bââ
bââ
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/usr/lib/python3/dist-packages/certbot/error_handler.pyâ, line 108, in _call_registered
self.funcs-1
File â/usr/lib/python3/dist-packages/certbot/auth_handler.pyâ, line 323, in _cleanup_challenges
self.auth.cleanup(achalls)
File â/usr/lib/python3/dist-packages/certbot_nginx/configurator.pyâ, line 1090, in cleanup
self.restart()
File â/usr/lib/python3/dist-packages/certbot_nginx/configurator.pyâ, line 881, in restart
nginx_restart(self.conf(âctlâ), self.nginx_conf)
File â/usr/lib/python3/dist-packages/certbot_nginx/configurator.pyâ, line 1141, in nginx_restart
ânginx restart failed:\n%s\n%sâ % (out.read(), err.read()))
certbot.errors.MisconfigurationError: nginx restart failed:
bââ
bââ
nginx restart failed:
bââ
bââ
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: AWS
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): 0.31.0