SigNoz Docker Setup Error: Otel-Migrator Container Fails
TLDR Diego encounters a persistent error while setting up SigNoz on Docker with WSL concerning file modification times in the otel-migrator container. Srikanth suggests a potential permissions issue.
Oct 30, 2023 (1 month ago)
Diego
09:03 PMI’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!
Nov 01, 2023 (1 month ago)
Srikanth
03:46 AMNov 02, 2023 (1 month ago)
Diego
10:07 PMIt should work right away, right? Here are more details of the error...
{"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":"\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"}
SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Issues with Installing Signoz on Standalone VM with Two Additional Disks
vvpreo is having difficulty installing Signoz on a standalone VM due to an issue with OTEL collector not starting because of migration problems. Ankit and vishal-signoz proposed various solutions, but the issue remained unresolved. They planned a screen-sharing session to resolve it.
Resolving Signoz Query Service Error
Einav encountered an error related to a missing table in the Signoz service which was preventing data visibility in the UI. Srikanth guided them to restart specific components and drop a database table, which resolved the issue.
Troubleshooting Interactive Message Errors on Query-Service
Javier asked how to check query-service logs and shared an error message. Srikanth helped Javier identify the problem and suggested restarting the `clickhouse-setup_otel-collector-1` container. Javier confirmed the solution worked.