Skip to content

Change default value for postgres_data_path#1766

Merged
TheRealHaoLiu merged 3 commits intoansible:develfrom
fosterseth:fix_pgdata_location
Mar 13, 2024
Merged

Change default value for postgres_data_path#1766
TheRealHaoLiu merged 3 commits intoansible:develfrom
fosterseth:fix_pgdata_location

Conversation

@fosterseth
Copy link
Copy Markdown
Member

@fosterseth fosterseth commented Mar 13, 2024

SUMMARY

fixes #1768

/var/lib/postgresql/data/pgdata
to
/var/lib/pgsql/data/pgdata

postgres 15 uses a different location (?) for postgres data directory.

Fixes issue were database was not being written to the mounted in volume, and if the postgres container restarted, data would be lost.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change

fosterseth and others added 3 commits March 13, 2024 15:50
/var/lib/postgresql/data/pgdata
to
/var/lib/pgsql/data/pgdata

postgres 15 uses a different location for
postgres data directory.

Fixes issue were database was not being written
to the mounted in volume, and if the postgres
container restarted, data would be lost.

Signed-off-by: Seth Foster <fosterbseth@gmail.com>
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.

Data lost after restarting postgres-15 pod after upgrading to awx-operator 2.13.0

2 participants