Skip to content
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

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

Open
c-nv-s opened this issue Jan 12, 2023 · 1 comment
Open

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

c-nv-s opened this issue Jan 12, 2023 · 1 comment

Comments

@c-nv-s
Copy link

c-nv-s commented Jan 12, 2023

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.

@karminski
Copy link
Contributor

@c-nv-s Thanks for the feedback, we will check it out as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants