Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

LetsEncrypt renewal killed nginx config

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
locus
Posts: 63
Joined: Thu May 05, 2016 6:43 am

Os: Ubuntu 15x
Web: apache + nginx
LetsEncrypt renewal killed nginx config
  • Quote

Post by locus » Tue Jun 06, 2017 1:31 am

I had a site do an automatic renewal at 3AM this morning, what was unexpected was when it updated the nginx config for that domain it added an extra "}" effectively blocking the nginx process from starting.
Anyone else having this issue?
Top

scorp13
Posts: 6
Joined: Tue Jul 05, 2016 8:48 am

Re: LetsEncrypt renewal killed nginx config
  • Quote

Post by scorp13 » Tue Jun 06, 2017 2:20 pm

Yes, I encountered a similar floating bug. Sometimes in nginx config, sometimes in apache.
At the moment, I just changed time of the LE update script run, to be more ready in case of an error (or at least not to sleep :))
Top

locus
Posts: 63
Joined: Thu May 05, 2016 6:43 am

Os: Ubuntu 15x
Web: apache + nginx
Re: LetsEncrypt renewal killed nginx config
  • Quote

Post by locus » Sat Jun 10, 2017 11:16 pm

Ok, this happened again.
It was an extra closing brace "}" last time, this time a brace was missing.
Doing a web rebuild for this user fixes the issue until a LE renewal takes place.
Top

locus
Posts: 63
Joined: Thu May 05, 2016 6:43 am

Os: Ubuntu 15x
Web: apache + nginx
Re: LetsEncrypt renewal killed nginx config
  • Quote

Post by locus » Fri Jun 23, 2017 7:38 am

Having a new line at the end of every template file helped resolve this for me.
I had been adding a number of new templates to support http2 etc.
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: LetsEncrypt renewal killed nginx config
  • Quote

Post by plutocrat » Wed Jun 28, 2017 4:49 am

I think I'm having a similar problem. I posted details to viewtopic.php?f=11&t=14851

Good idea scorp ... have re-scheduled the cron job.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password