Skip to content

Folio / Docs

Upgrading

  1. Download a backup first: Settings > Backup.
  2. Get the new version. Download the new zip from your store (you get free updates for 12 months). Compare it with your copy and bring the new files over. If you edited code files, keep your edits. If you only used the admin, replace everything except your own .env values (those live in Vercel, so nothing to do).
  3. Add any new environment variables listed in .env.example and CHANGELOG.md.
  4. Deploy (Vercel does it when you commit the new files).
  5. Database: sign in, open Settings > Database updates and click Update the database. The page lists what is new, runs it, and shows the result. It only adds what is missing and never deletes your content, so clicking twice is safe.
  6. Check the version under Settings > About this CMS.

No "Update the database" button?

That button needs SUPABASE_DB_URL in Vercel. Add it once (see INSTALL.md, step 2), redeploy, and it appears. Until then, update by hand: open the new supabase/folio.sql, copy all of it, and run it in Supabase > SQL Editor (the Database updates page has a "Copy the SQL" button and a link to the editor). It is safe to run on a database that already has Folio.

If you set FOLIO_UPDATE_REPO, Settings > About this CMS tells you when a newer release is available.