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

Change Postgres version to 12.2 for sample #212

Closed
wants to merge 2 commits into from

Conversation

bennyhodl
Copy link
Contributor

Fixes issue when starting postgres db

2024-04-03 15:12:44.324 UTC [1] FATAL:  database files are incompatible with server
2024-04-03 15:12:44.324 UTC [1] DETAIL:  The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 16.2 (Debian 16.2-1.pgdg120+2).

@Tibo-lg
Copy link
Contributor

Tibo-lg commented Apr 3, 2024

This is most likely because you have an volume leftover from a run with the old version of the docker compose file. Try running a docker compose --profile oracle down -v and then start again and it should work (assuming you don't care about the data on the db volume).

@Tibo-lg Tibo-lg closed this Apr 3, 2024
@bennyhodl bennyhodl deleted the oracle-db-version branch April 4, 2024 13:24
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

Successfully merging this pull request may close these issues.

2 participants