minio is not working with existing aws s3 bucket #636

Closed
opened 2024-04-03 15:02:28 +00:00 by santhosh · 4 comments
santhosh commented 2024-04-03 15:02:28 +00:00 (Migrated from gitea.com)
# storage:
#   MINIO_ENDPOINT: s3.xxx.amazonaws.com
#   MINIO_LOCATION: us-xxx
#   MINIO_ACCESS_KEY_ID: AKxxxxxxxxxxxxxxxx
#   MINIO_SECRET_ACCESS_KEY: Ixxxxxxxxxxxxxxxxxxxxxxxx
#   MINIO_BUCKET: prod-xxxxx
#   MINIO_USE_SSL: true
#   STORAGE_TYPE: minio

I'm using above value.yaml for s3. Can anyone guide me how to use existing aws s3 bucket for this.

# storage: # MINIO_ENDPOINT: s3.xxx.amazonaws.com # MINIO_LOCATION: us-xxx # MINIO_ACCESS_KEY_ID: AKxxxxxxxxxxxxxxxx # MINIO_SECRET_ACCESS_KEY: Ixxxxxxxxxxxxxxxxxxxxxxxx # MINIO_BUCKET: prod-xxxxx # MINIO_USE_SSL: true # STORAGE_TYPE: minio I'm using above value.yaml for s3. Can anyone guide me how to use existing aws s3 bucket for this.
justusbunsi commented 2024-04-03 15:09:39 +00:00 (Migrated from gitea.com)

Does it produce any error logs in Gitea?

Does it produce any error logs in Gitea?
santhosh commented 2024-04-04 06:36:20 +00:00 (Migrated from gitea.com)

Getting below error

`Defaulted container "gitea" out of: gitea, init-directories (init), init-app-ini (init), configure-gitea (init)
2024/04/03 07:16:38 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 7
2024/04/03 07:16:38 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.7 built with GNU Make 4.4.1, go1.21.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2024/04/03 07:16:38 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2024/04/03 07:16:38 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea
2024/04/03 07:16:38 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /data
2024/04/03 07:16:38 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /data/gitea
2024/04/03 07:16:38 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini
2024/04/03 07:16:38 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server
2024/04/03 07:16:38 routers/init.go:112:InitWebInstalled() [I] Git version: 2.40.1, Wire Protocol Version 2 Enabled (home: /data/home)
2024/04/03 07:16:39 ...les/setting/cache.go:75:loadCacheFrom() [I] Cache Service Enabled
2024/04/03 07:16:39 ...les/setting/cache.go:90:loadCacheFrom() [I] Last Commit Cache Service Enabled
2024/04/03 07:16:39 ...s/setting/session.go:74:loadSessionFrom() [I] Session Service Enabled
2024/04/03 07:16:39 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type: minio
2024/04/03 07:16:39 ...les/storage/minio.go:86:NewMinioStorage() [I] Creating Minio storage at : with base path attachments/
2024/04/03 07:16:39 routers/init.go:60:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: Endpoint: does not follow ip address or domain name standards.

`

Getting below error > `Defaulted container "gitea" out of: gitea, init-directories (init), init-app-ini (init), configure-gitea (init) > 2024/04/03 07:16:38 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 7 > 2024/04/03 07:16:38 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.7 built with GNU Make 4.4.1, go1.21.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify > 2024/04/03 07:16:38 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod > 2024/04/03 07:16:38 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea > 2024/04/03 07:16:38 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /data > 2024/04/03 07:16:38 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /data/gitea > 2024/04/03 07:16:38 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini > 2024/04/03 07:16:38 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server > 2024/04/03 07:16:38 routers/init.go:112:InitWebInstalled() [I] Git version: 2.40.1, Wire Protocol Version 2 Enabled (home: /data/home) > 2024/04/03 07:16:39 ...les/setting/cache.go:75:loadCacheFrom() [I] Cache Service Enabled > 2024/04/03 07:16:39 ...les/setting/cache.go:90:loadCacheFrom() [I] Last Commit Cache Service Enabled > 2024/04/03 07:16:39 ...s/setting/session.go:74:loadSessionFrom() [I] Session Service Enabled > 2024/04/03 07:16:39 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type: minio > 2024/04/03 07:16:39 ...les/storage/minio.go:86:NewMinioStorage() [I] Creating Minio storage at : with base path attachments/ > 2024/04/03 07:16:39 routers/init.go:60:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: Endpoint: does not follow ip address or domain name standards. `
pat-s commented 2024-04-10 16:56:07 +00:00 (Migrated from gitea.com)

This does not look like a helm chart issue to me but a generic configuration issue which should be reported in the forum or the main repo. In the end, we only pass the values along to Gitea itself.

This does not look like a helm chart issue to me but a generic configuration issue which should be reported in the forum or the main repo. In the end, we only pass the values along to Gitea itself.
justusbunsi commented 2024-05-03 18:15:12 +00:00 (Migrated from gitea.com)

This does not look like a helm chart issue to me but a generic configuration issue which should be reported in the forum or the main repo. In the end, we only pass the values along to Gitea itself.

Closing this issue for above reason.

> This does not look like a helm chart issue to me but a generic configuration issue which should be reported in the forum or the main repo. In the end, we only pass the values along to Gitea itself. Closing this issue for above reason.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#636
No description provided.