What happened?
There is no way to migrate Grafana 8.5.13 to any of Grafana 9 versions with Postgres backend.
It works if only the database is empty. If it contains data (dashboard, alerts, etc) after updating to grafana 9.0.x () it skipp all migrations. Running versions higher also skips migrations, but also fails to start with errors related to missed relations in the database (e.g. secrets, correlations, etc)
What did you expect to happen?
Update Grafana 8.5.13 to Grafana 9
Did this work before?
Don’t know
How do we reproduce it?
- Run Grafana 8.5.13 with Postgres backend
- Fill with data (dashboards, alerts, datasources, etc)
- Update to Grafana 9
Is the bug inside a dashboard panel?
No response
Environment (with versions)?
Grafana: 8.5.13
OS: docker image
Browser: Chrome
Grafana platform?
Kubernetes
Datasource(s)?
Prometheus, elasticsearch, cloudwatch