Skip to main content
Historical upgrade notes. Check the maintenance policy for support status. These instructions describe this release, not the current installation defaults.
Read the notes for every version you cross. Use the upgrade checklist to plan backups, service interruption and recovery. Old commands using 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.6.x tag, for example ghcr.io/formbricks/formbricks:v2.6.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. Formbricks v2.6 introduces advanced logic jumps for surveys, allowing more complex branching logic, including variables, conditions, and more. This release also includes numerous bug fixes, significant performance improvements for website and app surveys, and enhanced stability.
This release includes the final step of deprecating server-side action tracking (previously used for segment filtering by performed actions). The migrations will delete all tracked actions from the database. If you still need these action records, ensure you export them before upgrading.

Steps to migrate

This guide is for users who are self-hosting Formbricks using our one-click setup. If you’re using a different setup, you might need to adjust the commands accordingly. To run these steps, navigate to the folder where your docker-compose.yml file is located.
  • Backup your Database: This is an important step. Make sure to back up your database before proceeding with the upgrade. You can use this command to back up your database:
If you get a “No such container” error, run docker ps to find your container name, for example, 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 the Docker network name for your Postgres database, run docker network ls.
The command above will migrate your data to the latest schema. This is an important step to update your existing data to the new structure. Changes will only be made if the script runs successfully. You can run the script multiple times without issues.
  • Once the migration is complete, you can access your Formbricks instance at the same URL as before.