How to Update GLPI 10

How to Update GLPI 10

Spread the love
How to Update GLPI 10

Updating GLPI to the latest version is a pretty simple process but it is a good idea to do a backup of the current glpi config before starting the upgrade.

As a secondary backup copy the glpi folder to a backup folder by running the following command

cp -r /var/www/html/glpi/ /var/www/html/glpi-old

The upgrade process is as follows:

Download the latest version

On the glpi server run the following command to down load the latest version of glpi (10.0.5 at the moment):

wget https://github.com/glpi-project/glpi/releases/download/10.0.5/glpi-10.0.5.tgz

Extract the tgz file

To extract the tgz file run the following command:

tar -xvf glpi-10.0.5.tgz

This will create a glpi folder which can be copied to /var/www/html/ to overwrite the current glpi folder

Upgrade GLPI

Copy the new glpi that was created when running the tar command above to /var/www/html

cp -r glpi /var/www/html/

This will overwrite the old version of glpi with the new version

Once the folder is copied open a browser and go to http:/serverip/glpi this will take you to the upgrade page:

How to Update GLPI 10
How to Update GLPI 10 7

Scroll to the bottom of the page and click Upgrade:

How to Update GLPI 10
How to Update GLPI 10 8

The upgrade will run and when finished you will see the following:

How to Update GLPI 10
How to Update GLPI 10 9

Click Use GLPI to be taken to the login page.

How to Update GLPI 10
How to Update GLPI 10 10

When you login you will notice the error banner about removing /install/install.php:

How to Update GLPI 10
How to Update GLPI 10 11

From the console run the following command to remove the install.php file and clear the warning:

rm /var/www/html/glpi/install/install.php

Refresh the page and the warning will be gone:

How to Update GLPI 10
How to Update GLPI 10 12

You can now enjoy your upgraded GLPI Server

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top