sourcebot
sourcebot copied to clipboard
[bug] The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 18.1.
Describe the bug
After upgrading to v4.10.3, the upgrade fails because the previous version (v4.10.12) was using Postgres version 16 and the new node image installs postgres version 18.
2026-01-21 15:22:52.902 UTC [79] FATAL: database files are incompatible with server
2026-01-21 15:22:52.902 UTC [79] DETAIL: The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 18.1.
postgres failed to run
To reproduce
Upgrade and deploy to v4.10.13 with an already populated database.
Sourcebot deployment information
Sourcebot version (e.g. v3.0.1):
Additional information
No response
this PR will fix your issue
thank you!!
@CyberT17 are you using the docker-compose or the database embedded in the Dockerfile?
db embedded in the Dockerfile