We are having problems tryin to upgrade Grafana version from 6.5.3 to 7.5.3. We have done a backup from grafana.db from version 6.5.3.
When we try to start grafana v7.5.3 service it always stops at begining of migration with the next error
t=2021-05-24T16:35:58+0200 lvl=eror msg=“Executing migration failed” logger=migrator id=“Add unique index datasource_org_id_uid” error=“UNIQUE constraint failed: data_source.org_id, data_source.uid”
t=2021-05-24T16:35:58+0200 lvl=eror msg=“Exec failed” logger=migrator error=“UNIQUE constraint failed: data_source.org_id, data_source.uid” sql=“CREATE UNIQUE INDEX UQE_data_source_org_id_uid
ON data_source
(org_id
,uid
);”
Any workaround ?
Thanks