-
-
Notifications
You must be signed in to change notification settings - Fork 7.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
RabbitMQ startup process hangs when using Docker #18
Comments
that looks like the kind of issue you get if you're repeatedly running scripts/setup/initialize-database without dropping the database in between. You should run "sudo scripts/setup/postgres-init-db" in between reruns of initialize-database |
@timabbott If I start a Docker container for Zulip, how do I detect if the database is already initialized? As the Docker container is usually stateless, all the state is kept in the database. Is there an idempotent way to get the database to a state the current Zulip install needs? |
@DoubleMalt you could add a start.sh script as your new RUN-command. In it, check the connection and create everything unless it exists; exec the original RUN-command as the last step. |
Dockerfile:
OUTPUT Stalled here:
|
Reopened with a title matching the current issue, namely the hanging. |
I believe we fixed the hanging issue some time ago and forgot to close this issue. |
The text was updated successfully, but these errors were encountered: