-
Notifications
You must be signed in to change notification settings - Fork 73
Description
My actions and results
- Made a database dump
- I transferred the database dump, GLPI 10 files, and the /var/lib/glpi folder to another server.
- Updated GLPI to 11
- Copied the new versions of the GenericObject and Fields plugins to the "marketplace" folder (my plugins live there for some reason). Manually applied the suggested fix Fix(core): fix bad SQL table used for GO migration #1070
- Activated Genericobject
- In the Ubuntu terminal, I executed "sudo -u www-data php bin/console migration:utf8mb4" and "sudo -u www-data php bin/console migration:unsigned_keys" (This requires GLPI11 on the main page)
- I went to the plugins page and clicked Update on the Fields plugin. I got an error in the logs:
[2025-11-04 13:02:03] glpi.CRITICAL: *** Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "PluginFieldsGlpicustomassetusedsystemassetusadditinfo" from the global namespace. Did you forget a "use" statement?" at container.class.php line 761 Backtrace : ./marketplace/fields/inc/container.class.php:761 ./marketplace/fields/inc/container.class.php:464 PluginFieldsContainer::create() ./marketplace/fields/hook.php:87 PluginFieldsContainer::installUserData() ./src/Plugin.php:1160 plugin_fields_install() ./front/plugin.form.php:60 Plugin->install() ...Glpi/Controller/LegacyFileLoadController.php:64 require() ./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke() ./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw() ./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle() ./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()
At this moment, in the Debug GLPI mode, the inscription "MySQL tables installation" appears on the page at the top
In the log file /var/log/glpi/migration_to_1.22.2.log:
2025-11-04 13:45:42 [6@Server-ITSM]
0 seconds for "Updating glpi_plugin_fields_fields"
2025-11-04 13:45:42 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_computeradddescriptions
2025-11-04 13:45:43 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_printermeddevcontoprints
2025-11-04 13:45:43 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_printermeddevcontoprints
2025-11-04 13:45:44 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_printermeddevcontoprints
2025-11-04 13:45:44 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_printermeddevcontoprints
2025-11-04 13:45:44 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_computermeddevconneceteds
2025-11-04 13:45:45 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_computermeddevconneceteds
2025-11-04 13:45:45 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_printerprintersupplieslasers
2025-11-04 13:45:45 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_printerprintersupplieslasers
2025-11-04 13:45:46 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_fields
2025-11-04 13:45:46 [6@Server-ITSM]
Change of the database layout - glpi_plugin_fields_labeltranslations
2025-11-04 13:45:46 [6@Server-ITSM]
Update to 1.22.2 version completed.
2025-11-04 13:45:46 [6@Server-ITSM]
4 seconds for "Fix fields names"
2025-11-04 13:45:46 [6@Server-ITSM]
Update to 1.22.2 version completed.
2025-11-04 13:45:46 [6@Server-ITSM]
0 seconds for "Regenerate containers files"