Author Topic: Apache does not restart after deleting an user (letsencrypt/subdomains)  (Read 5585 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi all,
First of all, this is my first post on this forum.
Thanks to all contributors in making Centos webpanel a very usefull software.

Suppose you want to delete an user which is configured with subdomains (configured with letsencrypt).

If you reload apache service, it will crash. "Document root not found"

Indeed, a file is loaded but it refers to the Document root deleted.

You will have to edit this file
/usr/local/apache/conf.d/vhosts-ssl-letsencrypt.conf

Then you manually delete all references to the user you deleted.

# vhost_start subdomain.domain.tld
[...]
# vhost_end subdomain.domain.tld

=> dont' forget to save you file  :P

Hop this helps,
Jerome