dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Crash when updating from v0.25.5 to v0.28.6

Open Xeoneid opened this issue 8 months ago • 3 comments

To Reproduce

  1. Install Dokploy v0.25.5 on an Ubuntu 24 VM instance.
  2. Setup Dokploy (make owner user, etc.).
  3. Admin user is triggered on Dokploy's dashboard to update to the newer v0.28.6
  4. Click on the Update Available button (it opens the Web Server Update modal).
  5. User clicks on the Update Server button.
  6. The dokploy dashboard process and all the docker pods become unresponsive.

Current vs. Expected behavior

Current behavior:

  • The update crashes the server.

Expected behavior:

  • The update should run gracefully.
    • The server must be down only during update.
    • In case the update fails, it should rollback and keep running a previous version.

Provide environment information

Operating system: Ubuntu 24, Arch: not sure but guess x86
VPS provider: interserver.net
Dokploy version: v0.25.5

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

Installation

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

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

Xeoneid avatar Mar 13 '26 05:03 Xeoneid

Hi @Xeoneid! I'm Dosu and I’m helping the dokploy team.

This is a known issue. The UI update button is broken across several versions because it uses the RELEASE_TAG environment variable which returns the current version instead of the latest.

Workaround: Use the manual CLI update instead:

curl -sSL https://dokploy.com/install.sh | sudo sh -s update

Before updating, back up your database—there have been PostgreSQL container crashes reported when upgrading from v0.26 to v0.28.x:

docker exec -t $(docker ps -qf name=dokploy-postgres) pg_dumpall -c -U dokploy > dokploy_backup_$(date +%Y%m%d_%H%M%S).sql

If the server is already unresponsive, you may be experiencing PostgreSQL corruption. Try:

docker service scale dokploy-postgres=0
docker run --rm -v dokploy-postgres-database:/var/lib/postgresql/data postgres:16 bash -c "gosu postgres pg_resetwal -f /var/lib/postgresql/data"
docker service scale dokploy-postgres=1
docker service scale dokploy=0
docker service scale dokploy=1

Additional note: If you're running Docker v29.x on Ubuntu 24.04, there are known Traefik compatibility issues that may also cause problems. You may need to either downgrade Docker to v28.x or manually update Traefik to v3.6.1.

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about dokploy with Dosu Add Dosu to your team

dosubot[bot] avatar Mar 13 '26 05:03 dosubot[bot]

This is because v0.26.6 contains a breaking change.

midgogo avatar Mar 13 '26 10:03 midgogo

Closing this issue as the update process has been improved in recent versions. If you're still experiencing issues updating, please try updating to the latest version from a fresh state or open a new issue with updated details.

Siumauricio avatar Apr 06 '26 03:04 Siumauricio