PhpMyAdmin: Page not found - Error 404

Hello,

I installed Hestia (on Debian 12) yesterday and I like it very much.
The only thing I had to deactivate was the supplied SSL, as I use Sophos (reverse proxy) for this. Otherwise the installation is fresh

However, what really gives me a headache is the phpmyadmin.

As you can see on the screenshot, the panel, unlike phpmyadmin, is easily accessible via my domain.

I have already read some forum posts, but could not find a suitable solution for me - can you please help me? :star_struck:

This should help: Hestia DB phpMyAdmin page not found - #2 by eris

On a separate note, docs here: Database & phpMyAdmin SSO | Hestia Control Panel

Do you mean “https:// cp.DOMAIN .de:8083/phpmyadmin”?

My reverse proxy redirects “cp.domain .de” to port 8083 in order to access the panel, which of course works.

So it does not work to set port 8083 behind the domain enerut.

I know this site, but have not yet been able to find out how it can help me :confused:

Hestia uses two Nginx instances, one to serve the control panel on port 8083 (or any custom port you choose) and another to serve your websites on ports 80 and 443. phpMyAdmin only works on the instance serving your sites (ports 80 and 443), for example, at https://cp.example.net/phpmyadmin/. So, if you redirect/proxy cp.example.net to cp.example.net:8083, phpMyAdmin will not work.

2 Likes

Many thanks for the hint…That really makes sense. :hugs:

As a test, I created another domain and lo and behold, something else happens.
However, this doesn’t look quite right either, how can I fix it?

1 Like

Show the output of these commands:

Note: if all is ok the second command should return no output.

ls -la /etc/phpmyadmin/
dpkg -l | grep phpmyadmin
1 Like

Hope, this helps :innocent:

chown -R root:hestiamail /etc/phpmyadmin
chown hestiamail:hestiamail /usr/share/phpmyadmin/tmp/
1 Like

Thank you very much for your great help, it works
:partying_face: :partying_face: :partying_face:

Now I just have to manage to reach pma via the main domain :stuck_out_tongue:

1 Like