更新

备注

每次更新,正式执行更新前,请务必注意备份备份备份!

  • 备份数据库备份数据库备份数据库;

  • 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.

警告

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.

警告

您不应该尝试在非空数据库上恢复数据库备份(例如,由于任何原因部分迁移的数据库)。

在恢复备份并尝试更新之前,请确保数据库为空,并在失败时重复此操作。

备注

Update process will automatically disable your plugins.

备注

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.

|CC-by-NC-ND|