Issue Bug Closed

#110031Install Tool - Error on first install

Markus Kappe 06/10/26, 08:46 updated 08/11/26, 08:50

Description

After installing TYPO3 13.4.31 and starting the install wizard, I expect a card layout with the message
> To begin the installation, create an empty file called FIRST_INSTALL in the document root of your web server.
But I only get an empty card layout WITHOUT any message.

This did not happen in 13.4.30

Reviews 6

Files 2

History 1017

  1. Benjamin Franzke commented and changed attached clipboard-202606101312-rvtbw.png attached clipboard-202606101312-3uve6.png status New Accepted <span data-processor="relativetime" data-value="2026-06-10T11:13:07+00:00" > 06/10/26, 11:13 </span>

    Confirmed. looks like this:

    .clipboard-202606101312-rvtbw.png

    while it should look like:

    .clipboard-202606101312-3uve6.png

    Note: The bugfix for #110034 does not resolve this (seems to be a separate bug).

  2. Benjamin Franzke commented <span data-processor="relativetime" data-value="2026-06-10T11:35:03+00:00" > 06/10/26, 11:35 </span>

    Analysis shows that Be/InfoboxViewHelper tried to instantiate IconFactory during early boot.

    This fails because a warning is prodcued (this is our actualy issue)

    Core: Error handler (BE): PHP Warning: Undefined array key "encryptionKey" in /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Crypto/HashService.php line 42

    which then results in another issue, that the error logger again tries to instantiate IconFactory (we’re still inside the factory) in order to render the exception. This fails because it is considered as cyclic dependency.

    Posting the backtrace here for completeness:

    #0 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(112): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->create()
    #1 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/ServiceProvider.php(343): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->get()
    #2 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(92): TYPO3\CMS\Core\ServiceProvider::getIconFactory()
    #3 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(112): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->create()
    #4 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2902): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->get()
    #5 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/TimeTracker/TimeTracker.php(155): TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance()
    #6 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Error/ErrorHandler.php(172): TYPO3\CMS\Core\TimeTracker\TimeTracker->setTSlogMessage()
    #7 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Crypto/HashService.php(42): TYPO3\CMS\Core\Error\ErrorHandler->handleError()
    #8 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Crypto/HashService.php(66): TYPO3\CMS\Core\Crypto\HashService->hmac()
    #9 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Crypto/HashService.php(83): TYPO3\CMS\Core\Crypto\HashService->validateHmac()
    #10 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Serializer/AuthenticatedMessageDeserializer.php(47): TYPO3\CMS\Core\Crypto\HashService->validateAndStripHmac()
    #11 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php(97): TYPO3\CMS\Core\Serializer\AuthenticatedMessageDeserializer->deserialize()
    #12 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Imaging/IconRegistry.php(252): TYPO3\CMS\Core\Cache\Frontend\VariableFrontend->get()
    #13 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Imaging/IconRegistry.php(223): TYPO3\CMS\Core\Imaging\IconRegistry->getCachedBackendIcons()
    #14 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Imaging/IconRegistry.php(212): TYPO3\CMS\Core\Imaging\IconRegistry->initialize()
    #15 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Utility/GeneralUtility.php(2937): TYPO3\CMS\Core\Imaging\IconRegistry->__construct()
    #16 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Package/AbstractServiceProvider.php(263): TYPO3\CMS\Core\Utility\GeneralUtility::makeInstanceForDi()
    #17 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/ServiceProvider.php(389): TYPO3\CMS\Core\Package\AbstractServiceProvider::new()
    #18 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(59): TYPO3\CMS\Core\ServiceProvider::getIconRegistry()
    #19 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(63): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer::TYPO3\CMS\Core\DependencyInjection\{closure}()
    #20 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(92): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer::TYPO3\CMS\Core\DependencyInjection\{closure}()
    #21 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(112): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->create()
    #22 /var/www/html/TYPO313.CMS/typo3/sysext/install/Classes/ServiceProvider.php(308): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->get()
    #23 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(92): TYPO3\CMS\Install\ServiceProvider::getInstallerController()
    #24 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/DependencyInjection/FailsafeContainer.php(112): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->create()
    #25 /var/www/html/TYPO313.CMS/typo3/sysext/install/Classes/Middleware/Installer.php(56): TYPO3\CMS\Core\DependencyInjection\FailsafeContainer->get()
    #26 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3\CMS\Install\Middleware\Installer->process()
    #27 /var/www/html/TYPO313.CMS/typo3/sysext/install/Classes/Middleware/Maintenance.php(84): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
    #28 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(111): TYPO3\CMS\Install\Middleware\Maintenance->process()
    #29 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php(44): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
    #30 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
    #31 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(70): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()
    #32 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Http/AbstractApplication.php(87): TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle()
    #33 /var/www/html/TYPO313.CMS/typo3/sysext/install/Classes/Http/Application.php(47): TYPO3\CMS\Core\Http\AbstractApplication->handle()
    #34 /var/www/html/TYPO313.CMS/typo3/sysext/core/Classes/Http/AbstractApplication.php(110): TYPO3\CMS\Install\Http\Application->handle()
    #35 /var/www/html/TYPO313.CMS/typo3/install.php(19): TYPO3\CMS\Core\Http\AbstractApplication->run()
    #36 /var/www/html/TYPO313.CMS/typo3/install.php(20): {closure}()
  3. Gerrit Code Review pushed patch set 1 for 13.4 to change 94464 status Accepted Under Review <span data-processor="relativetime" data-value="2026-06-10T11:42:31+00:00" > 06/10/26, 11:42 </span>

  4. Oliver Hader commented <span data-processor="relativetime" data-value="2026-06-10T12:03:27+00:00" > 06/10/26, 12:03 </span>

    In this particular case (Install Tool, or even more specific: the first installation) we also might consider disabling stored caches at all (e.g. cache.assets is causing it here, using a VariableCache without having a properly defined encryption key).

  5. Benjamin Franzke commented <span data-processor="relativetime" data-value="2026-06-10T12:07:45+00:00" > 06/10/26, 12:07 </span>

    > In this particular case (Install Tool, or even more specific: the first installation) we also might consider disabling stored caches at all (e.g. cache.assets is causing it here, using a VariableCache without having a properly defined encryption key).

    I agree for main, but would tend to apply the ?? '' safeguard anyway, at least in v13/v14.
    Since it’s hard to guess what else could run into this (thinking about functionals of extensions or so).

  6. Helmut Hummel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-06-11T06:05:10+00:00" > 06/11/26, 06:05 </span>

    Applied in changeset commit:3c86b61a3b628fc64a57d88af590df1f10bb9539.