-
Notifications
You must be signed in to change notification settings - Fork 4
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
Upgrade to Postgres 16 #1739
base: develop
Are you sure you want to change the base?
Upgrade to Postgres 16 #1739
Conversation
ce7d4aa
to
bf3407b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jamesbiggs
Regarding issue with fab pull-staging-data
causing to prompt for password twice, it is in the dropdb, createdb
commands.
I've suggested some changes in the docker-compose.yml
and .env
for local only which bypasses the prompts - it worked for me.
environment: | ||
- POSTGRES_PASSWORD=postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make fab pull-staging-data
work:
environment: | |
- POSTGRES_PASSWORD=postgres | |
env_file: | |
- .env | |
environment: | |
- POSTGRES_PASSWORD=postgres |
Add POSTGRES_HOST_AUTH_METHOD=trust
to .env
, but not on the hosted environment
- POSTGRES_PASSWORD=postgres | ||
- DATABASE_PASSWORD=postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make fab pull-staging-data
work
- POSTGRES_PASSWORD=postgres | |
- DATABASE_PASSWORD=postgres |
- POSTGRES_PASSWORD=postgres | ||
- DATABASE_PASSWORD=postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make fab pull-staging-data
work
- POSTGRES_PASSWORD=postgres | |
- DATABASE_PASSWORD=postgres |
Ticket URL: EDEV-127
About these changes
Upgrade our local environment and Platform.sh to Postgres 16
How to check these changes
Re-build your local environment, and check out the
postgres-upgrade
environment on Platform.shBefore assigning to reviewer, please make sure you have
Merging PR guidance
Follow docs\developer-guide\contributing.md
Deployment guidance
Follow docs\infra\environments.md