Skip to content

Encryption issue on upgrade from 10.0.7 to 11.0.6 - glpicrypt.key - symfony bug #23757

@valentindragan

Description

@valentindragan

Code of Conduct

  • I agree to follow this project's Code of Conduct

Disable plugins

  • I reproduce the issue with all plugins disabled

Is there an existing issue for this?

  • I have searched the existing issues

Version

11.0.6

Bug description

Upgrading from 10.0.7 to 11.0.6 shows unexpected error and progress incomplete progress, but after the screen shows that the system has been upgraded to 11.0.6

Application cannot be used after upgrade. Tried it two times, same outcome.
(second time with all plugins disabled)

The string shown in the output error is part of the key string from the glpicryp.key file. (K_–²A•}¶Ö)

If i try to access the application after the failed installation, i get the symfony parameter bag error, related to the glpicrypt file

Relevant log output

php-errors.log
[2026-04-02 21:35:46] glpi.WARNING:   *** Test logger
[2026-04-02 21:44:08] glpi.CRITICAL:   *** Uncaught Exception: The parameter "kernel.secret" has a dependency on a non-existent parameter "K_–²A•}¶Ö".
  Backtrace :
  ...ency-injection/ParameterBag/ParameterBag.php:93 
  ...ncy-injection/ParameterBag/ParameterBag.php:245 Symfony\Component\DependencyInjection\ParameterBag\ParameterBag->get()
  :                                                  Symfony\Component\DependencyInjection\ParameterBag\ParameterBag->Symfony\Component\DependencyInjection\ParameterBag\{closure}()
  ...ncy-injection/ParameterBag/ParameterBag.php:234 preg_replace_callback()
  ...ncy-injection/ParameterBag/ParameterBag.php:205 Symfony\Component\DependencyInjection\ParameterBag\ParameterBag->resolveString()
  ...ncy-injection/ParameterBag/ParameterBag.php:158 Symfony\Component\DependencyInjection\ParameterBag\ParameterBag->resolveValue()
  ...ompiler/ResolveParameterPlaceHoldersPass.php:60 Symfony\Component\DependencyInjection\ParameterBag\ParameterBag->resolve()
  ...y/dependency-injection/Compiler/Compiler.php:80 Symfony\Component\DependencyInjection\Compiler\ResolveParameterPlaceHoldersPass->process()
  ...y/dependency-injection/ContainerBuilder.php:768 Symfony\Component\DependencyInjection\Compiler\Compiler->compile()
  ...lpi/DependencyInjection/PluginContainer.php:139 Symfony\Component\DependencyInjection\ContainerBuilder->compile()
  ...tener/PostBootListener/InitializePlugins.php:78 Glpi\DependencyInjection\PluginContainer->initializeContainer()
  ...ymfony/event-dispatcher/EventDispatcher.php:260 Glpi\Kernel\Listener\PostBootListener\InitializePlugins->onPostBoot()
  ...ymfony/event-dispatcher/EventDispatcher.php:220 Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
  ...symfony/event-dispatcher/EventDispatcher.php:56 Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
  ./src/Glpi/Kernel/Kernel.php:149                   Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
  ./vendor/symfony/http-kernel/Kernel.php:201        Glpi\Kernel\Kernel->boot()
  ./public/index.php:71                              Symfony\Component\HttpKernel\Kernel->handle()


migration_to_11.0.6.log
2026-04-02 21:44:05 [@srv11]
Data migration - glpi_displaypreferences
2026-04-02 21:44:05 [@srv11]
Change of the database layout - glpi_tickettemplatepredefinedfields
2026-04-02 21:44:05 [@srv11]
Change of the database layout - glpi_changetemplatepredefinedfields
2026-04-02 21:44:05 [@srv11]
Change of the database layout - glpi_problemtemplatepredefinedfields
2026-04-02 21:44:05 [@srv11]
Change of the database layout - glpi_notificationtargets
2026-04-02 21:44:05 [@srv11]
Adding unicity indices - glpi_notificationtargets
2026-04-02 21:44:05 [@srv11]
Change of the database layout - glpi_plugins
2026-04-02 21:44:05 [@srv11]
Update to 11.0.6 version completed.

Page URL

/install/update.php

Steps To reproduce

  • unpacked glpi 11.0.6 to project root
  • copied config, files, marketplace, plugins dirs from old application (10.0.7) to the new one
  • copied the database
    • prepared the database connection
  • accessed the application where the upgrade page was loaded with no warning
  • everything goes well up to Update to 11.0.6 version completed message
  • right afte the upgarde completed message i get An unexpected error occurred
Image

Your GLPI setup information

not available - i didn't have an working GLPI on the upgrade server

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions