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 2023-08-16 14:01:01

GoldfischMann
Member
Registered: 2022-06-13
Posts: 7

Purpose of install/install.php

Hello,

I am trying to put GLPI into a Docker container.
My question is the following:

If I already have an GLPI installation and a new update is released, do I need the file install/install.php ?
Or can I safely delete it as it is only needed for brand new installations?


Thank you for your help.

Regards

Offline

#2 2023-08-16 17:37:41

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

Re: Purpose of install/install.php

You do not need it. When you update, and follow the official update procedure, you would have a new copy of that file when you download the new version from GitHub.
So, after the initial installation and each update, you will see that warning asking you to remove the file.

You can find the official update procedure here:
https://glpi-install.readthedocs.io/en/ … pdate.html


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

#3 2023-08-22 07:55:28

GoldfischMann
Member
Registered: 2022-06-13
Posts: 7

Re: Purpose of install/install.php

Thank you for your answer.
I was already aware of this, Maybe I did not express myself correctly.

Is this file needed for the update procedure?

When building a Docker Container I want to avoid having extra logic that determines if the file can be deleted at starttime.

Offline

#4 2023-08-22 13:01:03

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

Re: Purpose of install/install.php

GoldfischMann wrote:

Is this file needed for the update procedure?

If you need to update using the web interface, yes. Otherwise, no; just use the GLPI CLI to update the database schema and perform any of the optional migrations.


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

Board footer

Powered by FluxBB