Grafana Crash after Postgres Upgrade

  • What Grafana version and what operating system are you using?

  • I am using Grafana 10 deployed via Helm charts on K8. I have Postgres as DB backend for my configuration.

  • What are you trying to achieve?

  • Upgrade Postgres(RDS) from 14.x to 15.x

  • How are you trying to achieve it?

  • What happened?

  • After upgrading Postgres to 15 Grafana is unable to connect to the Database with the following error:
    " msg=“alert migration failure: could not get migration log” error=“failed to check table existence: pq: no pg_hba.conf entry for host
    Is this a known problem?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

the issue is most ptobably on the database side and not grafana

see this