Skip to content

Upgrading

Paris Liakos edited this page Aug 8, 2017 · 14 revisions

From v0.4.x to v1.0.*

There is a migration path written. It migrates content from the existing/old siwapp installation to the new one.

Replace the DB_* values with the one of your old database and then, from the root of your new siwapp installation, run:

$ php bin/console siwapp:upgrade-db:0.4-1.0 DB_DRIVER DB_USER DB_PASSWORD DB_NAME

From v1.0.* to v1.0.*

Download the new release, extract its content, then replace the old /src folder in your server, with the new one.

From v1.0.* to v1.1.*

  1. Add the following to your app/config/config.yml

     from_email:
         address: "[email protected]"
         sender_name: "webmaster"
    

    under the fos_user: section.

  2. Download the new release, extract its content, then replace

    • the old /src folder in your server, with the new one.
    • the old composer.json & composer.lock with the new one.
  3. Run the following (make sure to backup your database first!):

     $ composer install
     $ php bin/console doctrine:schema:update --force