Issue Bug Closed

#105964Install tool can be opened during total backend shutdown

Lina Wolf 01/20/25, 09:17 updated 12/02/25, 14:26

Description

When the `$GLOBALS[‘TYPO3_CONF_VARS’][‘BE’][‘adminOnly’]` is set to `-1`
and you try to log into the backend the following error message is displayed:

```
Backend and Install Tool are locked for maintenance. [BE][adminOnly] is set to “-1”.
```

This suggests to me that the Install tool is also locked. However accessing the install tool
via https://site-introduction.ddev.site/typo3/install.php still works.

So either the error message is incorrect (then I would open a forge ticket) or the install tools can be opened even though they shouldn’t be (checked with the security team, they see no security issue here).

According to the docs https://docs.typo3.org/permalink/t3coreapi:confval-globals-typo3-conf-vars-be-adminonly
a value of -1 means “Total shutdown for maintenance purposes”

So not sure which behaviour would be expected here.

Reviews 3

History 610

  1. Oliver Hader commented <span data-processor="relativetime" data-value="2025-01-20T10:46:20+00:00" > 01/20/25, 10:46 </span>

    The corresponding functionality has been rewritten for TYPO3 v6.2.0

    from https://review.typo3.org/c/Packages/TYPO3.CMS/+/21468/16/typo3/install/index.php
    to https://review.typo3.org/c/Packages/TYPO3.CMS/+/21468/16/typo3/sysext/install/Start/Install.php

    However, the corresponding check in the previous index.php was omitted/forgotten:

    \TYPO3\CMS\Core\Core\Bootstrap::getInstance()
     // ...
     ->checkLockedBackendAndRedirectOrDie()
     // ...

    → Thus, until TYPO3 v6.2.0, the “shutdown” included the standalone Install Tool as well.

  2. Georg Ringer commented <span data-processor="relativetime" data-value="2025-04-03T07:45:07+00:00" > 04/03/25, 07:45 </span>

    IMO the install tool should still be available, otherwise someone would lock himself out as well. please adopt the wording

  3. Georg Ringer changed status New Accepted Is Regression 1 Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2025-04-03T07:45:19+00:00" > 04/03/25, 07:45 </span>

  4. Gerrit Code Review pushed patch set 2 for main to change 90269 status Accepted Under Review <span data-processor="relativetime" data-value="2025-08-07T19:39:04+00:00" > 08/07/25, 19:39 </span>

  5. Dennis Schweinzer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-08-07T20:40:09+00:00" > 08/07/25, 20:40 </span>

    Applied in changeset commit:786d40f70572b0fffc8af42c8100e53a0339fbdc.