cachethq / Docker

A Dockerized version of Cachet.
https://cachethq.io
BSD 3-Clause "New" or "Revised" License
415 stars 280 forks source link

ERROR: relation "chq_settings" does not exist at character 29 #366

Closed gustavomerini closed 4 years ago

gustavomerini commented 4 years ago

Hello,

I'm following this doc: https://hub.docker.com/r/cachethq/docker/

Step - Development of Cachet using this docker environment.

I already got the repos, did composer install, altered docker-compse.yml to add the volume, configured the API_KEY and now i'm trying to do docker-compose up

When I execute docker-compose up the following error ocurs:

postgres_1 | ERROR: relation "chq_settings" does not exist at character 29

Stack trace:

merineira@merini:~/cachet-teste/cachet-docker$ docker-compose up Starting cachet-docker_postgres_1 ... done Recreating cachet-docker_cachet_1 ... done Attaching to cachet-docker_postgres_1, cachet-docker_cachet_1 cachet_1 | Initializing Cachet container ... postgres_1 | postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization postgres_1 | postgres_1 | LOG: database system was shut down at 2020-02-17 17:22:46 UTC postgres_1 | LOG: MultiXact member wraparound protections are now enabled postgres_1 | LOG: autovacuum launcher started postgres_1 | LOG: database system is ready to accept connections cachet_1 | Attempting to connect to database ... cachet_1 | cachet_1 | Table chq_sessions does not exist! ... cachet_1 | Initializing Cachet database ... postgres_1 | ERROR: relation "chq_settings" does not exist at character 29 postgres_1 | STATEMENT: select "name", "value" from "chq_settings" cachet_1 | PHP Fatal error: Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vendor/graham-campbell/exceptions/src/ExceptionIdentifier.php:51

gustavomerini commented 4 years ago

I could fix the first error, but the other one still happens

noobi97 commented 3 years ago

I could fix the first error, but the other one still happens

how?