-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
'ERROR: for snuba-api Container "ee666f7f2cdd" is unhealthy.' during install.sh #1178
Comments
Is this a clean install @ynotna87? If not, can you try a clean install? |
Hi Chad, yes it is a clean install from scratch on a new VM. OS: Centos 7 |
Try running Beware this will effectively removes all your data. |
Hi Amin, i tried to run the command, but unfortunately the same error still the same. What could possibly wrong ? |
Update : After i tried on another VM, it still giving the same error: ▶ Bootstrapping and migrating Snuba ... ERROR: for snuba-api Container "05c4e3a60327" is unhealthy. |
Can you run with debugging and paste your full install log in a gist?
|
@chadwhitacre not OP, but the same issue. https://gist.github.com/sajphon/ef85f11488f8fe0a9b7699e971ecc642 |
Had the same issue, rebooting the machine helped. |
What is the self-hosted/docker-compose.yml Lines 31 to 32 in c258a1e
Curious to me that |
It does not.
(It does not have a |
I'm also having the same error where snuba-api is failing. In fact, my entire dockers are down, and production is offline because I was trying to update our sentry server. Does anyone have any idea what is happening here? |
At that point it will fail for example when any of the started containers does not go up, try starting the zookeeper, clickhouse, redis and kafka containers manually and check their state. |
I am still having the same issue, snuba-api container are not healthy. Anyone here with the same issue, having some luck on resolving this ? |
https://gist.github.com/ynotna87/96fc2d37aed51ead2f6a915c8cf7f5cb @chadwhitacre |
@ynotna87 Yes I had. Can you start other containers mentioned in this phase into healthy/running state? In my case it was kafka one stuck in Starting up state because of network issues |
Any guidance on how to do it ? honestly i am not too proficient on docker. |
@ynotna87 Not to be a jerk but have you considered SaaS if maintaining self-hosted is beyond your comfort level? |
Yes, but in my country, there's a regulation, that the data should be on premise, specifically for our company's nature of business. Unfortunately, we have to comply as it have serious sanctions. As for me, i am more than happy to use the SaaS as it will brings more ease of mind for me and the team. |
Ah, gotcha. :) Well in that case it sounds like you have a learning journey ahead of you! Good luck! |
I had the same issue the error is actually with clickhouse just to add confusion and it's this error #1205 This comment solved it for me #1205 (comment) |
I had the same issue with snuba. I did a
|
following #1211 |
Do you forgot run ./install.sh before you run docker-compose up -d Hm... i met seem wrong because i forgot run it |
No.. Idid, but did
|
I use portainer.io for this, its clikety and easy. |
I have the same error, and follow your step, this time error disapear but the postgres is not start |
For future reference: https://develop.sentry.dev/self-hosted/troubleshooting/#docker-containers-healthcheck |
I also had this issue upgrading from 21.6.3 -> 22.1.0, the suggestion from #1178 (comment) helped me move on. |
I added a "gotcha" at the top of https://github.com/getsentry/self-hosted/releases/tag/21.12.0, hopefully helps somebody avoid hitting this in the future. |
And actually I'm surprised you hit this with 22.1.0, @tomasnorre, because we made #1241 to avoid this. Were you going straight to 22.1.0, or through 21.12.0 first? |
I'm on 21.1.0 went to 21.6.3 and from there to 22.1.0 as the upgrade guide suggests. I got this in the step from 21.6.3 -> 22.1.0. |
Bummer. I guess we'll start getting more reports about this, then, and we'll have to keep digging. :-/ |
I had this error during upgrade and fixed it. My findings:
PS. c258a1e#diff-e9cbb0224c4a3d23a6019ba557e0cd568c1ad5e1582ff1e335fb7d99b7a1055d |
That could explain why @frame took a more drastic route:
Maybe we should do something similar in |
I worked around this by calling I see 2 possible solutions, something around:
|
The intention of
I like this better than the over-broad |
What about simply fail to proceed with install if old containers are found and need to be stopped by user? Of course, with clear message. |
I think since we're already attempting to stop services automatically during install then we should preserve that behavior for old containers as well. |
I had this same issue. After a failed install I ran
|
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
I ran into this when upgrading today, and had to use |
@ragesoss If this has happened from a version < 21.12.0 to a version >= 21.12.0, |
I recently upgraded from 20.12.1 -> 21.6.3 -> 22.2.0 and running
|
I think this needs to be run before checking out the new release branch/tag. So running |
In that case would something like #1384 address this? |
Here goes nothin'. ¯\_(ツ)_/¯ |
lgtm, I believe this should fix this issue, thanks! |
Version
21.11.0
Steps to Reproduce
Expected Result
Installation succeed
Actual Result
▶ Bootstrapping and migrating Snuba ...
Creating sentry_onpremise_clickhouse_1 ...
Creating sentry_onpremise_zookeeper_1 ...
Creating sentry_onpremise_redis_1 ...
Creating sentry_onpremise_redis_1 ... done
Creating sentry_onpremise_zookeeper_1 ... done
Creating sentry_onpremise_clickhouse_1 ... done
Creating sentry_onpremise_kafka_1 ...
Creating sentry_onpremise_kafka_1 ... done
ERROR: for snuba-api Container "ee666f7f2cdd" is unhealthy.
Encountered errors while bringing up the project.
An error occurred, caught SIGERR on line 3
Cleaning up...
Can anyone help me with this ?
The text was updated successfully, but these errors were encountered: