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.1.x tag, for example
ghcr.io/formbricks/formbricks:v3.1.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.
With Formbricks 3.0, we introduced an automatic data migration system. If you’re using a version older than
v2.7, you must upgrade step-by-step through earlier versions (e.g. 2.4 → 2.5 → 2.6 → 2.7). Once you
reach v2.7, you can upgrade directly to any v3.x or future release without needing intermediate
migrations.
Steps to migrate
This guide is for users who are self-hosting Formbricks using the one-click setup. If you have a different setup, you may need to adjust the commands accordingly. Before running these steps, navigate to theformbricks directory where your docker-compose.yml file is located.
- Backup your Database: Backing up your database is crucial before upgrading. Use the following command to create a backup:
If you run into “No such container”, use
docker ps to find your container name,
e.g. formbricks_postgres_1.*.sql file remove the -Fc (custom format) option. In case of a restore scenario you will need to use psql then 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