You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-12-19 19:05:36

djoaquin33
Member
Registered: 2022-12-17
Posts: 7

Clarification Regarding Update Directions

Hello All,

I am brand new to GLPI and have not used Linux/Apache in years.  This question may be obvious and I'm just missing it.  Our server is currently on version 10.0.0 and running on Ubuntu/Apache2.  I want to update to 10.0.5 but am a little confused by the directions.  It directs you to upload and extract the new version to the www\glpi folder, then use a web browser to go to that location and choose upgrade instead of install.  My confusion www\glpi is where the current install of glpi is.  Do I upload and extract overwriting what is currently there?  Or should I be extracting to a different folder and then some how directing a url to that folder to initiate the update?

Thank you in advance,

Daniel

Offline

#2 2022-12-19 19:23:10

hanse
Member
Registered: 2022-12-19
Posts: 6

Re: Clarification Regarding Update Directions

Hi Daniel

In my experience the content of www/glpi does not contain the data, only the app. So overwriting that folder should grant you the new version, without destroying your current install. If you then navigate to the URL you mentioned, you will choose Upgrade. If you decide to click "Install" over there, you will destroy your instance and build a fresh one. This is my understanding. So please do this with caution, and make sure you have backups. This whole explanation is written from experience with other lamp stack applications.

HTH

h

Offline

#3 2022-12-20 13:39:42

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Clarification Regarding Update Directions

Please do not just overwrite your existing GLPI folder. This leaves old code files that may have been removed or moved in the newer version and it will cause issues.

The documentation for updating can be found here:
https://glpi-install.readthedocs.io/en/ … pdate.html

As always, make a backup of your database before attempting an update.

1. Download the latest GLPI version from the GitHub's releases page (choose the download that doesn't say source)
2. Rename the existing GLPI folder to something like "glpi-10.0" just so it won't conflict with the new version
3. Extract the downloaded archive of the new version of GLPI where the old folder was and with its original name
4. Copy the contents from the config, files, marketplace, and plugins folders from the old GLPI folder to the new one. These folders contain plugins, database config, security key, documents, etc.
5. Open GLPI in the web browser and follow the update wizard or use the GLPI CLI tool to complete the update
6. If the update was successful, you can remove the old GLPI folder.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#4 2022-12-20 18:15:28

djoaquin33
Member
Registered: 2022-12-17
Posts: 7

Re: Clarification Regarding Update Directions

Hello CConrad96!

Just in time.  I was planning to do the update in the next 30 minutes (just got into the office).  So that clarification was just in time.  Those directions are much more clear and detailed then what they have in the 10 documentation 

I'll use the process you recommended.

Best regards,
Daniel

Offline

#5 2022-12-20 21:19:08

djoaquin33
Member
Registered: 2022-12-17
Posts: 7

Re: Clarification Regarding Update Directions

Upgrade successful!  Updated and all working correctly.  I did have to locate the db name, user, and pw but that can all be found in the config file that was backed up.

Thank you for the help!

Offline

#6 2022-12-20 22:44:57

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Clarification Regarding Update Directions

Good to hear it went well.

Where is the GLPI 10 documentation you were looking at before? Was it the documentation I linked?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#7 2022-12-21 02:41:26

djoaquin33
Member
Registered: 2022-12-17
Posts: 7

Re: Clarification Regarding Update Directions

Hello,


Actually now looking at what you sent vs. what I saw, it is the same but I was working out of the Install/Update area under Install Wizard.  Because it seems to be the end of that section when you move on to Timezones, I did not realize there was another Update section.

Thank you for pointing me to the correct area.

Best regards,
Daniel

Offline

#8 2022-12-24 22:25:17

salimedwardo
Member
Registered: 2022-12-11
Posts: 9

Re: Clarification Regarding Update Directions

djoaquin33 wrote:

Hello All,

I am brand new to GLPI and have not used Linux/Apache in years.  This question may be obvious and I'm just missing it.  Our server is currently on version 10.0.0 and running on Ubuntu/Apache2.  I want to update to 10.0.5 but am a little confused by the directions.  It directs you to upload and extract the new version to the www\glpi folder, then use a web browser to go to that location and choose upgrade instead of install.  My confusion www\glpi is where the current install of glpi is.  Do I upload and extract overwriting what is currently there?  Or should I be extracting to a different folder and then some how directing a url to that folder to initiate the update?

Thank you in advance,

Daniel

If you decide to click "Install" over there, you will destroy your instance and build a fresh one. This is my understanding.

Offline

#9 2023-02-28 10:18:53

salimedwardo
Member
Registered: 2022-12-11
Posts: 9

Re: Clarification Regarding Update Directions

If you then navigate to the URL you mentioned, you will choose Upgrade. If you decide to click "Install" over there, you will destroy your instance and build a fresh one. This is my understanding.

Offline

Board footer

Powered by FluxBB