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 2.2.x tag, for example
ghcr.io/formbricks/formbricks:v2.2.2 for a published patch. 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.
Formbricks v2.2 introduces XM research presets, providing a brand-new product onboarding experience. Our goal is to make user research “obviously easy” across different industries, starting with Software-as-a-Service and E-Commerce.
Steps to migrate
This guide is for users who are self-hosting Formbricks with our one-click setup. If you’re using a different setup, you may need to adjust the commands accordingly. To run all these steps, please navigate to theformbricks folder where your docker-compose.yml file is located.
- Backup your Database: This is a crucial step. Please make sure to backup your database before proceeding with the upgrade. You can use the following command to backup your database:
If you run into “No such container”, use
docker ps to find your container name, e.g.
formbricks_postgres_1.If you prefer storing the backup as an
*.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:
- Now let’s migrate the data to the latest schema:
To find your Docker Network name for your Postgres Database, find it using
docker network ls- Once the migration is complete, you can access your Formbricks instance at the same URL as before.
Changes in environment variables
- The
ONBOARDING_DISABLEDenvironment variable is now deprecated. We have replaced the user onboarding with a product onboarding process that only runs when creating a new product.