Closed NoxWorld2660 closed 3 months ago
Hi,
This issue is fixed by #17481. You should restore you backup, reinstall the GLPI 10.0.16 source files, apply the patch (ignore the test file) and run the migration.
@cedric-anne , thank you for your quick reply, i'll do that.
Code of Conduct
Is there an existing issue for this?
Version
10.0.9
Bug description
System Situation :
I run GLPI with Apache 2.4 ; PHP 8.2.10 ; on a Windows Server 2019 ; Database is on the localhost with a MySQL 8
Bug :
When upgrading from GLPI 10.0.9 to GLPI 10.0.16 i have a crash when migating DB at the step where i go from 10.0.11 to 10.0.12 , see the image in attachment in the section with "BEFORE".
The error i have seems totally ridiculous. I tried to make a fresh install of GLPI 10.0.16 and i don't have a column "field" in the "glpi_tickettemplatehiddenfields" table. After digging into the code it seems the problem is coming from this file : "D:\www\glpi-fresh-10-0-16\install\migrations\update_10.0.11_to_10.0.12\duplicate_searchop_fixes.php" I don't understand where the table name and fields are coming, but that's probably the issue. Maybe it's related to MySQL 8 specifically ?
When upgrading through web browser, i have the exact same issue & error.
Workaround :
I renamed this file in ".crap" so it's ignored by the migration. After that it works, see Attachment with "AFTER". However i don't know if i will experience bug after since i don't exactly get what this migration step does ? If anyone can tell me what SQL i can eventually execute manually to make sure i don't have any bug regarding research ?
So after that, i successfully upgraded to v10.0.16 but i am not very confident since i skipped a step of the migration to v10.0.12.
Relevant log output
No response
Page URL
No response
Steps To reproduce
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
SQL replicas
Notifications
Plugins list
Anything else?
No response