We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Let's Encrypt certificate update and SSL Home
Let's Encrypt certificate update and SSL Home
First of all, I have to thank you for this amazing control panel: I think it's really a great product.
I'm running version 0.9.8 Rel. 21 and almost everything works flawlessly. I just have a little annoying problem with the Let's Encrypt certificate update.
I use public_shtml as SSL Home and after updating the certificate my site doesn't work anymore. To make it working again, I have to edit the domain configuration and save it (to regenerate the configuration files).
It seems that the problem is related to the configuration file /home/admin/conf/web/<domainname>.httpd.ssl.conf and specifically to the following line:
php_admin_value open_basedir /home/admin/web/<domainname>/public_shtml:/home/admin/tmp
which, after the update is modified to:
php_admin_value open_basedir /home/admin/web/<domainname>/public_html:/home/admin/tmp
Is there any way to fix this problem?
Thx,
mme000
I'm running version 0.9.8 Rel. 21 and almost everything works flawlessly. I just have a little annoying problem with the Let's Encrypt certificate update.
I use public_shtml as SSL Home and after updating the certificate my site doesn't work anymore. To make it working again, I have to edit the domain configuration and save it (to regenerate the configuration files).
It seems that the problem is related to the configuration file /home/admin/conf/web/<domainname>.httpd.ssl.conf and specifically to the following line:
php_admin_value open_basedir /home/admin/web/<domainname>/public_shtml:/home/admin/tmp
which, after the update is modified to:
php_admin_value open_basedir /home/admin/web/<domainname>/public_html:/home/admin/tmp
Is there any way to fix this problem?
Thx,
mme000
Re: Let's Encrypt certificate update and SSL Home
Wow, am I the only one with this problem? :)
Re: Let's Encrypt certificate update and SSL Home
This night my certificate was renewed and, again, this morning the site was not working.
I had to enter the domain configuration, change from "public_shtml" to "public_html" and back to "public_shtml" and now everything works again.
Is there a solution to this annoying problem?
I had to enter the domain configuration, change from "public_shtml" to "public_html" and back to "public_shtml" and now everything works again.
Is there a solution to this annoying problem?
Re: Let's Encrypt certificate update and SSL Home
Just one possible hint. Try to find templates for config files. Maybe you can create your own template where home folder will be only shtml. I did the same for specific case of wordpress + static caching and it's working flawlesly for months now
I can't tell you where exactly to search for templates as i don't have it in my head, but it's easy topic to find on forum / goole it up.
Hope it helps.
I can't tell you where exactly to search for templates as i don't have it in my head, but it's easy topic to find on forum / goole it up.
Hope it helps.
Re: Let's Encrypt certificate update and SSL Home
Thank you for your help.sosojni wrote: ↑Wed Jun 20, 2018 12:58 pmJust one possible hint. Try to find templates for config files. Maybe you can create your own template where home folder will be only shtml. I did the same for specific case of wordpress + static caching and it's working flawlesly for months now
I can't tell you where exactly to search for templates as i don't have it in my head, but it's easy topic to find on forum / goole it up.
Hope it helps.
It wasn't necessary to create a new template, just to fix the old one.
I found that in my installation of Vesta, even if it's updated to the most recent version, the file /usr/local/vesta/data/templates/web/httpd/default.stpl contained the line
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
instead of
php_admin_value open_basedir %sdocroot%:%home%/%user%/tmp
I changed it and everything works fine, now.
I think there is the same problem with basedir.stpl, hosting.stpl, phpcgi.stpl and phpfcgid.stpl in the same directory.