Collect Datafresco
Upgrading Fresco
Fresco is continuously improved. As we release new versions of Fresco, you can upgrade your deployed instance using this guide.
When to Upgrade
You are responsible for upgrading your own instance of Fresco. We recommend upgrading your instance of Fresco when a new version is released. This will ensure that you have the latest features and bug fixes. You can check for new releases in the following places:
- Network Canvas User Community: We will notify users of new releases on our community forum.
- Your GitHub repository: You can check for new releases on your GitHub repository. If a new release is available, you will see a message at the top of your repository with the number of commits your branch is behind by.
- Settings: You can check for new releases on the settings page of your Fresco dashboard.
Upgrade Process
This process applies if you deployed Fresco by forking the repository and connecting it to Netlify, as described in the Deployment Guide. To upgrade your Fresco version, you will need to sync your fork with the latest version of the Fresco repository. This will pull in the latest changes and updates from the main Fresco repository.
From your GitHub repository, click "Sync Fork" and select "Update Branch".

Netlify will automatically begin redeploying your Fresco instance. This process will take a few minutes to complete.
For more information on how to sync your fork, see the GitHub documentation.
Upgrading a Docker deployment
If you deployed Fresco with Docker rather than by forking the repository, there is no fork to sync. Instead, you pull the latest container image and recreate the stack — see Updating Fresco in the Advanced Deployment guide for the commands. If you pinned a specific image version, update the tag in your compose file first.
Versioning
Fresco uses semantic versioning to manage releases, meaning that versions are specified using three numbers separated by a period. The numbers are ordered according to significance, with the first number being a major version, the second being a minor version, and the third being a "patch". In general, major versions are not backwards compatible with the previous version (so 3.x.x is not compatible with 2.x.x). Minor versions are used to add new features in a backwards compatible way (for example, 2.2.x might introduce a new feature that is compatible with 2.x.x). Patch versions are used for fixing bugs or addressing other issues that don't change the behavior or functionality of the software.
This means that it should always be clear if a new version of Fresco is safe to install while you are collecting data, or if you should wait.
This version information is accessible from several places:
- Settings: You can find the version number of your Fresco instance in the App Details section of the Settings page of your dashboard, which also tells you whether a newer version is available.
- GitHub: You can find the version of your Fresco instance on your GitHub repository, inside the
package.jsonfile. - Exported Data: The version number of your Fresco instance is included in the exported data within the ego file. This information is useful for tracking the version of Fresco used to collect data.
The health check endpoint, /api/health, does not report the version. If you monitored your instance's version through it, use the Settings page instead.
Upgrading to 5.0.0
Fresco 5.0.0 runs protocol schema 9, which lets protocols be written in more than one language, and lets variables, node and edge types, and options be named in any language. Check the following before you upgrade.
- Update to the latest 4.x release first if you are on an earlier version. Fresco releases before 4.0 stored schema 7 protocols. A deployment still running one of them must update to the latest 4.x release before updating to 5.0.0.
- Upgrade when no interviews are in progress. An interview that is open in a participant's browser during the upgrade keeps running the old version, and the answers given in it after the upgrade may not be saved. Answers saved before the upgrade are kept, and the interview continues normally once the participant reloads the page. Choose a time when participants are not taking interviews, or ask anyone still mid-interview to reload the page once the upgrade has finished.
- Update Fresco before you upload a schema 9 protocol. Architect 9.0 and later saves new and upgraded protocols as schema 9, and Fresco 4.x can't open one. See Schema version 9.
- Your protocols are not upgraded. Fresco never upgrades a protocol to schema 9. The schema 8 protocols you have already uploaded stay schema 8, and their interviews, including any in progress, keep running in the schema 8 interview built into Fresco, as the protocol was designed. A schema 7 protocol you upload is migrated to schema 8 automatically, as earlier releases did, because that is how protocols from the Classic apps move to Fresco. To use schema 9 features, upgrade the protocol in Architect and upload the upgraded copy as a new protocol. See Migrating a protocol.
- Schema 9 interviews follow the participant's browser. An interview of a schema 9 protocol no longer uses the dashboard's language, and its settings menu no longer has a language option. It uses the first of the browser's languages that the protocol is written in, and participants can change language only on a Language Chooser stage. See Language in interviews. Interviews of schema 8 protocols keep the language option in their settings menu.
- Export file names can change for schema 9 protocols. File names now keep a node or edge type's name as you wrote it, including hyphens, dots, spaces and letters from any language. A type called "Close-Friend" now exports to a file ending
_Close-Friend.csvrather than_CloseFriend.csv. If your analysis scripts find export files by name, check them. See Data Export. - Every schema 9 protocol ends with a Finish Screen. The screen that ends an interview is now a Finish Screen stage at the end of the protocol. Schema 8 protocols keep their old ending. In a schema 9 protocol, a participant who finishes an interview sees the Finish Screen's finished text in place of the old "finished" page, which no longer exists. The page shows no button, so participants close the window. Reopening the URL of a finished interview shows the same screen again, and any bookmarks or links to
/interview/finishedstop working. The Progress column of the interviews table now counts the Finish Screen as a stage, so an interview waiting at its Finish Screen shows less than 100% until it is finished. - Schema 9 interviews record how they ended. Each interview of a schema 9 protocol records which Finish Screen ended it and its outcome (
completed,ineligibleorterminated). Interviews of schema 8 protocols, and interviews finished before the upgrade, have no outcome. Exports include it as thenetworkCanvasFinishOutcomecolumn and thenc:finishOutcomeattribute (see How the interview ended), and the Interview Data API returns it asfinishOutcome. - The "limit interviews" cookie changed. It now holds the id of the participant's finished interview and can't be read by scripts in the page. A participant whose cookie names a finished interview of the same protocol is sent back to that interview's finished screen. Cookies set by earlier versions are ignored, so a participant who finished an interview before the upgrade may be able to start another one on the same browser. See Limit interviews.
- Exports can show warnings. If an export has to rename a column or remove characters that GraphML can't store, Fresco tells you in a notification that stays until you close it. See Export warnings.
Upgrading to 4.2.0
Most of Fresco 4.2.0 needs no action, but check the following before you upgrade.
- Passkeys must verify you. Fresco now requires every passkey to confirm who you are with a PIN, fingerprint, or face, both when it is registered and each time you sign in. A passkey registered on a hardware security key that has no PIN will stop signing in after the upgrade. Before upgrading, each administrator who signs in with a passkey should use Add passkey under Settings → User Management to register a passkey that verifies them, or make sure another administrator can use Reset Auth on their account. See Passkeys.
- The health check no longer reports the version or uptime.
/api/healthstill answers liveness probes with the service status, so container health checks and load balancers keep working, but its response no longer includes the running Fresco version or process uptime. Update any monitoring that read either value from it. See Health checks. - You can require two-factor authentication. A new, optional
REQUIRE_TWO_FACTORenvironment variable makes two-factor authentication mandatory for every account that signs in with a password. Nothing changes unless you set it. See Requiring two-factor authentication for everyone. - Protocol import explains what is wrong. A protocol file that is missing one of its resources is refused, as before, but the message now names the missing resource, and a protocol file whose contents are damaged is reported as damaged. Protocols you have already uploaded are not affected. See Uploading protocols for how to fix a protocol that is refused.
UploadThing variable update (pre-2.0.0 upgrades only)
This section applies only if you are upgrading from a version of Fresco older than 2.0.0, which used an earlier UploadThing environment variable format. After the upgrade process is complete, update the variable as follows:
-
Visit your UploadThing dashboard.
-
Navigate to the API Keys section from the sidebar and copy your environment variable using the copy button. It should look something like this:
UPLOADTHING_TOKEN='abCdefGHiJkLmNopQrsTuvWxYz.......' -
Visit your Fresco dashboard. A message will appear informing you that your UploadThing environment variable is out of date.
-
Paste your new environment variable into the UPLOADTHING_TOKEN field on the form.
