why use %docroot% as open_basedir value? why not the …/public_html dir?
we have got sudden site failure recently - somehow hestia apllied the template open_basedir parameter and break our laravel site, which worked good for years
OK
but we have got Laravel site failure with open_basedir profibit public_html out of a sudden, why? today it happened again, one month after previous time, and I finally found it is Hestia problem
I guess if HestiaCP itself breaks our working site - it is a problem with Hestia default behaviour, or what?
OK, thanks
I’ll check this but still I see the problem with HestiaCP if we had long working site which suddenly broken by HestiaCP itself - do you agree?
I’m not sure if it was any HestiaCP update, I’m not familiar with Hestia
btw, I’ve found the origin of apache2.conf change open_basedir value - it is in admin’s cron
13 7 * * * sudo /usr/local/hestia/bin/v-update-sys-hestia-all
So probally you did make manually config changes and then got over written…
; origin-src: deb/templates/web/php-fpm/default.tpl
;#=========================================================================#
;# Default Web Domain Template #
;# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
;# Web Templates and FastCGI/Proxy Cache | Hestia Control Panel #
;#=========================================================================#
so after this manual config change the template was overwritten with an update of default.tpl file,
but the updates are not regular, but from time to time?
@Vasya
You should turn the update function off on production site to avoid self-created surprises and problems. The execute this update function first on testing server. If everything goes well, repeat it on the production server.
Regardless of this, you need to create a new template for that specific account in which you want custon configuration. Then, rebuild the domains and have the new template active.
During the updating, your custom template will remain activated even if the default configuration is overwritten.
Based on above, you are then no longer dependend on changes in the dafult templates and not even updates.