Skip to content

Container creation fails after VPS restart: "bind source path does not exist" #3535

@MakaiuPL

Description

@MakaiuPL

To Reproduce

  1. Deploy app (Dockerfile/Nixpacks) ✅ Container created
  2. Restart VPS / docker service
  3. App shows "online" in UI ❌ No container exists
  4. Click Deploy → Fails silently
  5. Logs: 1/1: invalid mount config for type "bind": bind source path does not exist: /da…

Current vs. Expected behavior

Current:

  • UI shows "online" (misleading)
  • No container created
  • Logs truncated, no clear error
  • logs → select-a-container empty

Expected:
❌ Missing bind folders:
eg. /etc/dokploy/applications/gostir-swietlice-mpjhbo/cache/

Provide environment information

OS: ubuntu 24.04
Arch: x86
dokploy version: v0.26.5
VPS: SummerHosting

App: Next.js + PayloadCMS (Dockerfile/Nixpacks)

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

  • I was trying to update, server restarted without update - tired few more times but nothing. Only manual update worked.

Suggested fixes:

  1. Auto-create cache folders on deploy
  2. Clear UI error: "Missing cache folder"
  3. Fix "online" status logic
  4. Show full Docker error in logs

Will you send a PR to fix it?

No

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