Skip to content

Commit 46b56be

Browse files
fix: Pin embedded postgresql version to 16 (#770)
1 parent 7725683 commit 46b56be

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Fixed "The data directory was initialized by PostgreSQL version 16, which is not compatible with this version 18.1" error when using the embedded database and upgrading to v14.10.13. [#770](https://github.com/sourcebot-dev/sourcebot/pull/770)
12+
1013
## [4.10.13] - 2026-01-21
1114

1215
### Changed
1316
- Bumped AI SDK and associated packages version. [#752](https://github.com/sourcebot-dev/sourcebot/pull/752)
1417
- Bumped Node.js version to v24. [#753](https://github.com/sourcebot-dev/sourcebot/pull/753)
1518

16-
### Fixes
19+
### Fixed
1720
- Fixed hardcoded localhost URLs in org URL and invite links by using AUTH_URL as fallback. [#764](https://github.com/sourcebot-dev/sourcebot/pull/764)
1821
- Fix autocomplete when repo includes default port [#762](https://github.com/sourcebot-dev/sourcebot/pull/762)
1922
- Fixed "Repository not found for file: x" error when searching in orphaned shards. [#761](https://github.com/sourcebot-dev/sourcebot/pull/761)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ ENV SOURCEBOT_LOG_LEVEL=info
178178
# ENV SOURCEBOT_TELEMETRY_DISABLED=1
179179

180180
# Configure dependencies
181-
RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq redis postgresql postgresql-contrib openssl util-linux unzip
181+
RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq redis postgresql16 postgresql16-contrib openssl util-linux unzip
182182

183183
ARG UID=1500
184184
ARG GID=1500

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
# https://docs.sourcebot.dev/docs/configuration/environment-variables
2929

3030
postgres:
31-
image: docker.io/postgres:${POSTGRES_VERSION:-17}
31+
image: docker.io/postgres:${POSTGRES_VERSION:-16}
3232
restart: always
3333
healthcheck:
3434
test: ["CMD-SHELL", "pg_isready -U postgres"]
@@ -45,7 +45,7 @@ services:
4545
- sourcebot_postgres_data:/var/lib/postgresql/data
4646

4747
redis:
48-
image: docker.io/redis:${REDIS_VERSION:-latest}
48+
image: docker.io/redis:${REDIS_VERSION:-8}
4949
restart: always
5050
ports:
5151
- 127.0.0.1:6379:6379

0 commit comments

Comments
 (0)