Skip to content

Container docker-db_postgres-1 Skipped: optional dependency "db_postgres" failed to start #35252

@Wanderfo

Description

@Wanderfo

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.13.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

docker-compose up -d
[+] up 9/11
[+] up 11/12 docker-ssrf_proxy-1 Running 0.0s
✔ Container docker-ssrf_proxy-1 Running 0.0s
✔ Container docker-redis-1 Running 0.0s
[+] up 12/12 docker-weaviate-1 Running 0.0s
✔ Container docker-ssrf_proxy-1 Running 0.0s
✔ Container docker-redis-1 Running 0.0s
✔ Container docker-weaviate-1 Running 0.0s
✔ Container docker-web-1 Running 0.0s
✔ Container docker-sandbox-1 Running 0.0s
✔ Container docker-worker_beat-1 Running 0.0s
✔ Container docker-worker-1 Running 0.0s
✔ Container docker-api-1 Running 0.0s
✔ Container docker-nginx-1 Running 0.0s
! Container docker-db_postgres-1 Skipped: optional dependency "db_postgres" failed to start 0.5s
✔ Container docker-init_permissions-1 Exited 0.7s
✔ Container docker-plugin_daemon-1 Started

docker logs -f docker-db_postgres-1

PostgreSQL Database directory appears to contain a database; Skipping initialization

2026-04-15 08:07:52.210 UTC [1] FATAL: could not write lock file "postmaster.pid": No space left on device

PostgreSQL Database directory appears to contain a database; Skipping initialization

2026-04-15 08:07:52.713 UTC [1] FATAL: could not write lock file "postmaster.pid": No space left on device

PostgreSQL Database directory appears to contain a database; Skipping initialization

✔️ Expected Behavior

I mistakenly moved the dify directory and received an error when moving it back

❌ Actual Behavior

! Container docker-db_postgres-1 Skipped: optional dependency "db_postgres" failed to start

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions