circle-caret-upUpdating GLPI

This page covers how to update to a new GLPI release.

Updating GLPI Network Cloud


If you're on a GLPI Network Cloudarrow-up-right plan, we'll upgrade your GLPI automatically with each new release; no action needed on your end (unless you're using the GLPI Network Cloud Private offer – so you may ask the upgrade on demand)

How soon we upgrade your instance depends on the type of release:

  • Security fixes: One week before the public release

  • Minor releases (e.g., 10.0.18 to 10.0.19): Usually about a week

  • Major releases (e.g., 10.0.20 to 11.0.0): Longer, usually months (just to make sure everything goes smoothly)

GLPI Network Cloud Privatearrow-up-right customers can request an update at support.teclib.com. Include the URL of the GLPI Network Cloud instance you want us to upgrade.

Updating a Self-Hosted GLPI


circle-check

Here are the steps for updating to a new GLPI version (major or minor):

  1. Back up of your application database and files

The application database keeps track of everything of your GLPI instance. It is very unlikely you'll need to roll back to your current version, nevertheless it is always great to have a point of coming back in case something goes wrong.

circle-exclamation
  1. Download latest GLPI version

On http://glpi-project.org/downloadarrow-up-right, find the latest version, and download it to your server, and extract it to an empty folder where your Web Server may find it.

  1. Ensure target directory is empty and extract files there

  1. Restore the downstream.php file previously backed up

circle-check
  1. Update GLPI

Open the GLPI Instance URL on your browser, or (recommended) use the php bin/console db:update command line toolarrow-up-right

The command line tool will check the integrity of your database to identify changes that could compromise the update, and run migrations to update GLPI

circle-exclamation
circle-info

Update process will automatically disable your plugins. So make sure to enable them again after updating them.

Specific migration of GLPI 10 plugins to GLPI 11

Here you will find the procedure to migrate GLPI 10 to GLPI 11, as well as the following plugins:

  • Generic Objects (now included in the core)

  • Fields (required if you use Fields with FormCreator)

  • FormCreator (now included in the core)

circle-exclamation
circle-exclamation
circle-check

Plugin migration

Generic Objects

  • If your plugin was not up to date before the migration (version prior to 2.14.14), please download and activate the plugin from the marketplace. Otherwise, proceed to the section ‘Enter the following command’.

Generic Object plugin installed and activated

Generic Objects plugin enabled

circle-exclamation

By clicking on the wrench icon, you can view the items detected by the plugin that will be migrated.

Steps to migrate
Assets to migrate to assets definitions
  • Run the following command

For Ubuntu and similar systems:

For CentOS and similar systems:

The process may take some time if you have a large amount of data to migrate. You should get a result similar to the following:

The migrated elements will be visible from the park as well as from the Generic Objects plugins.

Post-migration verification of Generic objects

Fields

circle-info

This step is required if you use Fields with FormCreator.

circle-exclamation

This is not a migration per se, but you must ensure that the plugin is present and enabled.

Fields plugin installed and enabled

FormCreator

  • If your plugin was not up to date before the migration (version prior to 2.13.10), please install and activate the FormCreator plugin. Otherwise, proceed to the section ‘Enter the following command’.

FormCreator plugin isntalled and enabled

  • From Tools > Formcreator EOL Info, you can view the number of forms to be migrated and those natively present in GLPI (2 by default).

Steps to migrate
Number of forms to migrate
  • Then run the following command

For Ubuntu and similar systems:

For CentOS and similar systems:

The process may take some time if you have a large amount of data to migrate. You should get a result similar to the following:

You can view the result from the migration status via Tools > Formcreator EOL Info.


You find a video covering this process below:

Last updated