You are not logged in.
Pages: 1
Topic closed
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
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
Follow the docs carefully: https://glpi-install.readthedocs.io/en/ … pdate.html
Offline
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
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
Pages: 1
Topic closed