DiouxX / docker-glpi

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

Request for GLPI docker image 9.5.1 #31

Closed mecmav closed 3 years ago

mecmav commented 4 years ago

Hi,

When the version 9.5.1 will be releases for download?

Thx.

DiouxX commented 4 years ago

Hi,

The 9.5.1 glpi version is already available. When you run the container GLPI, by default, it downloading the latest version.

Except if you specified version with env variable VERSION_GLPI=X.X.X

mecmav commented 4 years ago

I cannot update.

I did removed my old image 9.5.0 and downloaded again using docker pull diouxx/glpi:latest, but when I enter in GLPI still yet in 9.5.0

Am I doing something wrong?

DiouxX commented 4 years ago

You didn't do anything wrong.

My GLPI image don't support update if there is data in your volume.

#Extract to glpi-start.sh

if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ];
then
    echo "GLPI is already installed"
else
    wget -P ${FOLDER_WEB} ${SRC_GLPI}
    tar -xzf ${FOLDER_WEB}${TAR_GLPI} -C ${FOLDER_WEB}
    rm -Rf ${FOLDER_WEB}${TAR_GLPI}
    chown -R www-data:www-data ${FOLDER_WEB}${FOLDER_GLPI}
fi

Unfortunately, if you want update GLPI, you must download tarball release, extract in your GLPI volume and execute update manually by the web interface.

mecmav commented 4 years ago

Understood.

Thanks by your useful reply!

Your project are awesome!

DiouxX commented 4 years ago

I would have to add this update feature.

If GLPI version installed is older than latest or specified version so download tarball and extract in the volume

But I have to find the time to do that...

mecmav commented 4 years ago

OK, no problem with it. I will try too, when I have remain a little bit time.

I really aprecciate your help.

maitredede commented 4 years ago

Hi, I tried to update to lastet version (9.5.1), by following the documented upgrade process. The upgrade assistant shows missing php extensions : intl (required), zip (optional), bz2 (optional).

Edit : inside container, I reinstalled php plugins, added tzdata apt package, and restarted apache2. php extensions were detected properly. Now I have a php error when trying to upgrade database...

Edit 2 : I navigated to root page, upgrade process has gone to the end.

DiouxX commented 4 years ago

Hi,

For this problem, you could try by updating your local image by docker pull diouxx/glpi and it should be fine.