Alfresco / alfresco-docker-installer

Generator to build Docker Compose templates to deploy Alfresco Community
Other
142 stars 57 forks source link

postgres database is not created #122

Closed dansiebert closed 2 years ago

dansiebert commented 2 years ago

After creating the docker-compose.yml file an doing a "docker-compose up --build --force-recreate -d", I cannot log into Alfresco. In the postgres logfile I can see that no database was created.

user@server ~/docker-compose $ sudo cat logs/postgres/postgresql-2022-04-03_063625.log 2022-04-03 06:36:25.500 UTC [1] LOG: starting PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit 2022-04-03 06:36:25.501 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2022-04-03 06:36:25.501 UTC [1] LOG: listening on IPv6 address "::", port 5432 2022-04-03 06:36:25.506 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2022-04-03 06:36:25.513 UTC [26] LOG: database system was shut down at 2022-03-31 19:57:41 UTC 2022-04-03 06:36:25.536 UTC [1] LOG: database system is ready to accept connections 2022-04-03 06:36:56.739 UTC [33] FATAL: database "alfresco" does not exist

douglascrp commented 2 years ago

Have you created the volumes before executing docker-compose up? You can do that by simply running the create_volumes.sh script.