Skip to content
Discussion options

You must be logged in to vote

You can't change the postgres image version while pointing to the same data volume. Different postgres versions use different data formats.

You need to create a database dump from your current postgres container, create a new container with the latest image using a NEW data volume, then import the dump back into that new container.

This is out of scope of a Wiki.js documentation, but you can easily find tutorials on how to do that, or ask any AI to guide you, e.g.:

# 1. Dump from the running PG15 container
docker exec -t pg15-container pg_dumpall -U postgres > dump.sql

# 2. Stop the old container
docker stop pg15-container

# 3. Start a new PG18 container with a NEW volume
docker run -d …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@tobias-graf-p
Comment options

Comment options

You must be logged in to vote
1 reply
@tobias-graf-p
Comment options

Answer selected by NGPixel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants