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) diff --git a/Dockerfile b/Dockerfile index c54576b8..21e34fe7 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 postgresql16 postgresql16-contrib openssl util-linux unzip ARG UID=1500 ARG GID=1500 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