Docs
Sign in
guides

Roll Back a Bad Deploy

Go back to a previous release when a deploy breaks your app.

Updated 2026-11-07 Edit on GitHub ↗

You’ll find the last good release and roll back to it.

1. Find the release

App → Deploy tab → Releases lists each release with its version and commit.

2. Roll back

Click Rollback on the release you want.

The rollback shows up as a new release (“Rollback to vN”).

What a rollback does

  • Restores the code of that release. It’s fast when the release’s image is still stored; otherwise Wokku rebuilds from the stored source.
  • Keeps your current environment variables. It doesn’t restore old config. Change it with Environment Variables if needed.
  • Doesn’t undo database migrations. Restore from a backup if a migration damaged data.

Very old releases may no longer have a stored image or source. The rollback then fails with a message, and you’ll need a fresh deploy.

Tip

Write migrations to be backward-compatible (add first, remove later) so rolling back the code stays safe.

Roll forward

Fixed the bug? Deploy again. The fix becomes the newest release.

Next steps

Was this page helpful?