This guide describes how to update your local eFront portal installed with Docker. For the installation guide, check how to install a local eFront portal using Docker.
- Make a backup copy of your current eFront directory.
- Download the latest available eFront package. You can find it under 'Versions' on your eFront License account page. The zip file contains the entire eFront installation. If you don't have an account already, contact us.
- Using a terminal, run the following command inside the directory where eFront is installed:
docker-compose down
- Extract the latest eFront package on top of your current installation, making sure that existing files are replaced.
- Using a terminal, run the following command inside the directory where eFront is installed:
docker-compose up -d
- Visit your eFront installation and sign in as an Administrator. Any required database upgrade will happen automatically and you may continue using the system. Users normally won’t experience any disruption. Depending on the installed version and the version you’re upgrading from, there is a small chance that a few errors may appear for a few seconds during the upgrade process.
Note: For the upgrade scripts to run without issues, your first login after an upgrade must be as a System Administrator. |
Updating to eFront v7.2.0
Starting with eFront 7.2.0, the eFront Docker Solution uses PHP8.0 instead of PHP7.4. If you are using an older version of eFront Docker with PHP7.4, you need to rebuild the containers to use the PHP8.0 version. To do so follow the steps below:
- Open a terminal and navigate to the directory where eFront is installed and run:
docker build ./docker/php8.0
and
docker build ./docker/crond
- These commands will rebuild the respective containers to use PHP8.0. Restart the containers for the changes to take effect by running:
docker-compose down
and
docker-compose up -d