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.4.x tag, for example
ghcr.io/formbricks/formbricks:v2.4.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.4 lets you create multiple endings for your surveys and choose which one users see based on logic jumps. This version also includes bug fixes and performance improvements.
This release will remove support for advanced targeting (enterprise targeting for app surveys) using actions
(e.g. targeting users who triggered action x 3 times in the last month). Actions can still be used as
triggers, but they will no longer be stored on the server to improve Formbricks’ overall performance.
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 follow these steps, go to the folder where yourdocker-compose.yml file is located.
- Backup your Database: This step is important. Please make sure to back up your database before upgrading. You can use the following command to back up 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 a
*.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:
docker network ls
- That’s it! Once the migration is done, you can access your Formbricks instance at the same URL as before.
Additional updates
- The
CRON_SECRETenvironment variable is now required to enhance the security of the internal cron APIs. Please ensure that this variable is set in your environment ordocker-compose.yml. You can generate a secure secret usingopenssl rand -hex 32