Historical upgrade notes. Check the maintenance policy
for support status. These instructions describe this release, not the current installation defaults.
latest or stable must be
resolved to the historical target release before use; they must not jump to today’s release.
Before the Docker commands below, edit the formbricks service’s image in your existing
docker-compose.yml. Replace latest with your exact published 3.0.x tag, for example
ghcr.io/formbricks/formbricks:v3.0.0 for the initial release. These historical GHCR tags include v. Confirm the selected tag with
docker compose config --images before running pull or up; keep your existing volumes and settings.
This major release brings a better approach to data migrations.
- If you’re using Formbricks v2.7 or later, you can upgrade directly to v3.x and future versions.
- If you’re on a version older than v2.7, you must upgrade step-by-step (e.g. 2.4 → 2.5 → 2.6 → 2.7) before moving to v3.x.
Steps to migrate
This guide is for users self-hosting Formbricks with the one-click setup. If you’re using a different setup, you might adjust the commands.- Navigate to the Formbricks Directory
docker-compose.yml file is located.
- Backup Your Database
Note: If you see a “No such container” error, run
docker ps to find your actual container name (e.g.
formbricks_postgres_1).Tip: If you want to store the backup as a
.sql file, remove the -Fc (custom format) option. If you need
to restore it later, use psql with an empty Formbricks database.- Pull the selected version of Formbricks:
- Stop the running Formbricks instance & remove the related containers:
- Restarting the containers with the selected version of Formbricks:
- Access your updated instance