Currently BEdita has not an automatic system to upgrade from a version to another but you can follow the steps below to upgrade BEdita 3.1 to BEdita 3.2.

  1. backup your old BEdita installation
  2. remove the old version of BEdita and extract the new version in the same folder
  3. restore from your BEdita backup bedita-app/config/database.php
  4. copy bedita-app/config/core.php.sample to bedita-app/config/core.php
  5. copy bedita-app/config/bedita.cfg.php.sample to bedita-app/config/bedita.cfg.php and restore config vars beditaUrl, mediaUrl, mediaRoot from bedita.sys.php and any other configurations you did in old bedita.cfg.php. You can edit some of these configurations through the Admin module.
  6. make sure that bedita-app/tmp (and subfolders) and mediaRoot are writable by web server
  7. check if these two files exist:
    • bedita-app/config/sql/upgrade/0.3.1-to-3.2-data.sql
    • bedita-app/config/sql/upgrade/1.3.1-to3.2-schema.sql
    and execute the queries of first file and then of second file. If some of these files are missing don't worry, it means that no relative queries for data and/or schema needs.
  8. restore your frontends in frontends folder and follow the migration guide to make your frontends compatible with BEdita 3.2