how to upgrade from 1.4.1 to 1.13.0 #32731
Replies: 1 comment
-
|
Here are the key points for upgrading from 1.4.1 to 1.13.0: 🔴 Critical: PostgreSQL Container Name Change The hostname changed from DB_HOST=db_postgresFailure to do this will cause "could not translate host name 'db' to address" errors. Environment Variable Updates Database credentials were consolidated to a unified format: DB_USERNAME=postgres
DB_PASSWORD=difyai123456
DB_DATABASE=dify
DB_TYPE=postgresql
COMPOSE_PROFILES=${VECTOR_STORE:-weaviate},${DB_TYPE:-postgresql}File Permissions (v1.10.1+) Containers now run as non-root user (UID 1001). Fix ownership: sudo chown -R 1001:1001 ./volumes/app/storageUpgrade Steps
If using Weaviate, you'll also need to upgrade to v1.27.0+ and expose gRPC port 50051. Since you're jumping several versions, I'd recommend testing in a staging environment first if possible! To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
I upgraded from version 1.4.1 to 1.13.0. Are there any points I should be aware of? For example, has the PostgreSQL container name changed, will there be any issues with database migration, and are there any permission-related concerns?
Beta Was this translation helpful? Give feedback.
All reactions