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

Credhub upgrade fails with Postgres error #267

Open
3 tasks done
JohannesAtGit opened this issue Nov 25, 2024 · 0 comments
Open
3 tasks done

Credhub upgrade fails with Postgres error #267

JohannesAtGit opened this issue Nov 25, 2024 · 0 comments

Comments

@JohannesAtGit
Copy link

What version of the credhub server you are using?
2.12.95
previously
2.12.93

What version of the credhub cli you are using?
2.9.3

If you were attempting to accomplish a task, what was it you were attempting to do?
Upgrade Credhub from 2.12.95 to 2.12.93
Local Postgres on Bosh director VM.

What did you expect to happen?
Bosh director deployment succeeds and Credhub still working.

What was the actual behavior?
The Bosh director deployment failed and Credhub monit process did not start.

SQL State  : 42601
Error Code : 0
Message    : ERROR: syntax error at or near "("
  Position: 88
Location   : db/migration/postgres/V60__add_lowercase_credential_name_column.sql (/var/vcap/data/packages/credhub/0c19c367705465a44966171626294fc1b2f51cda/file:/var/vcap/data/packages/credhub/0c19c367705465a44966171626294fc1b2f51cda/credhub.jar!/BOOT-INF/classes!/db/migration/postgres/V60__add_lowercase_credential_name_column.sql)
Line       : 1
Statement  : ALTER TABLE credential ADD COLUMN name_lowercase VARCHAR(1024) GENERATED ALWAYS AS (lower(name)) STORED

Please confirm where necessary:

  • I have included a log output
  • My log includes an error message
  • I have included steps for reproduction

If you are a PCF customer with an Operation Manager (PCF Ops Manager) please direct your questions to support (https://support.pivotal.io/)

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

1 participant