Usually there’s no need to do this, but if you encounter any configuration problems you can reset the plugin configuration by executing a single SQL command. Make sure that you know what are you’re doing and before executing the command create a backup of your data.
Show current configuration: SELECT * FROM kimai2_configuration WHERE name LIKE 'controlling.%';
Reset configuration: DELETE FROM kimai2_configuration WHERE name LIKE 'controlling.%';
For a list of all requirements to make this software functional, please e-mail us to info (at) mrsoft (dot) gmbh
Плагины всегда должны быть совместимы с более высокими версиями Kimai. Следующий список содержит версию плагина и необходимую минимальную версию Kimai.
Версия сборки | Минимальная версия Kimai |
---|---|
1.23 | 1.16.10 |
Extract the ZIP file and upload the included directory and all files to your Kimai installation to the new directory:
var/plugins/ControllingBundle/
The file structure needs to look like this afterwards:
var/plugins/
├── ControllingBundle
│ ├── ControllingBundle.php
| └ ... more files and directories follow here ...
After uploading the files, Kimai needs to know about the new plugin. It will be found once the cache was re-built. Call these commands from the Kimai directory:
bin/console kimai:reload --env=prod
It is not advised, but in case the above command fails you could try:
rm -r var/cache/prod/*
You might have to set file permissions afterwards:
You have to allow PHP (your webserver process) to write to
var/
and it subdirectories.
Here is an example for Debian/Ubuntu (to be executed inside the Kimai directory):
chown -R :www-data .
chmod -R g+r .
chmod -R g+rw var/
Test Kimai before executing these commands (they are likely not required in a shared-hosting environment).
You probably need to prefix them with sudo
and
the group might be called different than www-data
.
Run the following command:
bin/console kimai:bundle:controlling:install
This will create the required database tables and update them to the latest version.
There are no commands defined in the "kimai:bundle:XYZ" namespace.
,
then either the directory has a wrong name (must be var/plugins/ControllingBundle/) or you forgot to clear the cache (look above).
The following command will install the required assets (images, javascripts, styles):
bin/console assets:install