Skip to content

upgrade from 2.8.4 to 2.9.0 2.9.5 2.10.0 2.10.3 harbor-core database can not connect #22464

@3c905

Description

@3c905

Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/pkg/reg/adapter/quay/adapter.go:53]: the factory of Quay adapter was registered
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/pkg/reg/adapter/tencentcr/adapter.go:55]: the factory for adapter tencent-tcr registered
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/pkg/reg/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/core/controllers/base.go:159]: Config path: /etc/core/app.conf
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/core/main.go:142]: initializing cache ...
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/core/main.go:161]: initializing configurations...
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/lib/config/systemconfig.go:178]: key path: /etc/core/key
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/lib/config/config.go:92]: init secret store
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/core/main.go:163]: configurations initialization completed
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [INFO] [/common/dao/base.go:67]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Oct 16 10:55:53 172.18.0.1 core[26076]: [ORM]2025/10/16 02:55:53 register db Ping default, failed to connect to host=postgresql user=postgres database=registry: failed SASL auth (FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01))
Oct 16 10:55:53 172.18.0.1 core[26076]: 2025-10-16T02:55:53Z [FATAL] [/core/main.go:184]: failed to initialize database: register db Ping default, failed to connect to host=postgresql user=postgres database=registry: failed SASL auth (FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01))
Oct 16 10:55:53 172.18.0.1 core[26076]: Appending internal tls trust CA to ca-bundle ...
Oct 16 10:55:53 172.18.0.1 core[26076]: find: '/etc/harbor/ssl': No such file or directory
Oct 16 10:55:53 172.18.0.1 core[26076]: Internal tls trust CA appending is Done.

ditail information
Docker version 26.1.3, build b72abbb
docker-compose version 1.25.4, build 8d51620a
centos8 x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions