After the last hestia update, I can no longer access PHPMyAdmin
I installed Hestiacp in its latest version and at first glance everything works fine but when I try to work with Phpmyadmin a screen appears with an error Existing configuration file (/etc/phpmyadmin/config.inc.php) is not readable.
root@panel:~# grep -r hestiamail /etc/php/
/etc/php/5.6/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/5.6/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/5.6/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/7.4/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/7.4/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/7.4/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/7.3/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/7.3/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/7.3/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/7.1/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/7.1/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/7.1/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/7.2/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/7.2/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/7.2/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/8.1/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.1/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/8.1/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/8.2/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.2/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/8.2/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/8.2/fpm/pool.d/www.conf:;"hestiamail" user created to prevent users fro m abusing this config
/etc/php/8.2/fpm/pool.d/www.conf:user = hestiamail
/etc/php/8.0/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.0/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/8.0/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/7.0/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/7.0/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/7.0/fpm/pool.d/dummy.conf:user = hestiamail
/etc/php/8.3/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.3/fpm/pool.d/dummy.conf:;"hestiamail" user created to prevent users f rom abusing this config
/etc/php/8.3/fpm/pool.d/dummy.conf:user = hestiamail
root@panel:~# ls -ld /usr/share/phpmyadmin/tmp/
drwxrwx--- 2 root hestiamail 4096 Nov 28 18:50 /usr/share/phpmyadmin/tmp/
Hi there, Ive attempted to use this fix for my isntall however it did not work.
I ran all the commands you mentioned previouslyand got the following:
cameron@hcp:~$ ls -la /etc/phpmyadmin/
total 24
drwxr-xr-x 3 root hestiamail 4096 Dec 13 07:10 .
drwxr-xr-x 119 root root 12288 Jan 29 04:32 …
drwxr-x— 2 root hestiamail 4096 Dec 13 07:10 conf.d
-rw-r----- 1 root hestiamail 980 Dec 13 07:10 config.inc.php
cameron@hcp:~$ grep hestiamail /etc/{passwd,group}
/etc/passwd:hestiamail:x:1002:1003:[email protected]:/home/hestiamail:/bin/sh
/etc/group:hestiamail:x:1003:
cameron@hcp:~$ grep -r hestiamail /etc/php/
/etc/php/8.2/fpm/pool.d/www.conf:;“hestiamail” user created to prevent users from abusing this config
/etc/php/8.2/fpm/pool.d/www.conf:user = hestiamail
/etc/php/8.2/fpm/pool.d/dummy.conf:listen.owner = hestiamail
/etc/php/8.2/fpm/pool.d/dummy.conf:;“hestiamail” user created to prevent users from abusing this config
/etc/php/8.2/fpm/pool.d/dummy.conf:user = hestiamail
cameron@hcp:~$ ls -ld /usr/share/phpmyadmin/tmp/
drwxrwx— 2 root hestiamail 4096 Dec 13 07:10 /usr/share/phpmyadmin/tmp/
cameron@hcp:~$ ls -ld /var/lib/roundcube/
drwxr-xr-x 11 root hestiamail 4096 Dec 13 07:11 /var/lib/roundcube/
and when i ran your suggested fix it returned this:
cameron@hcp:~$ chown -R root:www-data /etc/phpmyadmin/
chown: changing ownership of ‘/etc/phpmyadmin/config.inc.php’: Operation not permitted
chown: cannot read directory ‘/etc/phpmyadmin/conf.d’: Permission denied
chown: changing ownership of ‘/etc/phpmyadmin/’: Operation not permitted