#110031Install Tool - Error on first install
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
- main 94473[BUGFIX] Make cache `NullBackend` transient
- 13.4 94492[BUGFIX] Make cache `NullBackend` transient
- 14.3 94493[BUGFIX] Make cache `NullBackend` transient
- 14.3 94468[BUGFIX] Handle the case where encryptionKey is not set
- main 94467[BUGFIX] Handle the case where encryptionKey is not set
- 13.4 94464[BUGFIX] Handle the case where encryptionKey is not set
Related issues 2
Files 2
History 1017
-
Christian Kuhn changed Related to #110034 <span data-processor="relativetime" data-value="2026-06-10T10:56:28+00:00" > 06/10/26, 10:56 </span>
-
Benjamin Franzke commented and changed attached clipboard-202606101312-rvtbw.png attached clipboard-202606101312-3uve6.png status
NewAccepted <span data-processor="relativetime" data-value="2026-06-10T11:13:07+00:00" > 06/10/26, 11:13 </span> -
Oliver Hader changed Duplicates #110030 <span data-processor="relativetime" data-value="2026-06-10T11:22:43+00:00" > 06/10/26, 11:22 </span>
-
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
IconFactoryduring 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}() -
Gerrit Code Review pushed patch set 1 for 13.4 to change 94464 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-06-10T11:42:31+00:00" > 06/10/26, 11:42 </span> -
Benjamin Franzke changed Related to #110044 <span data-processor="relativetime" data-value="2026-06-10T12:00:11+00:00" > 06/10/26, 12:00 </span>
-
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.assetsis causing it here, using aVariableCachewithout having a properly defined encryption key). -
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). -
Oliver Hader changed
Duplicates #110030<span data-processor="relativetime" data-value="2026-06-10T12:09:15+00:00" > 06/10/26, 12:09 </span> -
Gerrit Code Review pushed patch set 1 for main to change 94467 <span data-processor="relativetime" data-value="2026-06-10T12:12:38+00:00" > 06/10/26, 12:12 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 94468 <span data-processor="relativetime" data-value="2026-06-10T12:13:56+00:00" > 06/10/26, 12:13 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 94473 <span data-processor="relativetime" data-value="2026-06-10T18:56:46+00:00" > 06/10/26, 18:56 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 94473 <span data-processor="relativetime" data-value="2026-06-10T18:58:35+00:00" > 06/10/26, 18:58 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 94492 <span data-processor="relativetime" data-value="2026-06-11T05:50:38+00:00" > 06/11/26, 05:50 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 94493 <span data-processor="relativetime" data-value="2026-06-11T05:51:00+00:00" > 06/11/26, 05:51 </span>
-
Helmut Hummel commented and changed status
Under ReviewResolved done0 %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.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:50:53+00:00" > 08/11/26, 08:50 </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).