Some tweaks may be necessary to these instructions if you have a developer setup or update on your local computer instead of a server. Read the installation docu for more information.
Change into your Kimai directory, then fetch the latest code and install all dependencies.
You might have to prefix the
bin/console commands with
sudo -u www-data (depends on your setup):
git fetch --tags git checkout 1.5 composer install --no-dev --optimize-autoloader
Refresh your cache:
bin/console cache:clear --env=prod bin/console cache:warmup --env=prod
And upgrade your database:
Remember to fix the file permissions if necessary (likely not required in a shared-hosting environment). Try if Kimai works without before executing this. Here is an example (for Debian based OS):
chown -R :www-data . chmod -R g+r . chmod -R g+rw var/ chmod -R g+rw public/avatars/
That’s it, Kimai is running the most current version. Enjoy the latest time-tracking features!