goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.

Home Page:https://goharbor.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Harbor with s3 aws

tnubeo1111 opened this issue · comments

Hello everyone, I am currently developing Harbor capabilities with S3 (AWS) but when I submit an image I get an error. Can anyone who has fixed the error guide me?

Screenshot from 2024-05-23 15-39-08

log

May 23 17:00:32 vps-01 registry[970]: time="2024-05-23T10:00:32.730716206Z" level=info msg="authorized request" go.version=go1.21.8 http.request.host=harbor.thanhtha.name.vn http.request.id=5db323a0-7ad3-4780-8f78-2c917ff1b0a1 http.request.method=POST http.request.remoteaddr=61.14.234.55 http.request.uri="/v2/test/nginx/blobs/uploads/" http.request.useragent="docker/24.0.5 go/go1.20.3 git-commit/24.0.5-0ubuntu120.04.1 kernel/5.4.0-177-generic os/linux arch/amd64 UpstreamClient(Docker-Client/24.0.5 (linux))" vars.name="test/nginx"
May 23 17:00:32 vps-01 registry[970]: time="2024-05-23T10:00:32.731547409Z" level=error msg="response completed with error" auth.user.name="harbor_registry_user" err.code=unknown err.detail="filesystem: mkdir /data: permission denied" err.message="unknown error" go.version=go1.21.8 http.request.host=harbor.thanhtha.name.vn http.request.id=5db323a0-7ad3-4780-8f78-2c917ff1b0a1 http.request.method=POST http.request.remoteaddr=61.14.234.55 http.request.uri="/v2/test/nginx/blobs/uploads/" http.request.useragent="docker/24.0.5 go/go1.20.3 git-commit/24.0.5-0ubuntu1
20.04.1 kernel/5.4.0-177-generic os/linux arch/amd64 UpstreamClient(Docker-Client/24.0.5 (linux))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=11.301272ms http.response.status=500 http.response.written=145 vars.name="test/nginx"

I have solved this problem. I would like to close this issue.

Hi, can you share the solution, please?