Skip to content

Conversation

@Spiev
Copy link
Owner

@Spiev Spiev commented Jan 24, 2026

Problem

PostgreSQL 18 Docker images changed data directory structure, breaking existing databases.

Solution

Downgrade to PostgreSQL 17 which is compatible with existing data.

Affected Services

  • Paperless
  • Teslamate

After merging

cd ~/docker/paperless && docker compose pull && docker compose up -d
cd ~/docker/teslamate && docker compose pull && docker compose up -d

🤖 Generated with Claude Code

PostgreSQL 18 Docker images changed data directory structure,
requiring pg_upgrade for existing databases. Downgrade to 17
to restore functionality without migration.

See: docker-library/postgres#1259

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Spiev Spiev merged commit 3f74c62 into main Jan 24, 2026
@Spiev Spiev deleted the fix/postgres-downgrade branch January 24, 2026 00:01
Spiev added a commit that referenced this pull request Jan 26, 2026
PostgreSQL 18 Docker images changed data directory structure,
requiring pg_upgrade for existing databases. Downgrade to 17
to restore functionality without migration.

See: docker-library/postgres#1259

Co-authored-by: Stefan <[email protected]>
Co-authored-by: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants