Skip to content
przemyslawlis edited this page May 30, 2018 · 9 revisions

This installation method is now retired, not supported and it’s not recommended to use it anymore. Guide below is outdated and will it will stay like that. Please use docker-compose Installation guide for currently recommended installation method.

Concerto v4 and earlier can’t be upgraded to version v5. If you currently have older version than v5 installed, you need to perform a new, clean installation. Please see: Linux Installation guide

Concerto Platform is in active development and is changing constantly. It’s highly recommended to use the latest version of Concerto Platform.
Let’s assume that you vhost root directory is /var/www/vhosts/concerto/
To perform an upgrade you need to:

Commands that are not prefixed with sudo should not be run with elevated privileges/as a super user.

  1. Change your working directory to your vhost root directory:
    cd /var/www/vhosts/concerto/
  2. Copy the latest source to your vhost root directory
    • If you installed it from zipped archive then you need to download latest zipped archive and overwrite all the files
    • If installed from git you need to enter:
      git pull
  3. Install PHP dependencies
    php -dmemory_limit=1G composer.phar install --prefer-source --no-interaction
  4. Install js dependencies
    cd /var/www/vhosts/concerto/src/Concerto/PanelBundle/Resources/public/angularjs
    bower install
    cd /var/www/vhosts/concerto/src/Concerto/TestBundle/Resources/public/angularjs
    bower install
  5. Install Concerto R package
    sudo R CMD INSTALL /var/www/vhosts/concerto/src/Concerto/TestBundle/Resources/R/concerto5
  6. Final Concerto setup:
    cd /var/www/vhosts/concerto/
    php app/console concerto:setup
    php app/console concerto:r:cache

    concerto:setup command above will create some directories and files that will be owned by the user that run the command. These directories and files need to be writable by whatever web user you’ll be using. If your web user is, for example, www-data and you didn’t run the command as this user, you should make sure that all the files in your Concerto Platform installation directory are owned by your web user. You can do that with following command:
    sudo chown -R www-data:www-data /var/www/vhosts/concerto

    where www-data should be replaced with your web user and /var/www/vhosts/concerto should be replaced with your installation path.
  7. Updating starter content:
    It’s highly recommended to backup your database before performing this step!
    php app/console concerto:content:import --convert
Clone this wiki locally