DiouxX / docker-glpi

Project to deploy GLPI with docker
219 stars 185 forks source link

Update #117

Closed FraanCIB closed 3 months ago

FraanCIB commented 4 months ago

Is it possible to update the version with a docker compose pull? Or what way do I have to use to be able to update?

DiouxX commented 4 months ago

I've not implemented the GLPI update via docker-compose pull. The docker-compose pull will update only the docker container but not GLPI if it's already installed

To update your existing GLPI installation, you can use your GLPI volume on your host to update with the tarball in the "classic" way :

  1. Download tarball : wget https://github.com/glpi-project/glpi/releases/download/10.0.14/glpi-10.0.14.tgz
  2. Extract tarball : tar -xf glpi-10.0.14.tgz
  3. Copy content to yyour GLPI folder : cp -Rf glpi/* /
  4. Update ownershirp : chown -R www-data:www-data /*
  5. Clean old version (maybe optional) : /version/
  6. Go to your GLPI website to proceed update
  7. Delete install.php: rm /install/install.php

This is an example and some steps need to be adapted to your configuration