-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Check storage readiness and show meaningful error message when DB is busy #26011
Comments
same here, v1.20.3 with helm install:
i must wait some time and pods will running
|
Are your Gitea connecting to a read-only replica instance? The answer is: |
Check the logs of one of the posgres-db and restart the pod where you see the error message in the log. this help to solve the issue. |
Thanks, it work , i delete two standby pg to restart them, and login again, no 500 error
|
I also encountered the same problem, and my expectation was to deploy automatically through helm without human intervention |
We close issues that need feedback from the author if there were no new comments for a month. 🍵 |
Feature Description
I've tried to install Gitea with PostgreSQL storage via Helm chart and faced the following problem.
When you try to access Gitea right after it has been installed, some actions will fail with 500 errors because PostgreSQL is doing some replication/recovery.
It would be nice to add some sort of DB readiness check and show a meaningful error explaining that we need to wait for some time until the DB is ready
Example of error in a log file:
Screenshots
No response
The text was updated successfully, but these errors were encountered: