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 2018-11-13 14:48:22

jagan
Member
Registered: 2017-03-31
Posts: 9

Upgrade 9.2.4 to 9.3.2 Fails with New GLPI version 9.2.4

Hello,

I'm trying to upgrade GLPi 9.2.4 to version 9.2.3 on Debian with Apache and MariaDB.  I've done upgrades before but I must be forgetting/missing something.  The database appears to have been upgraded just not GLPI itself.

I've downloaded the new version, extracted into the existing /var/www/glpi/ folder, run chown -r www-data:www-data on that folder, but nothing happens when I try logging in.

Next I've tried to run:

root@debian /var/www/glpi/scripts# php cliupdate.php --lang en_US --force        (and get the following)

PHP Warning: Module 'imap' already loaded in Unknown on line 0
Current GLPI version    : 9.2.4

New GLPI version:    :  9.2.4

Current GLPI database version:    9.2.3

New GLPI database version:    9.2.3

Default GLPI Language    : en_GB


====Update to 9.2.3 ====
Task Completeed. (0 seconds)

Forced migration Done.


root@debian /var/www/glpi/scripts#



Thanks in advance, Jim

Offline

#2 2018-11-13 16:47:10

Pandita
Member
From: Poland
Registered: 2018-01-22
Posts: 21

Re: Upgrade 9.2.4 to 9.3.2 Fails with New GLPI version 9.2.4

Hello,

check twice if you downloaded the right version. You wrote "Upgrade 9.2.4 to 9.3.2", then "upgrade GLPi 9.2.4 to version 9.2.3" and your CLI output is:
====Update to 9.2.3 ====
Looks like incorrect package.

Offline

#3 2018-11-13 16:50:46

Pandita
Member
From: Poland
Registered: 2018-01-22
Posts: 21

Re: Upgrade 9.2.4 to 9.3.2 Fails with New GLPI version 9.2.4

Offline

#4 2018-11-13 18:31:08

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,146

Re: Upgrade 9.2.4 to 9.3.2 Fails with New GLPI version 9.2.4

did you download zip file ( source ) or tgz file ? (https://github.com/glpi-project/glpi/re … -9.3.2.tgz)

you should :
rename /var/www/glpi/ > /var/www/glpi924/
untar tgz file
copy glpi924/files into glpi (new)
set owner and rights (chown, chmod)

run scripts


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#5 2018-11-15 21:31:54

jagan
Member
Registered: 2017-03-31
Posts: 9

Re: Upgrade 9.2.4 to 9.3.2 Fails with New GLPI version 9.2.4

Hi again,

Sorry so long to reply.  I discovered I had untar'd to /var/www/glpi/glpi folder within the intended folder once I examined the files.  I removed the glpi subfolder. 

This worked:
root@server # tar -xvzf /home/user/Downloads/glpi-9.3.2.tgz -C /var/www/
root@server # chown -R www-data:www-data /var/www/glpi/

I received errors regarding crashed tables so I ran:

root@server # service apache2 stop
root@server # mysqlcheck --auto-repair -u root -p glpi
root@server # service apache2 start

At a couple of other points I saw messages regarding tables not migrated to innodb so I ran:

root@server # service apache2 stop
root@server # cd /var/www/glpi/scripts/
root@server # php innodb_migration.php
root@server # service apache2 start


Also, running our of free space was another gotcha due to my backups piling up bc I don't have a setup like logrotate or such.


I really appreciate the quick reply on my post.  I hope some of the steps will help others avoid the time I spent remembering/searching for the answers.


Thanks again, Jim

Offline

Board footer

Powered by FluxBB