From 67a797b35f2856ab57f7b8bc48cd3fdffd7bb5d0 Mon Sep 17 00:00:00 2001 From: bkellam Date: Wed, 21 Jan 2026 10:43:33 -0800 Subject: [PATCH 1/5] pin to postgres17 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c54576b8..b5af3d79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -178,7 +178,7 @@ ENV SOURCEBOT_LOG_LEVEL=info # ENV SOURCEBOT_TELEMETRY_DISABLED=1 # Configure dependencies -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 +RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq redis postgresql17 postgresql17-contrib openssl util-linux unzip ARG UID=1500 ARG GID=1500 From ea9936ed772919c45f53013fd32fb9320507c928 Mon Sep 17 00:00:00 2001 From: bkellam Date: Wed, 21 Jan 2026 10:54:40 -0800 Subject: [PATCH 2/5] switch to postgres16 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5af3d79..185426ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ ARG NEXT_PUBLIC_SENTRY_BACKEND_DSN ARG NEXT_PUBLIC_LANGFUSE_PUBLIC_KEY ARG NEXT_PUBLIC_LANGFUSE_BASE_URL -FROM node:24-alpine3.23 AS node-alpine +FROM node:24-alpine3.19 AS node-alpine FROM golang:1.23.4-alpine3.19 AS go-alpine # ---------------------------------- @@ -178,7 +178,7 @@ ENV SOURCEBOT_LOG_LEVEL=info # ENV SOURCEBOT_TELEMETRY_DISABLED=1 # Configure dependencies -RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget supervisor uuidgen curl perl jq redis postgresql17 postgresql17-contrib openssl util-linux unzip +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 ARG UID=1500 ARG GID=1500 From 21883b50d8c3e35de043d9fdf6ed2f97997f95b8 Mon Sep 17 00:00:00 2001 From: bkellam Date: Wed, 21 Jan 2026 10:55:55 -0800 Subject: [PATCH 3/5] fix --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 185426ee..21e34fe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ ARG NEXT_PUBLIC_SENTRY_BACKEND_DSN ARG NEXT_PUBLIC_LANGFUSE_PUBLIC_KEY ARG NEXT_PUBLIC_LANGFUSE_BASE_URL -FROM node:24-alpine3.19 AS node-alpine +FROM node:24-alpine3.23 AS node-alpine FROM golang:1.23.4-alpine3.19 AS go-alpine # ---------------------------------- From 0530b7dc50cc5131ee4bea63f74bb220c64cc3ef Mon Sep 17 00:00:00 2001 From: bkellam Date: Wed, 21 Jan 2026 11:28:03 -0800 Subject: [PATCH 4/5] in docker-compose, pin redis version to 8 & postgres version to 16 --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4dfa1493..5e954067 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,7 +28,7 @@ services: # https://docs.sourcebot.dev/docs/configuration/environment-variables postgres: - image: docker.io/postgres:${POSTGRES_VERSION:-17} + image: docker.io/postgres:${POSTGRES_VERSION:-16} restart: always healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] @@ -45,7 +45,7 @@ services: - sourcebot_postgres_data:/var/lib/postgresql/data redis: - image: docker.io/redis:${REDIS_VERSION:-latest} + image: docker.io/redis:${REDIS_VERSION:-8} restart: always ports: - 127.0.0.1:6379:6379 From cfc4d4525cb95a63f1cac4b0ce7a2a8a1aa76b28 Mon Sep 17 00:00:00 2001 From: bkellam Date: Wed, 21 Jan 2026 11:44:04 -0800 Subject: [PATCH 5/5] changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a76281d..0506120a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- 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) + ## [4.10.13] - 2026-01-21 ### Changed - Bumped AI SDK and associated packages version. [#752](https://github.com/sourcebot-dev/sourcebot/pull/752) - Bumped Node.js version to v24. [#753](https://github.com/sourcebot-dev/sourcebot/pull/753) -### Fixes +### Fixed - 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) - Fix autocomplete when repo includes default port [#762](https://github.com/sourcebot-dev/sourcebot/pull/762) - Fixed "Repository not found for file: x" error when searching in orphaned shards. [#761](https://github.com/sourcebot-dev/sourcebot/pull/761)