Skip to content
Discussion options

You must be logged in to vote

opencloud init --diff is probably seeing an admin password from the environment.

In the current init command, --diff and --admin-password are mutually exclusive, and the admin password option is also populated from env vars such as ADMIN_PASSWORD / IDM_ADMIN_PASSWORD. So even if you did not type --admin-password, Docker Compose can still make it present.

For the diff run, unset/blank those variables:

docker compose run --rm \
  -e ADMIN_PASSWORD= \
  -e IDM_ADMIN_PASSWORD= \
  opencloud opencloud init --diff

or inside the container:

ADMIN_PASSWORD= IDM_ADMIN_PASSWORD= opencloud init --diff

Do not use force overwrite until you have backed up and reviewed the diff, because the existing conf…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kreutpet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants