Skip to content

Fix PostgreSQL version to v17 to prevent automatic upgrades to v18 - #87

Merged
snickerjp merged 1 commit into
getredash:masterfrom
snickerjp:feature/postgres-version-fix
Oct 9, 2025
Merged

Fix PostgreSQL version to v17 to prevent automatic upgrades to v18#87
snickerjp merged 1 commit into
getredash:masterfrom
snickerjp:feature/postgres-version-fix

Conversation

@snickerjp

Copy link
Copy Markdown
Member

Fixes #86

This PR addresses the PostgreSQL 18 directory path issue by fixing the PostgreSQL version to v17 in the Docker Compose configuration.

Changes:

  • Updated postgres image from pgautoupgrade/pgautoupgrade:latest to pgautoupgrade/pgautoupgrade:17-to-17
  • This prevents automatic upgrades to PostgreSQL 18 which requires different volume paths
  • Maintains compatibility with existing installations

The fix ensures that existing Redash installations continue to work without requiring manual intervention for PostgreSQL directory path changes.

@snickerjp

Copy link
Copy Markdown
Member Author

Verification completed

I have successfully tested this fix with Redash version 25.8.0:

Test Results:

  • PostgreSQL version is correctly pinned to v17 using pgautoupgrade/pgautoupgrade:17-alpine
  • No automatic upgrade to PostgreSQL 18 occurs
  • Redash 25.8.0 installation works properly with the fixed PostgreSQL version
  • Directory path issues mentioned in postgresql 18 is asking for a different directory #86 are resolved

The fix is ready for merge.

@yoshiokatsuneo yoshiokatsuneo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you !!

@snickerjp
snickerjp merged commit bd443f4 into getredash:master Oct 9, 2025
1 check passed
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.

postgresql 18 is asking for a different directory

2 participants