Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

letsencrypt did not complete the auto update (certbot renew) #594

Open
londonuk371 opened this issue Nov 26, 2024 · 0 comments
Open

letsencrypt did not complete the auto update (certbot renew) #594

londonuk371 opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels

Comments

@londonuk371
Copy link

londonuk371 commented Nov 26, 2024

certbot does not complete, command:
certbot renew --force-renewal --nginx

Renewing an existing certificate for mydomain.com and 2 more domains
Failed to renew certificate mydomain.com with error: nginx restart failed:
nginx: [emerg] "server_names_hash_bucket_size" directive is duplicate in /etc/nginx/conf.d/botblocker-nginx-settings.conf:16

So I had to comment this line from file /etc/nginx/conf.d/botblocker-nginx-settings.conf:

#server_names_hash_bucket_size 256;

And added it on file nginx.conf :

http {
...
  server_names_hash_bucket_size 256;
...
}

This is a strange letsencrypt behavior because nginx -t has just non blocking warnings and I can reload / restart nginx without any problem.

Now it's working fine but I am afraid of an update of nginx-ultimate-bad-bot-blocker that would re-add server_names_hash_bucket_size line onto this file /etc/nginx/conf.d/botblocker-nginx-settings.conf.

Ubuntu 22.04

Linux prodiart-ubuntu-uk 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

nginx version: nginx/1.18.0 (Ubuntu)

I also have this warnings but they are non blocking warnings:

nginx -t
nginx: [warn] duplicate network "138.199.57.151", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18972
nginx: [warn] duplicate network "143.244.38.129", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:18988
nginx: [warn] duplicate network "195.181.163.194", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19083
nginx: [warn] duplicate network "5.188.120.15", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19210
nginx: [warn] duplicate network "89.187.173.66", value: "0", old value: "1" in /etc/nginx/conf.d/globalblacklist.conf:19257
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
@londonuk371 londonuk371 changed the title [BUG] (let's encrypt did not complete the auto update) let's encrypt did not complete the auto update Nov 26, 2024
@londonuk371 londonuk371 changed the title let's encrypt did not complete the auto update letsencrypt did not complete the auto update (certbot renew) Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants