Anyone had this problem? 2024-02-16 11:55:46 {"le...
# support
d
Anyone had this problem? 2024-02-16 115546 {"level":"info","timestamp":"2024-02-16T145546.508Z","caller":"signozschemamigrator/migrate.go:83","msg":"Setting env var SIGNOZ_CLUSTER","component":"migrate cli","cluster-name":"cluster"} 2024-02-16 115546 {"level":"info","timestamp":"2024-02-16T145546.508Z","caller":"signozschemamigrator/migrate.go:100","msg":"Successfully set env var SIGNOZ_CLUSTER ","component":"migrate cli","cluster-name":"cluster"} 2024-02-16 115546 {"level":"info","timestamp":"2024-02-16T145546.513Z","caller":"migrationmanager/manager.go:75","msg":"Running migrations for all migrators","component":"migrationmanager"} 2024-02-16 115546 {"level":"info","timestamp":"2024-02-16T145546.513Z","caller":"migrationmanager/manager.go:77","msg":"Running migrations for logs","component":"migrationmanager","migrator":"logs"} 2024-02-16 115546 {"level":"error","timestamp":"2024-02-16T145546.687Z","caller":"migrationmanager/manager.go:80","msg":"Failed to run migrations for migrator","component":"migrationmanager","migrator":"logs","error":"clickhouse migrate failed to run, error: code: 1001, message: std: 1 fsfilesystemfilesystem error filesystem error: in rename: Permission denied [\"/var/lib/clickhouse/store/28d/28dd6f06-38da-492b-8e5f-10d900e61be8/tmp_insert_all_4_4_0/\"] [\"/var/lib/clickhouse/store/28d/28dd6f06-38da-492b-8e5f-10d900e61be8/all_4_4_0/\"] in line 0: INSERT INTO schema_migrations (version, dirty, sequence) VALUES (1, 1, 1708095346642417900)","stacktrace":"github.com/SigNoz/signoz-otel-collector/migrationmanager.(*MigrationManager).Migrate\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/migrationmanager/manager.go80\nmain.main\n\t/home/runner/work/signoz otel collector/signoz otel collector/cmd/signozschemamigrator/migrate.go108\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.12/x64/src/runtime/proc.go:250"} 2024-02-16 115546 {"level":"fatal","timestamp":"2024-02-16T145546.687Z","caller":"signozschemamigrator/migrate.go:110","msg":"Failed to run migrations","component":"migrate cli","error":"clickhouse migrate failed to run, error: code: 1001, message: std: 1 fsfilesystemfilesystem error filesystem error: in rename: Permission denied [\"/var/lib/clickhouse/store/28d/28dd6f06-38da-492b-8e5f-10d900e61be8/tmp_insert_all_4_4_0/\"] [\"/var/lib/clickhouse/store/28d/28dd6f06-38da-492b-8e5f-10d900e61be8/all_4_4_0/\"] in line 0: INSERT INTO schema_migrations (version, dirty, sequence) VALUES (1, 1, 1708095346642417900)","stacktrace":"main.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozschemamigrator/migrate.go110\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.12/x64/src/runtime/proc.go250"}
s
Please make sure the privileges are appropriate for clickhouse container.
d
i`m using wsl2... So how could i check if the official image had this privileges?
s
It's not really about the image. Are you sure the underlying file system is writable to the clickhouse process?