Aktualizace¶
Poznámka
Jako při každé aktualizaci, je třeba před přechodem na novější verzi zazálohovat některá data:
zazálohujte svou databázi;
backup your config directory, especially for your GLPI key file (config/glpi.key or config/glpicrypt.key) which is randomly generated;
backup your files directory, it contains users and plugins generated files, like uploaded documents;
backup your marketplace and plugins directory.
Here are the steps to update GLPI:
Download latest GLPI version.
Ensure the target directory is empty and extract files there.
Restore the previously backed up config, files, marketplace and plugins directory.
Then open the GLPI instance URI in your browser, or (recommended) use the php bin/console db:update command line tool.
Varování
As soon as a new version of GLPI files is detected, you will not be able to use the application until the update process has been done.
Varování
Neměli byste se pokoušet obnovit zálohu databáze do neprázdné databáze (například databáze, která byla z nějakého důvodu převedena na novější jen z části).
Před zahájením obnovení ze zálohy ověřte, že je cílová databáze prázdná a pak teprve se pokuste o aktualizaci. V případě nezdaru je třeba opět začít od obnovy do prázdné databáze.
Poznámka
Update process will automatically disable your plugins.
Poznámka
Since GLPI 10.0.1, you can use the php bin/console db:check command line tool before executing the update command. This will allow you to check the integrity of your database, and to identify changes to your database that could compromise the update.