Skip to content

bug: run-compose-with-official-image.sh fails with fresh install #9

Open
@c-nv-s

Description

@c-nv-s

when launching using docker-compose script with a fresh virtual machine the installation always fails because the PG_VERSION file in the database directory always gets created and therefore the check for it in the postgres-init.sh script always returns true and therefore the illa database does not get created.

if [ -s "$PGDATA/PG_VERSION" ]; then

steps to recreate on fresh machine run:

git clone https://github.com/illacloud/deploy-illa-manually
cd deploy-illa-manually/docker-compose
./scripts/run-compose-with-official-image.sh

then you can docker exec -i -t illa-database /bin/bash -c 'su --login postgres' and via psql you can see the illa database doesn't exist.

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