Skip to content

"Database container is not running" when changing password, but it is running #5108

Closed

Description

@ref

To Reproduce

  1. Have a Postgres database service that has been running for a while
  2. Open it in the dashboard, General tab
  3. Click the edit icon next to the Password field
  4. Enter a new password in both fields
  5. Click Update
  6. An error appears: "The database container is not running. Please start
    the service before changing the password." The password is not changed.

Current vs. Expected behavior

The container is running. The app using this database works fine, and docker service ps <service> shows the task in Running state. I expected the password to be updated, instead Dokploy claims the container is down.

Provide environment information

Operating System:
  OS: Ubuntu 24.04
  Arch: amd64
Dokploy version: 0.30.0 (upgraded from 0.29.14 the same day)
VPS Provider: OVH
What applications/services are you trying to deploy?
  Postgres 18 database

Which area(s) are affected? (Select all that apply)

Databases

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

docker service ps also lists the previous task in Shutdown state with "No such container: " left over from an earlier redeploy. Possibly the container is being looked up by a stale task ID.

Nothing relevant in docker service logs dokploy. Single-node Swarm.

Will you send a PR to fix it?

No

Activity

  1. linear-code commented on Aug 17, 2026

    @linear-code
  2. added a commit that references this issue on Aug 18, 2026
    41d355c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions