Skip to content

"Waiting for database to settle" with example projects #162

@EdgarVerona

Description

@EdgarVerona

Greetings! When I try to use the simple example in

https://github.com/monicahq/docker/tree/main/.examples/simple/apache

To try out running Monica (with the command "docker compose up -d"), it gives the following log entries:

" APPLICATION IN PRODUCTION.

WARN Command canceled."

And then repeatedly logs a message "Waiting for database to settle..." a few dozen times over the course of half an hour or so, and then eventually says "unable to contact your database". This seems to repeat perpetually. There's no further error messages indicating what went wrong.

I used the example file as-is, aside from replacing the database password with a random one, but aside from that I left the rest of the settings as-is.

When that didn't work, I tried adding an APP_KEY using the recommendations in https://github.com/monicahq/docker, but it didn't change the outcome aside from getting a message that "APP_KEY already set."

Am I doing something wrong? Is there an important step that I am missing? Or is there potentially something missing in the example docker-compose.yml file that I should have spotted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions