Skip to content

[install] "database is locked" during the installationΒ #10427

@cmaluend

Description

@cmaluend

Bug description

I am installing a fresh version of SigNoz in Azure AKS. The pod signoz-0 continues crashing because the "database is locked".

Expected behavior

The pod should be in the state Running

How to reproduce

  1. I use the Helm chart to install SigNoz in my cluster:
helm install signoz signoz/signoz \
   --namespace signoz --create-namespace \
   --wait \
   --timeout 1h \
   -f signoz-values.yaml

Values file:

global:
  clusterName: devops
  cloud: azure
  storageClass: azurefile-csi

signoz:
  env:
    signoz_sqlstore_sqlite_mode: wal # https://github.com/SigNoz/signoz/issues/10087
    signoz_prometheus_active__query__tracker_enabled: false # https://github.com/SigNoz/signoz/issues/6214

clickhouse:
  installCustomStorageClass: false

Version information

  • Signoz version: 0.113.0
  • Browser version: N/A
  • Cloud provider: Azure
  • StoraceClass: azurefile-csi

Additional context

Logs:

{"timestamp":"2026-02-26T00:30:39.111956739Z","level":"INFO","code":{"function":"github.com/SigNoz/signoz/pkg/signoz.New","file":"/home/runner/work/signoz/signoz/pkg/signoz/signoz.go","line":101},"msg":"starting signoz","version":"v0.113.0","variant":"enterprise","commit":"82c54b1","branch":"v0.113.0","go":"go1.24.13","timestamp":"2026-02-25T13:09:11Z"}

{"timestamp":"2026-02-26T00:30:39.112620737Z","level":"INFO","code":{"function":"github.com/SigNoz/signoz/pkg/sqlstore/sqlitesqlstore.New","file":"/home/runner/work/signoz/signoz/pkg/sqlstore/sqlitesqlstore/provider.go","line":55},"msg":"connected to sqlite","logger":"github.com/SigNoz/signoz/pkg/sqlitesqlstore","path":"/var/lib/signoz/signoz.db"}
                                                                                                                         
{"timestamp":"2026-02-26T00:30:39.113406635Z","level":"INFO","code":{"function":"github.com/SigNoz/signoz/pkg/sqlmigrator.(*migrator).Migrate","file":"/home/runner/work/signoz/signoz/pkg/sqlmigrator/migrator.go","line":44},"msg":"starting sqlstore migrations","logger":"github.com/SigNoz/signoz/pkg/sqlmigrator","dialect":"sqlite"}

{"timestamp":"2026-02-26T00:30:48.848206832Z","level":"ERROR","code"Γ‘{"function":"main.runServer","file":"/home/runner/work/signoz/signoz/cmd/enterprise/server.go","line":135},"msg":"failed to create signoz","error":"database is locked (5) (SQLITE_BUSY)"}

{"timestamp":"2026-02-26T00:30:48.848338631Z","level":"ERROR","code":{"function":"github.com/SigNoz/signoz/cmd.Execute","file":"/home/runner/work/signoz/signoz/cmd/root.go","line":30},"msg":"error running command","error":"database is locked (5) (SQLITE_BUSY)"}

Thank you for your bug report – we love squashing them!

Metadata

Metadata

Labels

installIssues with installing SigNozquestionQuestions about using the SigNoz

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions