Thanks, but that didn't seem to help:
chi-signoz-clickhouse-cluster-0-0-0.chi-signoz-clickhouse-cluster-0-0.signoz.svc.cluster.local :) DROP TABLE signoz_metrics.schema_migrations
DROP TABLE signoz_metrics.schema_migrations
Query id: f76b3940-d558-4ef0-99eb-4286c4f0fc93
Ok.
0 rows in set. Elapsed: 0.002 sec.
Still getting the same issue:
helm upgrade signoz signoz/signoz --namespace signoz --values values.yaml
coalesce.go:237: warning: skipped value for zookeeper.initContainers: Not a table.
Error: UPGRADE FAILED: pre-upgrade hooks failed: 1 error occurred:
* timed out waiting for the condition
And the pod logs:
{"level":"info","timestamp":"2024-02-14T16:41:47.585Z","caller":"signozschemamigrator/migrate.go:83","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"}
{"level":"info","timestamp":"2024-02-14T16:41:47.586Z","caller":"signozschemamigrator/migrate.go:100","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"}
{"level":"info","timestamp":"2024-02-14T16:41:47.591Z","caller":"migrationmanager/manager.go:75","msg":"Running migrations for all migrators","component":"migrationmanager"}
{"level":"info","timestamp":"2024-02-14T16:41:47.591Z","caller":"migrationmanager/manager.go:77","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"}
{"level":"info","timestamp":"2024-02-14T16:41:47.717Z","caller":"migrationmanager/manager.go:77","msg":"Running migrations for metrics","component":"migrationmanager","migrator":"metrics"}
{"level":"error","timestamp":"2024-02-14T16:41:47.839Z","caller":"migrationmanager/manager.go:80","msg":"Failed to run migrations for migrator","component":"migrationmanager","migrator":"metrics","error":"clickhouse migrate failed to run, error: Dirty database version 7. Fix and force version.","stacktrace":"<http://github.com/SigNoz/signoz-otel-collector/migrationmanager.(*MigrationManager).Migrate|github.com/SigNoz/signoz-otel-collector/migrationmanager.(*MigrationManager).Migrate>\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/migrationmanager/manager.go:80\nmain.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozschemamigrator/migrate.go:108\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/proc.go:250"}
{"level":"fatal","timestamp":"2024-02-14T16:41:47.839Z","caller":"signozschemamigrator/migrate.go:110","msg":"Failed to run migrations","component":"migrate cli","error":"clickhouse migrate failed to run, error: Dirty database version 7. Fix and force version.","stacktrace":"main.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozschemamigrator/migrate.go:110\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.14/x64/src/runtime/proc.go:250"}