Skip to content

Deleting a compose service from the project page fails: deleteVolumes is undefined #5658

Open

Description

@surrounds

To Reproduce

Dokploy version: v0.30.8

Describe the bug
Deleting a service from the project overview page fails with a validation error. Deleting the same service from inside the service page (with the name confirmation dialog) works fine.

Steps to reproduce

Open a project that contains a compose service.
On the project page, delete the service using the delete action there.
Confirm.

Current vs. Expected behavior

Actual result

Error deleting Test Site: [ { "expected": "boolean", "code": "invalid_type", "path": [ "deleteVolumes" ], "message": "Invalid input: expected boolean, received undefined" } ]

Expected result
The service is deleted, or the dialog asks whether volumes should be deleted.

Provide environment information

Operating System: 
  OS: Ubuntu 24.04
Dokploy version: 0.30.8
VPS Provider: Hetzner

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

Application

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

Same server where Dokploy is installed

Additional context

The service was an empty compose service with no deployments. I had created it in the wrong project and wanted to remove it.
The delete dialog inside the service page includes the “Delete volumes” option and works. The delete form on the project page has no such field, so it looks like it calls the delete endpoint without deleteVolumes, which the API now requires as a boolean. Possible fix: default deleteVolumes to false on the server, or add the field to the project-page form.

Will you send a PR to fix it?

No

Activity

  1. linear-code commented on Oct 12, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions