Skip to main content

Apply upgrades

Follow this guide when upgrading Ory Hydra to a newer version.


Back up your data! Applying upgrades can lead to data loss if handled incorrectly.

  1. Review breaking changes.
    Visit the to see if breaking changes have been introduced in the version you are upgrading to.
  2. Backup your data.
  3. Update the Ory Hydra SDK if used in your application.
  4. Install the new version of Ory Hydra.
  5. Run hydra migrate sql to run the SQL migrations to the new database schema.

Should you run into problems with the upgrade, consider a stepped upgrade and please visit the community chat or start a discussion.