time=2026-04-23T11:36:02.064Z level=INFO source=github.com/kubearchive/kubearchive/cmd/api/main.go:116 msg="Starting KubeArchive API" version=v1.21.3 commit=226bfb8797e3716d554f0b3f779cfa030e89b7f8 built=2026-03-27T15:54:19Z time=2026-04-23T11:36:02.064Z level=INFO source=github.com/kubearchive/kubearchive/cmd/api/main.go:123 msg="Establishing database connection for API server" time=2026-04-23T11:36:02.064Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:49 msg="Initializing database connection" time=2026-04-23T11:36:02.064Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:59 msg="Database environment configured" database_type=postgresql host=postgresql.product-kubearchive.svc.cluster.local port=5432 database_name=kubearchive user=kubearchive time=2026-04-23T11:36:02.064Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:68 msg="Initializing registered database" type=postgresql time=2026-04-23T11:36:02.064Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:19 msg="Establishing database connection" time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:47 msg="Successfully connected to the database" time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:51 msg="Database connection information" driver=postgres host=postgresql.product-kubearchive.svc.cluster.local port=5432 database=kubearchive user=kubearchive ssl_mode=require time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:78 msg="Database initialized successfully" time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:88 msg="Verifying database schema version" time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:115 msg="Database schema version check" min_version=10 max_version=13 actual_version=13 time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:131 msg="Database connection fully established" type=postgresql schema_version=13 status=ready time=2026-04-23T11:36:02.079Z level=INFO source=github.com/kubearchive/kubearchive/cmd/api/main.go:132 msg="Database connection established successfully" component=api_server time=2026-04-23T12:22:34.813Z level=ERROR source=github.com/kubearchive/kubearchive/pkg/abort/abort.go:13 msg="there was a problem" error="driver: bad connection" code=503 trace-id=dcf31b7884d2f6958f78ae1cede055ef span-id=450ef5b47de0bdbb time=2026-04-23T12:22:44.819Z level=ERROR source=github.com/kubearchive/kubearchive/pkg/abort/abort.go:13 msg="there was a problem" error="dial tcp 172.30.176.41:5432: connect: connection refused" code=503 trace-id=a3c32e48ab45825ac7044a6528c3b3e6 span-id=e9100c921a65bf68