Hello,
I was looking over upgrading a harbor v2.1.3 setup to the latest v2.3.2 but after I had a failed direct upgrade (with the database empty) I started doing some more granular upgrade tests with the following results:
v2.1.3 -> v2.1.4 (success) -> v2.2.0 (success) -> v2.2.1 (success) -> v2.2.2 (success) -> v2.2.3 (success) -> v2.3.0 (fail - epmty db) -> v2.3.1 (fail, db still empty)
The old db seems to be somehow hidden due to the upgrade from v9 to v13.
Has anyone experienced this issue during the postgresql upgrade?
I'm using ubuntu 20.04 as the host system if that helps.
I put below the harbor-core log from the upgrade from v2.2.3 to v2.3.0 and v2.3.1 in case it helps.
Sep 3 22:50:58 192.168.208.1 core[740]: Appending internal tls trust CA to ca-bundle ...
Sep 3 22:50:58 192.168.208.1 core[740]: find: /etc/harbor/ssl: No such file or directory
Sep 3 22:50:58 192.168.208.1 core[740]: Internal tls trust CA appending is Done.
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/annotation/parser.go:71]: the annotation parser to parser artifact annotation version v1alpha1 registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cncf.helm.config.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cnab.manifest.v1 registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.index.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.list.v2+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.v1+prettyjws registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.config.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.container.image.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/native/adapter.go:36]: the factory for adapter docker-registry registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/huawei/huawei_adapter.go:27]: the factory of Huawei adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/googlegcr/adapter.go:35]: the factory for adapter google-gcr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/awsecr/adapter.go:42]: the factory for adapter aws-ecr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/aliacr/adapter.go:31]: the factory for adapter ali-acr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/jfrog/adapter.go:47]: the factory of jfrog artifactory adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/quay/adapter.go:55]: the factory of Quay adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/helmhub/adapter.go:30]: the factory for adapter helm-hub registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/gitlab/adapter.go:17]: the factory for adapter gitlab registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/dtr/adapter.go:22]: the factory of dtr adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/artifacthub/adapter.go:30]: the factory for adapter artifact-hub registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/tencentcr/adapter.go:42]: the factory for adapter tencent-tcr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/controllers/base.go:299]: Config path: /etc/core/app.conf
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/main.go:164]: initializing cache ...
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/main.go:171]: initializing configurations...
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/config/config.go:77]: key path: /etc/core/key
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/config/config.go:57]: init secret store
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/main.go:173]: configurations initialization completed
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/common/dao/base.go:65]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/common/dao/base.go:70]: Register database completed
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/common/dao/pgsql.go:127]: Upgrading schema for pgsql ...
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/vendor/github.com/golang-migrate/migrate/v4/migrate.go:765]: 53/u 2.2.3_schema (175.760471ms)
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/migration/migration.go:58]: Abstracting artifact data to DB...
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/migration/migration.go:67]: No need to abstract artifact data. Skip
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/common/config/encrypt/encrypt.go:60]: the path of key used by key provider: /etc/core/key
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:85]: User id: 1 already has its encrypted password.
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/chartserver/cache.go:185]: Enable redis cache for chart caching
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/chartserver/reverse_proxy.go:60]: New chart server traffic proxy with middlewares
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/api/chart_repository.go:618]: API controller for chart repository server is successfully initialized
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:257]: Removing Trivy scanner
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:216]: initializing notification...
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/pkg/notification/notification.go:47]: notification initialization completed
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:235]: Version: v2.2.3, Git commit: 74ecf35
Sep 3 22:50:59 192.168.208.1 core[740]: 2021/09/03 22:50:59.429 #33[1;34m[I]#33[0m [asm_amd64.s:1374] http server Running on http://:8080
Sep 3 22:56:13 192.168.240.1 core[740]: Appending internal tls trust CA to ca-bundle ...
Sep 3 22:56:13 192.168.240.1 core[740]: find: '/etc/harbor/ssl': No such file or directory
Sep 3 22:56:13 192.168.240.1 core[740]: Internal tls trust CA appending is Done.
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/annotation/parser.go:71]: the annotation parser to parser artifact annotation version v1alpha1 registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cncf.helm.config.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cnab.manifest.v1 registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.index.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.list.v2+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.v1+prettyjws registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.config.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.container.image.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/native/adapter.go:36]: the factory for adapter docker-registry registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/huawei/huawei_adapter.go:42]: the factory of Huawei adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/googlegcr/adapter.go:35]: the factory for adapter google-gcr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/awsecr/adapter.go:43]: the factory for adapter aws-ecr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/aliacr/adapter.go:31]: the factory for adapter ali-acr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/jfrog/adapter.go:47]: the factory of jfrog artifactory adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/quay/adapter.go:55]: the factory of Quay adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/helmhub/adapter.go:30]: the factory for adapter helm-hub registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/gitlab/adapter.go:17]: the factory for adapter gitlab registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/dtr/adapter.go:22]: the factory of dtr adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/artifacthub/adapter.go:30]: the factory for adapter artifact-hub registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/tencentcr/adapter.go:42]: the factory for adapter tencent-tcr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/controllers/base.go:157]: Config path: /etc/core/app.conf
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/main.go:162]: initializing cache ...
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/main.go:169]: initializing configurations...
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/lib/config/systemconfig.go:197]: key path: /etc/core/key
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/lib/config/config.go:98]: init secret store
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/main.go:171]: configurations initialization completed
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/common/dao/base.go:65]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/common/dao/base.go:70]: Register database completed
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/common/dao/pgsql.go:127]: Upgrading schema for pgsql ...
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/common/dao/pgsql.go:130]: No change in schema, skip.
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/migration/migration.go:58]: Abstracting artifact data to DB...
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/migration/migration.go:67]: No need to abstract artifact data. Skip
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:83]: User id: 1 already has its encrypted password.
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/chartserver/cache.go:185]: Enable redis cache for chart caching
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/chartserver/reverse_proxy.go:60]: New chart server traffic proxy with middlewares
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/api/chart_repository.go:621]: API controller for chart repository server is successfully initialized
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:258]: Removing Trivy scanner
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:217]: initializing notification...
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/pkg/notification/notification.go:44]: notification initialization completed
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:236]: Version: v2.3.0, Git commit: 047b122
Sep 3 22:56:14 192.168.240.1 core[740]: 2021/09/03 22:56:14.494 #33[1;34m[I]#33[0m [asm_amd64.s:1374] http server Running on http://:8080
Sep 3 22:58:43 192.168.240.1 core[740]: 2021-09-03T22:58:43Z [INFO] [/controller/registry/controller.go:221]: Start regular health check for registries with interval 5m0s
Sep 3 23:06:31 172.19.0.1 core[740]: Appending internal tls trust CA to ca-bundle ...
Sep 3 23:06:31 172.19.0.1 core[740]: find: '/etc/harbor/ssl': No such file or directory
Sep 3 23:06:31 172.19.0.1 core[740]: Internal tls trust CA appending is Done.
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/annotation/parser.go:71]: the annotation parser to parser artifact annotation version v1alpha1 registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cncf.helm.config.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cnab.manifest.v1 registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.index.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.list.v2+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.v1+prettyjws registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.config.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.container.image.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/native/adapter.go:36]: the factory for adapter docker-registry registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/huawei/huawei_adapter.go:42]: the factory of Huawei adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/googlegcr/adapter.go:35]: the factory for adapter google-gcr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/awsecr/adapter.go:43]: the factory for adapter aws-ecr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/aliacr/adapter.go:31]: the factory for adapter ali-acr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/jfrog/adapter.go:47]: the factory of jfrog artifactory adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/quay/adapter.go:55]: the factory of Quay adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/helmhub/adapter.go:30]: the factory for adapter helm-hub registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/gitlab/adapter.go:17]: the factory for adapter gitlab registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/dtr/adapter.go:22]: the factory of dtr adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/artifacthub/adapter.go:30]: the factory for adapter artifact-hub registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/tencentcr/adapter.go:42]: the factory for adapter tencent-tcr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/core/controllers/base.go:157]: Config path: /etc/core/app.conf
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/core/main.go:163]: initializing cache ...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:170]: initializing configurations...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/lib/config/systemconfig.go:197]: key path: /etc/core/key
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/lib/config/config.go:98]: init secret store
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:172]: configurations initialization completed
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/base.go:65]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/base.go:70]: Register database completed
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/pgsql.go:127]: Upgrading schema for pgsql ...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/pgsql.go:130]: No change in schema, skip.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/migration/migration.go:58]: Abstracting artifact data to DB...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/migration/migration.go:67]: No need to abstract artifact data. Skip
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:84]: User id: 1 already has its encrypted password.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/chartserver/cache.go:185]: Enable redis cache for chart caching
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/chartserver/reverse_proxy.go:60]: New chart server traffic proxy with middlewares
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/api/chart_repository.go:621]: API controller for chart repository server is successfully initialized
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:262]: Removing Trivy scanner
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:218]: initializing notification...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/pkg/notification/notification.go:44]: notification initialization completed
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:237]: Version: v2.3.1, Git commit: 1058f33
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:239]: Fix empty subiss for meta info data.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/pkg/oidc/fix.go:23]: Not found any records with empty subiss, good to go.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021/09/03 23:06:32.514 #33[1;34m[I]#33[0m [asm_amd64.s:1374] http server Running on http://:8080
Sep 3 23:08:37 172.19.0.1 core[740]: 2021-09-03T23:08:37Z [INFO] [/controller/registry/controller.go:221]: Start regular health check for registries with interval 5m0s
Hello,
I was looking over upgrading a harbor v2.1.3 setup to the latest v2.3.2 but after I had a failed direct upgrade (with the database empty) I started doing some more granular upgrade tests with the following results:
v2.1.3 -> v2.1.4 (success) -> v2.2.0 (success) -> v2.2.1 (success) -> v2.2.2 (success) -> v2.2.3 (success) -> v2.3.0 (fail - epmty db) -> v2.3.1 (fail, db still empty)
The old db seems to be somehow hidden due to the upgrade from v9 to v13.
Has anyone experienced this issue during the postgresql upgrade?
I'm using ubuntu 20.04 as the host system if that helps.
I put below the harbor-core log from the upgrade from v2.2.3 to v2.3.0 and v2.3.1 in case it helps.
Sep 3 22:50:58 192.168.208.1 core[740]: Appending internal tls trust CA to ca-bundle ...
Sep 3 22:50:58 192.168.208.1 core[740]: find: /etc/harbor/ssl: No such file or directory
Sep 3 22:50:58 192.168.208.1 core[740]: Internal tls trust CA appending is Done.
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/annotation/parser.go:71]: the annotation parser to parser artifact annotation version v1alpha1 registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cncf.helm.config.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cnab.manifest.v1 registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.index.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.list.v2+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.v1+prettyjws registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.config.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.container.image.v1+json registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/native/adapter.go:36]: the factory for adapter docker-registry registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/huawei/huawei_adapter.go:27]: the factory of Huawei adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/googlegcr/adapter.go:35]: the factory for adapter google-gcr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/awsecr/adapter.go:42]: the factory for adapter aws-ecr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/aliacr/adapter.go:31]: the factory for adapter ali-acr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/jfrog/adapter.go:47]: the factory of jfrog artifactory adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/quay/adapter.go:55]: the factory of Quay adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/helmhub/adapter.go:30]: the factory for adapter helm-hub registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/gitlab/adapter.go:17]: the factory for adapter gitlab registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/dtr/adapter.go:22]: the factory of dtr adapter was registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/artifacthub/adapter.go:30]: the factory for adapter artifact-hub registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/tencentcr/adapter.go:42]: the factory for adapter tencent-tcr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/replication/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/controllers/base.go:299]: Config path: /etc/core/app.conf
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/main.go:164]: initializing cache ...
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/main.go:171]: initializing configurations...
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/config/config.go:77]: key path: /etc/core/key
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/config/config.go:57]: init secret store
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/core/main.go:173]: configurations initialization completed
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/common/dao/base.go:65]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/common/dao/base.go:70]: Register database completed
Sep 3 22:50:58 192.168.208.1 core[740]: 2021-09-03T22:50:58Z [INFO] [/common/dao/pgsql.go:127]: Upgrading schema for pgsql ...
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/vendor/github.com/golang-migrate/migrate/v4/migrate.go:765]: 53/u 2.2.3_schema (175.760471ms)
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/migration/migration.go:58]: Abstracting artifact data to DB...
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/migration/migration.go:67]: No need to abstract artifact data. Skip
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/common/config/encrypt/encrypt.go:60]: the path of key used by key provider: /etc/core/key
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:85]: User id: 1 already has its encrypted password.
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/chartserver/cache.go:185]: Enable redis cache for chart caching
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/chartserver/reverse_proxy.go:60]: New chart server traffic proxy with middlewares
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/api/chart_repository.go:618]: API controller for chart repository server is successfully initialized
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:257]: Removing Trivy scanner
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:216]: initializing notification...
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/pkg/notification/notification.go:47]: notification initialization completed
Sep 3 22:50:59 192.168.208.1 core[740]: 2021-09-03T22:50:59Z [INFO] [/core/main.go:235]: Version: v2.2.3, Git commit: 74ecf35
Sep 3 22:50:59 192.168.208.1 core[740]: 2021/09/03 22:50:59.429 #33[1;34m[I]#33[0m [asm_amd64.s:1374] http server Running on http://:8080
Sep 3 22:56:13 192.168.240.1 core[740]: Appending internal tls trust CA to ca-bundle ...
Sep 3 22:56:13 192.168.240.1 core[740]: find: '/etc/harbor/ssl': No such file or directory
Sep 3 22:56:13 192.168.240.1 core[740]: Internal tls trust CA appending is Done.
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/annotation/parser.go:71]: the annotation parser to parser artifact annotation version v1alpha1 registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cncf.helm.config.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cnab.manifest.v1 registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.index.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.list.v2+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.v1+prettyjws registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.config.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.container.image.v1+json registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/native/adapter.go:36]: the factory for adapter docker-registry registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/huawei/huawei_adapter.go:42]: the factory of Huawei adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/googlegcr/adapter.go:35]: the factory for adapter google-gcr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/awsecr/adapter.go:43]: the factory for adapter aws-ecr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/aliacr/adapter.go:31]: the factory for adapter ali-acr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/jfrog/adapter.go:47]: the factory of jfrog artifactory adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/quay/adapter.go:55]: the factory of Quay adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/helmhub/adapter.go:30]: the factory for adapter helm-hub registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/gitlab/adapter.go:17]: the factory for adapter gitlab registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/dtr/adapter.go:22]: the factory of dtr adapter was registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/artifacthub/adapter.go:30]: the factory for adapter artifact-hub registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/tencentcr/adapter.go:42]: the factory for adapter tencent-tcr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/pkg/reg/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/controllers/base.go:157]: Config path: /etc/core/app.conf
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/main.go:162]: initializing cache ...
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/main.go:169]: initializing configurations...
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/lib/config/systemconfig.go:197]: key path: /etc/core/key
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/lib/config/config.go:98]: init secret store
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/core/main.go:171]: configurations initialization completed
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/common/dao/base.go:65]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Sep 3 22:56:13 192.168.240.1 core[740]: 2021-09-03T22:56:13Z [INFO] [/common/dao/base.go:70]: Register database completed
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/common/dao/pgsql.go:127]: Upgrading schema for pgsql ...
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/common/dao/pgsql.go:130]: No change in schema, skip.
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/migration/migration.go:58]: Abstracting artifact data to DB...
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/migration/migration.go:67]: No need to abstract artifact data. Skip
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:83]: User id: 1 already has its encrypted password.
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/chartserver/cache.go:185]: Enable redis cache for chart caching
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/chartserver/reverse_proxy.go:60]: New chart server traffic proxy with middlewares
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/api/chart_repository.go:621]: API controller for chart repository server is successfully initialized
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:258]: Removing Trivy scanner
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:217]: initializing notification...
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/pkg/notification/notification.go:44]: notification initialization completed
Sep 3 22:56:14 192.168.240.1 core[740]: 2021-09-03T22:56:14Z [INFO] [/core/main.go:236]: Version: v2.3.0, Git commit: 047b122
Sep 3 22:56:14 192.168.240.1 core[740]: 2021/09/03 22:56:14.494 #33[1;34m[I]#33[0m [asm_amd64.s:1374] http server Running on http://:8080
Sep 3 22:58:43 192.168.240.1 core[740]: 2021-09-03T22:58:43Z [INFO] [/controller/registry/controller.go:221]: Start regular health check for registries with interval 5m0s
Sep 3 23:06:31 172.19.0.1 core[740]: Appending internal tls trust CA to ca-bundle ...
Sep 3 23:06:31 172.19.0.1 core[740]: find: '/etc/harbor/ssl': No such file or directory
Sep 3 23:06:31 172.19.0.1 core[740]: Internal tls trust CA appending is Done.
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/annotation/parser.go:71]: the annotation parser to parser artifact annotation version v1alpha1 registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cncf.helm.config.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.cnab.manifest.v1 registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.index.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.list.v2+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.distribution.manifest.v1+prettyjws registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.oci.image.config.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/controller/artifact/processor/processor.go:59]: the processor to process media type application/vnd.docker.container.image.v1+json registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/native/adapter.go:36]: the factory for adapter docker-registry registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/harbor/adaper.go:31]: the factory for adapter harbor registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/huawei/huawei_adapter.go:42]: the factory of Huawei adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/googlegcr/adapter.go:35]: the factory for adapter google-gcr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/awsecr/adapter.go:43]: the factory for adapter aws-ecr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/aliacr/adapter.go:31]: the factory for adapter ali-acr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/jfrog/adapter.go:47]: the factory of jfrog artifactory adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/quay/adapter.go:55]: the factory of Quay adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/helmhub/adapter.go:30]: the factory for adapter helm-hub registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/gitlab/adapter.go:17]: the factory for adapter gitlab registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/dtr/adapter.go:22]: the factory of dtr adapter was registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/artifacthub/adapter.go:30]: the factory for adapter artifact-hub registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/tencentcr/adapter.go:42]: the factory for adapter tencent-tcr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/pkg/reg/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/core/controllers/base.go:157]: Config path: /etc/core/app.conf
Sep 3 23:06:31 172.19.0.1 core[740]: 2021-09-03T23:06:31Z [INFO] [/core/main.go:163]: initializing cache ...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:170]: initializing configurations...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/lib/config/systemconfig.go:197]: key path: /etc/core/key
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/lib/config/config.go:98]: init secret store
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:172]: configurations initialization completed
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/base.go:65]: Registering database: type-PostgreSQL host-postgresql port-5432 database-registry sslmode-"disable"
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/base.go:70]: Register database completed
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/pgsql.go:127]: Upgrading schema for pgsql ...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/common/dao/pgsql.go:130]: No change in schema, skip.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/migration/migration.go:58]: Abstracting artifact data to DB...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/migration/migration.go:67]: No need to abstract artifact data. Skip
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:84]: User id: 1 already has its encrypted password.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/chartserver/cache.go:185]: Enable redis cache for chart caching
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/chartserver/reverse_proxy.go:60]: New chart server traffic proxy with middlewares
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/api/chart_repository.go:621]: API controller for chart repository server is successfully initialized
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:262]: Removing Trivy scanner
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:218]: initializing notification...
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/pkg/notification/notification.go:44]: notification initialization completed
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:237]: Version: v2.3.1, Git commit: 1058f33
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/core/main.go:239]: Fix empty subiss for meta info data.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021-09-03T23:06:32Z [INFO] [/pkg/oidc/fix.go:23]: Not found any records with empty subiss, good to go.
Sep 3 23:06:32 172.19.0.1 core[740]: 2021/09/03 23:06:32.514 #33[1;34m[I]#33[0m [asm_amd64.s:1374] http server Running on http://:8080
Sep 3 23:08:37 172.19.0.1 core[740]: 2021-09-03T23:08:37Z [INFO] [/controller/registry/controller.go:221]: Start regular health check for registries with interval 5m0s