Phpmyadmin not working

Problem Description

I’ve recently upgraded my VM from Debian 10 to Debian 12. Since then (and possibly before also, I can’t be sure) I’m unable to access phpmyadmin. I pass the password prompt, then get a 500 error.

I’ve had a look in the logs in /var/log/apache2, but can’t see anything. Is there anywhere else I should be looking?

Any Error Messages

Browser shows ‘500 internal server error’

Environment

  • Sympl Version: 12.20230609.0
  • Sympl Testing Version: N/A
  • Debian Version: 12.12
  • Hardware Type: MB VM
  • Hosted With: MB

Just noticed the following:

The following packages have been kept back:
  php-phpmyadmin-shapefile php-symfony-config php-symfony-dependency-injection
  php-symfony-expression-language php-symfony-yaml phpmyadmin

Any idea why these would have been kept back? What’s the simplest way of getting them upgraded?

Thanks

Andy

I’d assume you have Symfony installed, and that’a got some dependencies that are preventing PHP updates, meaning you’ll likely have bugs and pieces not updated.

Once you have the Symfony bits sorted out, then you should be okay to redo the upgrades and finish it off.

I didn’t deliberately install Symfony I don’t think, not even sure what it is! If I do apt-mark showmanual then none of the symfony packages show up.

It looks like phpmyadmin depends on some symfony packages, so that’s where it came from…

Andy

I’ve just noticed that I still had bullseye’s backports repository in place. Not sure where that came from.

I’ve removed it, and done an upgrade and it seems to have pulled in all the required packages, and phpmyadmin now works.

Thanks for your help.

Andy

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.