Corrupted docker images in Artifactory Pro

2019-08-08 14:43发布

We use our on-prem Artifactory Pro ver 4.6.1 as a docker registry. Artifactory is configured to store metadata in mysql DB and binaries on the file system. Some binary content was deleted mistakenly by user ( under artifactory/data/filestore ) while trying to resolve space alerts. Among affected artifacts are a few docker images.

Now we get 500 error while pulling images from artifatory due to corrupted layer. I tried to recover artifacts from repository backups. However I get the same error while pulling recovered artifacts as well.

It looks like recovered docker images are using the same binaries as broken ones. Is this true? Any suggestions on how to recover?

Here is log error.

2018-06-02 16:46:53,772 [http-nio-8081-exec-8] [INFO ] (o.j.r.d.v.r.h.DockerV2LocalRepoHandler:90) - Fetching docker blob 'sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4' from repo 'docker-dev-local'
2018-06-02 16:46:53,788 [http-nio-8081-exec-8] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - Binary provider has no content for '96e379fb98bd1b401c6ee52230c11d38251572cf'
org.artifactory.storage.binstore.exceptions.BinaryNotFoundException: Binary provider has no content for '96e379fb98bd1b401c6ee52230c11d38251572cf'

Thanks in advance for any suggestions!

0条回答
登录 后发表回答