Update letsencrypt script breaks the server configuration.

Debian/Ubuntu related topics
discripter
Posts: 1
Joined: Mon Jun 19, 2017 9:08 am

Update letsencrypt script breaks the server configuration.

Postby discripter » Mon Jun 19, 2017 9:20 am

After installing letsencrypt certificates on my domains in the Vestapanel, I noticed that that the server periodically breaks down.
I checked the configs:

Code: Select all

/home/admin/conf/web/sapache2.conf

and

Code: Select all

/home/admin/conf/web/snginx.conf

and they are broken after each start of the script

Code: Select all

/usr/local/vesta/bin/v-update-letsencrypt-desl

by the cron.

The breakdown of the sapache2.conf is to remove the string

Code: Select all

<VirtualHost 185.25.117. ***: 8443>

in the configuration of one of the my domains.


The failure of nginx.conf occurs because of the duplication string of one of my domains like:

Code: Select all

server {

server {


How to fix the letsencrypt auto-update script of the vestapanel?

ScIT
Posts: 224
Joined: Mon Feb 23, 2015 4:13 pm

Re: Update letsencrypt script breaks the server configuration.

Postby ScIT » Fri Jun 23, 2017 8:48 am

Try to rebuild your user (v-rebuild-user) normaly, this can happen when the user configs are not up to date.


Return to “Debian/Ubuntu”



Who is online

Users browsing this forum: No registered users and 4 guests