-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
routers/init.go:64:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: Endpoint: does not follow ip address or domain name standards. #32931
Comments
It is a bug, you could try to use |
I don't think it's a bug. [storage]
STORAGE_TYPE = minio
MINIO_ENDPOINT = 192.168.2.5:9010
MINIO_ACCESS_KEY_ID = r3lyxxxxxxqCjRr
MINIO_SECRET_ACCESS_KEY = nEQ9xxxxxxxxiNfGr
MINIO_BUCKET = gitea
MINIO_LOCATION = china-1
MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = true
SERVE_DIRECT = true This is a default storage for all other storage sections, so you don't need to do anything in your other sections. [lfs]
// just leave blank for STORAGE_TYPE If you have multiple storage configurations, one is like below. [storage.my_cfg]
STORAGE_TYPE = minio
MINIO_ENDPOINT = 192.168.2.5:9010
MINIO_ACCESS_KEY_ID = r3lyxxxxxxqCjRr
MINIO_SECRET_ACCESS_KEY = nEQ9xxxxxxxxiNfGr
MINIO_BUCKET = gitea
MINIO_LOCATION = china-1
MINIO_USE_SSL = false
MINIO_INSECURE_SKIP_VERIFY = true
SERVE_DIRECT = true [lfs]
STORAGE_TYPE = my_cfg You can not mix the two usages. But I think the error message should be more friendly. |
I sent https://gitea.com/gitea/docs/pulls/131 to update the related documentations. |
Closed as https://gitea.com/gitea/docs/pulls/131 merged. |
Description
app.ini
And restart gitea server got error log
Gitea Version
gitea/gitea:1.22.6-rootless
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker rootless
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: