I have Hestia v1.3.3 installed, this morning I did an update and since then I can’t access one of three websites.
I have checked apache2 and nginx status, both running without issues.
The error I am getting is open_basedir restriction in effect:
open_basedir restriction in effect. File(/home/xtvcz/web/xtv.cz/public_html/vendor/autoload.php) is not within the allowed path(s): (/home/xtvcz/web/xtv.cz/public_html/public:/home/xtvcz/web/xtv.cz/public_shtml:/home/xtvcz/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/phppgadmin:/etc/roundcube:/var/lib/roundcube:/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt)
For a file that is definitely within allowed paths.
My custom (s)tpl file is configured as follows:
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/home/%user%/web/%domain%/public_html:/home/xtvcz/hddarchiv:/home/xtvdata/web/moneys.xtv.cz/public_html
Resulting configuration file in /etc/php/7.4/fpm/pool.d/xtv.cz.conf:
php_admin_value[open_basedir] = /home/xtvcz/web/xtv.cz/public_html/:/home/xtvcz/hddarchiv:/home/xtvcz/web/xtv.cz/public_shtml:/home/xtvcz/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/phppgadmin:/etc/roundcube:/v>
It looks like my template file is not somehow registered by php-fpm/apache?
I have tried rebuilding domain from admin panel and rebuilding user with
But with no luck.
Is there any other path these template files are being compiled to?
Another thing is I have other domain dev.xtv.cz, that uses the same configuration templates, and is working correctly.
Thank you for any help.