-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
docs(self-hosted): Update troubleshooting Docker healthcheck (clarify unhealthy container troubleshooting on slower systems) #17149
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
798c5fa
6a09912
47a4f58
4dfc3e2
63fddcd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,7 +10,7 @@ Around version 25.1.0 to 25.4.0, users which did not have `docker compose` plugi | |||||||||||||||||
|
|
||||||||||||||||||
| ## Container Healthcheck | ||||||||||||||||||
|
|
||||||||||||||||||
| There may be some circumstances which you may want to increase or decrease healthcheck interval, timeout or retries for your custom needs. This can be achieved by editing `HEALTHCHECK_INTERVAL`, `HEALTHCHECK_TIMEOUT`, `HEALTHCHECK_RETRIES` variables' values in `.env`. | ||||||||||||||||||
| There may be some circumstances which you may want to increase or decrease healthcheck interval, timeout or retries for your custom needs. This can be achieved by overriding the values of `HEALTHCHECK_INTERVAL`, `HEALTHCHECK_TIMEOUT` and `HEALTHCHECK_RETRIES` defined in `.env` in `.env.custom`. | ||||||||||||||||||
|
|
||||||||||||||||||
| Occasionally, you might see an error like this | ||||||||||||||||||
| ``` | ||||||||||||||||||
|
|
@@ -19,6 +19,22 @@ container for service "${servicename}" is unhealthy | |||||||||||||||||
|
|
||||||||||||||||||
| This can usually be resolved by running `docker compose down` and `docker compose up --wait` or rerunning the install script. | ||||||||||||||||||
|
|
||||||||||||||||||
| > [!NOTE] | ||||||||||||||||||
| > On slower systems, including systems that only meet the minimum resource requirements for self-hosted Sentry, this issue may still persist even after rerunning `docker compose down` and `docker compose up --wait`. | ||||||||||||||||||
| > | ||||||||||||||||||
|
||||||||||||||||||
| > In this case, you can override the healthcheck parameters defined in `.env` by setting custom values in `.env.custom`. | ||||||||||||||||||
arsalanyavari marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||
| > | ||||||||||||||||||
| > For example, increasing `HEALTHCHECK_RETRIES` may resolve the issue: | ||||||||||||||||||
| > | ||||||||||||||||||
| > ```shell | ||||||||||||||||||
| > # .env.custom | ||||||||||||||||||
| > HEALTHCHECK_RETRIES=20 | ||||||||||||||||||
| > ``` | ||||||||||||||||||
| > | ||||||||||||||||||
| > Then start Docker Compose. | ||||||||||||||||||
| > | ||||||||||||||||||
|
||||||||||||||||||
| > Then start Docker Compose. | |
| > | |
| > Then restart Docker Compose so it picks up the new settings: | |
| > | |
| > ```shell | |
| > docker compose --env-file .env --env-file .env.custom up --wait | |
| > ``` | |
| > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is fixed also.
Uh oh!
There was an error while loading. Please reload this page.