time=2026-02-16T18:07:44.118Z level=INFO source=github.com/kubearchive/kubearchive/cmd/sink/main.go:43 msg="Starting KubeArchive Sink" version=v1.17.2 commit=f6fab714423fc2e77619e0c922f7c35b0b311411 built=2026-01-07T13:50:18Z time=2026-02-16T18:07:44.118Z level=INFO source=github.com/kubearchive/kubearchive/cmd/sink/main.go:44 msg="Establishing database connection for Sink component" time=2026-02-16T18:07:44.118Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:39 msg="Initializing database connection" expected_schema_version=4 time=2026-02-16T18:07:44.118Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:51 msg="Database environment configured" database_type=postgresql host=postgresql.product-kubearchive.svc.cluster.local port=5432 database_name=kubearchive user=kubearchive time=2026-02-16T18:07:44.118Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:60 msg="Initializing registered database" type=postgresql time=2026-02-16T18:07:44.118Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:19 msg="Establishing database connection" time=2026-02-16T18:07:44.217Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:48 msg="Successfully connected to the database" time=2026-02-16T18:07:44.217Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:52 msg="Database connection information" driver=postgres host=postgresql.product-kubearchive.svc.cluster.local port=5432 database=kubearchive user=kubearchive ssl_mode=require time=2026-02-16T18:07:44.217Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:70 msg="Database initialized successfully" time=2026-02-16T18:07:44.217Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:80 msg="Verifying database schema version" time=2026-02-16T18:07:44.312Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:90 msg="Database schema version check" expected_version=4 actual_version=2 time=2026-02-16T18:07:44.312Z level=ERROR source=github.com/kubearchive/kubearchive/pkg/database/database.go:97 msg="Database schema version mismatch" expected_version=4 actual_version=2 time=2026-02-16T18:07:44.312Z level=ERROR source=github.com/kubearchive/kubearchive/cmd/sink/main.go:47 msg="Could not connect to the database" error="expected database schema version '4', found '2'" component=sink_service