Hello Community,
I’m having troubles starting Grafana oss after an upgrade from 9.5 to 10.2 on RedHat 7.9
The postscript already failed to start the service, and in the log there are the following lines
logger=migrator t=2023-11-02T16:41:11.562312858+01:00 level=error msg=“Executing migration failed” id=“copy correlation v1 to v2” error=“no such column: config” duration=126.263µs
logger=migrator t=2023-11-02T16:41:11.562343522+01:00 level=error msg=“Exec failed” error=“no such column: config” sql=“INSERT INTO correlation
(target_uid
\n, label
\n, description
\n, config
\n, uid
\n, source_uid
) SELECT target_uid
\n, label
\n, description
\n, config
\n, uid
\n, source_uid
FROM correlation_tmp_qwerty
”
logger=migrator t=2023-11-02T16:41:12.114993591+01:00 level=error msg=“Executing migration failed” id=“copy correlation v1 to v2” error=“no such column: config” duration=116.596µs
logger=migrator t=2023-11-02T16:41:12.115024839+01:00 level=error msg=“Exec failed” error=“no such column: config” sql=“INSERT INTO correlation
(uid
\n, source_uid
\n, target_uid
\n, label
\n, description
\n, config
) SELECT uid
\n, source_uid
\n, target_uid
\n, label
\n, description
\n, config
FROM correlation_tmp_qwerty
”
logger=migrator t=2023-11-02T16:41:12.608657424+01:00 level=error msg=“Executing migration failed” id=“copy correlation v1 to v2” error=“no such column: config” duration=114.461µs
logger=migrator t=2023-11-02T16:41:12.608687242+01:00 level=error msg=“Exec failed” error=“no such column: config” sql=“INSERT INTO correlation
(description
\n, config
\n, uid
\n, source_uid
\n, target_uid
\n, label
) SELECT description
\n, config
\n, uid
\n, source_uid
\n, target_uid
\n, label
FROM correlation_tmp_qwerty
”
logger=migrator t=2023-11-02T16:41:13.11222051+01:00 level=error msg=“Executing migration failed” id=“copy correlation v1 to v2” error=“no such column: config” duration=113.648µs
logger=migrator t=2023-11-02T16:41:13.112251884+01:00 level=error msg=“Exec failed” error=“no such column: config” sql=“INSERT INTO correlation
(config
\n, uid
\n, source_uid
\n, target_uid
\n, label
\n, description
) SELECT config
\n, uid
\n, source_uid
\n, target_uid
\n, label
\n, description
FROM correlation_tmp_qwerty
”
logger=migrator t=2023-11-02T16:41:13.613869402+01:00 level=error msg=“Executing migration failed” id=“copy correlation v1 to v2” error=“no such column: config” duration=114.097µs
logger=migrator t=2023-11-02T16:41:13.613898003+01:00 level=error msg=“Exec failed” error=“no such column: config” sql=“INSERT INTO correlation
(target_uid
\n, label
\n, description
\n, config
\n, uid
\n, source_uid
) SELECT target_uid
\n, label
\n, description
\n, config
\n, uid
\n, source_uid
FROM correlation_tmp_qwerty
”
Is there any script that can be run manually to adjust the DB according to the new structure?
I’ve also tried to start the version 10.2 without a DB, and manually adjusting the DB, but it still complains since correlation_tmp_qwerty doesn’t exist even there.
Have you already stumbled on this issue?
Kind regards,