DiouxX / docker-glpi

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

VERSION_GLPI=10.0.5 not working #78

Closed rafaelllourenco closed 1 year ago

rafaelllourenco commented 1 year ago

Hello,

I have deployed GLPI using docker-compose and the environment variable for the version is not working.

Please find my docker-compose.yml below:

#GLPI Container
  glpi:
    image: diouxx/glpi
    container_name : glpi
    hostname: glpi
    ports:
      - "80:80"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/www/html/glpi/:/var/www/html/glpi
    environment:
      - TIMEZONE=Europe/Luxembourg
      - VERSION_GLPI=10.0.5
    restart: always
    networks:
      glpi_network:
        ipv4_address: 172.30.0.3

And the version in the GUI... image

Do you know what is the root cause or is this feature implemented?

Thank you!

akoscomp commented 1 year ago

This option can't update glpi. Only can install it, if you create a new (clean) docker instance.

DiouxX commented 1 year ago

Hi,

For an existing installation, to update your GLPI, you must update it with the "classic" method as explained in this closed issue https://github.com/DiouxX/docker-glpi/issues/50

If you have an existing glpi installation, changing the GLPI version in the docker-compose will not update glpi. This functionality is not supported/implemented in the docker image.

To update glpi, you can do it "manually" and "traditionally".