Hi everyone, I’m trying to set up SigNoz on Docker...
# support
d
Hi everyone, I’m trying to set up SigNoz on Docker with WSL, but I’m stuck because the
otel-migrator
container keeps failing. It gives me an error about not being able to set the modification time for a file in ClickHouse. Error message:
error: code: 481, message: Cannot set modification time for file: /var/lib/clickhouse/store/... , errno: 1, strerror: Operation not permitted
Has anyone seen this before or have any advice? I’ve tried restarting everything but no luck. Thanks a lot!
s
This is probably a file system permission issue. Please make sure the permissions are set correct.
d
I haven’t made any adjustments to the docker-compose.yaml... It should work right away, right? Here are more details of the error...
Copy code
{"level":"error","timestamp":"2023-11-02T22:02:28.357Z","caller":"migrationmanager/manager.go:80","msg":"Failed to run migrations for migrator","component":"migrationmanager","migrator":"logs","error":"clickhouse migrate failed to run, error: code: 481, message: Cannot set modification time for file: /var/lib/clickhouse/store/294/29474b2c-ccd2-4c01-b8e7-48e297bc1cc3/tmp_insert_all_4_4_0/, errno: 1, strerror: Operation not permitted in line 0: INSERT INTO schema_migrations (version, dirty, sequence) VALUES (1, 1, 1698962548322669100)","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.10/x64/src/runtime/proc.go:250"}
{"level":"fatal","timestamp":"2023-11-02T22:02:28.357Z","caller":"signozschemamigrator/migrate.go:110","msg":"Failed to run migrations","component":"migrate cli","error":"clickhouse migrate failed to run, error: code: 481, message: Cannot set modification time for file: /var/lib/clickhouse/store/294/29474b2c-ccd2-4c01-b8e7-48e297bc1cc3/tmp_insert_all_4_4_0/, errno: 1, strerror: Operation not permitted in line 0: INSERT INTO schema_migrations (version, dirty, sequence) VALUES (1, 1, 1698962548322669100)","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.10/x64/src/runtime/proc.go:250"}