1. It is important that you don’t execute the installation steps before or after your update
  2. Make sure that you have a working database backup before you start the update
  3. Read the UPGRADING guide and the release information to check if there are further steps required

Update process

Change into your Kimai 2 installation directory, then fetch the latest code and install all dependencies:

git fetch --tags
git checkout 0.9
sudo -u www-data composer install --no-dev --optimize-autoloader

Refresh your cache:

sudo -u www-data bin/console cache:clear --env=prod
sudo -u www-data bin/console cache:warmup --env=prod

And upgrade your database:

bin/console doctrine:migrations:migrate

Remember to check the UPGRADING guide for version specific tasks.

Done! Enjoy the latest version of Kimai :-)