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-06-29 17:46:51

harguilar
Member
Registered: 2022-06-29
Posts: 3

upgrade my GLPI using Docker

Hi everyone,
Currently, am running GLPI 10.0.0 in a docker container environment. Am facing few issues, one of them is to integrate GLPI with email notification as well LDAP auth. I found that they sent a new version of the GLPI which is 10.0.2.
I would like to upgrade my GLPI to 10.0.2 to see if those error can get fixed.
In the same note, I also would like to upgrade GLPI php to 8, because am getting this error: Parse error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST) in D:\www\domains\htdocs\glpi\src\Features\Inventoriable.php on line 50

Line 50 in that file is

    protected ?CommonDBTM $agent = null;

I found the solution is to upgrade the php version, which is under this location:  Setup > General on the System tab along with the other GLPI system information. I did not find a way to edit and in local machine I do not know because am running everything under docker container.
Any help is welcome. Thanks in Advance.

Offline

#2 2022-06-30 12:12:58

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

Re: upgrade my GLPI using Docker

Add here sugestion - In my spare time I will try to add a container with PHP 8
https hmm/github.com/Wolvverine/docker-glpi

Offline

#3 2022-07-01 15:40:31

harguilar
Member
Registered: 2022-06-29
Posts: 3

Re: upgrade my GLPI using Docker

I would appreciate if you can do that.
I hope your spare time comes soon.

Offline

#4 2022-07-02 13:56:01

rr88
Member
Registered: 2022-07-02
Posts: 2

Re: upgrade my GLPI using Docker

I use it with Laradock and worked fine on php8.


GLPI 10.0.2 Copyright (C) 2015-2022 Teclib' and contributors
Ubuntu 20.04.4 LTS
PHP 8.0.18
MySQL 8.0.28 / 10.8.3-MariaDB

Offline

#5 2022-12-27 06:57:26

teguh.umar
Member
From: Indonesia
Registered: 2011-05-20
Posts: 161

Re: upgrade my GLPI using Docker

wolvverinemp wrote:

Add here sugestion - In my spare time I will try to add a container with PHP 8
https hmm/github.com/Wolvverine/docker-glpi

I have read your Readme on github, What if install plugins after deploying GLPI docker ?


GLPI 10.0.10
Installation mode: zip on OREL9

Offline

#6 2022-12-29 13:52:24

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

Re: upgrade my GLPI using Docker

teguh.umar wrote:
wolvverinemp wrote:

Add here sugestion - In my spare time I will try to add a container with PHP 8
https hmm/github.com/Wolvverine/docker-glpi

I have read your Readme on github, What if install plugins after deploying GLPI docker ?

It works the same as in other GLPI installations, you delete the directory with the old plugin on the plugin volume (preferably) or in the docker (it will disappear when you delete the container), and upload the directory with the new plugin.

Last edited by wolvverinemp (2023-04-13 01:37:50)

Offline

#7 2023-04-13 01:36:42

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

Re: upgrade my GLPI using Docker

First build with php 8.2

https hmm/hub.docker.com/repository/docker/wolvverine/docker-glpi/tags?page=1&ordering=last_updated&name=82

some template script for easy instalation:

https hmm/github.com/Wolvverine/docker-glpi/tree/develop/install%20scripts

Offline

Board footer

Powered by FluxBB