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

error during installation #79

Closed
GhostRock37 opened this issue Sep 12, 2018 · 3 comments
Closed

error during installation #79

GhostRock37 opened this issue Sep 12, 2018 · 3 comments

Comments

@GhostRock37
Copy link

Hello, i have a problem when i install pialab:

In EnvVarProcessor.php line 77:

Environment variable not found: "DATABASE_VERSION".

The command '/bin/sh -c cd /usr/share/pialab-back     && rm ./composer.lock     && . /usr/share/pialab-back/.env     && ./bin/ci-scripts/install.sh     && ./bin/ci-scripts/create_database.sh     && psql -w -h ${DBHOST} -c "ALTER USER ${DBUSER} WITH PASSWORD '${DBPASSWORD}';" -U ${DBROOTUSER}     && ./bin/ci-scripts/create_schema.sh     && CLIENTURL=${FRONTURL} ./bin/ci-scripts/create_client_secret.sh     && if [ "$CREATEUSER" = "true" ]; then ./bin/ci-scripts/create_user.sh; fi     && ./bin/ci-scripts/update_users_app.sh     && ./bin/ci-scripts/post_install.sh' returned a non-zero code: 1
@PapsOu
Copy link
Contributor

PapsOu commented Sep 12, 2018

Hello,

you just have a missing parameter in .env named DATABASE_VERSION. see the file .env.dist to see the default value and place it into your .env file

@PapsOu PapsOu closed this as completed Sep 12, 2018
@GhostRock37
Copy link
Author

Hello,

ok, sorry... but i'm using the docker version of pialab. How i can set the .env file when i launch install.sh?

@PapsOu
Copy link
Contributor

PapsOu commented Sep 12, 2018

A fix has been ported to the docker version, so fetch the latest version and this problem would be fixed.

Regards.

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