Postgres version mismatch when upgrading langfuse locally #3924
-
|
Got: After doing the docker compose down, git pull, docker compose pull, etc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hey @nikcaryo-super! I'm here to help you with any bugs, questions, or contributions you have. Let's squash those pesky bugs together! The error you're encountering is due to a PostgreSQL version mismatch between the data directory and the server version. This typically happens when the data directory was initialized with an older version of PostgreSQL, and the server is now running a newer version. To resolve this issue, you can try the following steps:
These steps should help you resolve the version mismatch issue by ensuring that the data directory is compatible with the new PostgreSQL server version. |
Beta Was this translation helpful? Give feedback.
For anyone else having this issue: this can be resolved by pinning the last major postgres version in the docker compose file.
Also, I've updated the documentation to suggest pulling only the latest image for langfuse-server instead of updating all services (incl postgres):