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

Liquibase 4.23.1 complains about LIQUIBASE_COMMAND_CONTEXTS variable #4663

Closed
1 of 2 tasks
joschug opened this issue Aug 11, 2023 · 3 comments · Fixed by #4772
Closed
1 of 2 tasks

Liquibase 4.23.1 complains about LIQUIBASE_COMMAND_CONTEXTS variable #4663

joschug opened this issue Aug 11, 2023 · 3 comments · Fixed by #4772
Labels

Comments

@joschug
Copy link

joschug commented Aug 11, 2023

Search first

  • I searched and no similar issues were found

Description

After upgrading from 4.23.0 to 4.23.1, we're getting warnings about the environment variable LIQUIBASE_COMMAND_CONTEXTS:

[2023-08-11 14:37:24] WARNING [liquibase.configuration] Potentially ignored key(s) in file exists at path liquibase.properties
 - 'liquibase.hub.mode'
WARNING:

Liquibase detected the following invalid LIQUIBASE_* environment variables:

- LIQUIBASE_COMMAND_CONTEXTS

Find the list of valid environment variables at https://docs.liquibase.com/environment-variables

[2023-08-11 14:37:24] INFO [liquibase.ui] WARNING:

Liquibase detected the following invalid LIQUIBASE_* environment variables:

- LIQUIBASE_COMMAND_CONTEXTS

Find the list of valid environment variables at https://docs.liquibase.com/environment-variables

[2023-08-11 14:37:24] WARNING [liquibase.configuration]

Liquibase detected the following invalid LIQUIBASE_* environment variables:

- LIQUIBASE_COMMAND_CONTEXTS

Find the list of valid environment variables at https://docs.liquibase.com/environment-variables

According to the documentation at https://docs.liquibase.com/parameters/home.html, the variable is correct and valid. It used to work until the upgrade.

Steps To Reproduce

  • set enviroment variable LIQUIBASE_COMMAND_CONTEXTS
  • run liquibase status

Expected/Desired Behavior

No warning about valid variables.

Liquibase Version

4.23.1

Database Vendor & Version

No response

Liquibase Integration

CLI

Liquibase Extensions

No response

OS and/or Infrastructure Type/Provider

macOS/Linux

Additional Context

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)
@kevin-atx
Copy link
Contributor

Thank you for submitting. We are reviewing this issue as a potential candidate for the next sprint. (internal: https://datical.atlassian.net/browse/DAT-15681)

@ownyrd
Copy link

ownyrd commented Oct 16, 2023

Is that really fixed? I am facing the same issue w/ all versions I tested (>=4.23).
LIQUIBASE_COMMAND_CONTEXTS still seems to be an invalid env var. @suryaaki2 @MalloD12

Update: It seems to be working, but i am getting still the error message: "Liquibase detected the following invalid env vars: LIQUIBASE_COMMAND_CONTEXTS"

@MalloD12
Copy link
Contributor

Hi @ownyrd,

Would you mind reopening if you think the error you are getting is directly related to this original issue, or maybe open a new one with all the details you can provide? Then, someone from the team can have a look? Also, if you wish you can also open a PR for it, if you already know what could be the cause of it.

Thanks,
Daniel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
4 participants