#99396cli command extension:activate is not listed in list of posstible commands
Description
See Slack: https://typo3.slack.com/archives/C025BQLFA/p1671087861055179
> seems we have a bug here..
> It’s still possible via
> typo3/sysext/core/bin/typo3 extension:activate extensionkey
> …but the command is missing in the help output.
> (There is a condition to hide the command in composer mode, but that seems to be broken)
Apparently, in non-Composer mode the command extension:activate is available (and works), but is not listed in list of commands.
Reproduce
Run command
- typo3/sysext/core/bin/typo3 in a non Composer TYPO3 installation.
It lists the possible commands. It does not list extension:activate (and extension:deactivate).
It only lists these commands which start with extension:
extension:list Shows the list of extensions available to the system
extension:setup Set up extensions
All system extension are activated except for:
- indexed_search
- linkvalidator
- opendocs
- workspaces
System
- reproduced with v11 (latest 11.5 branch) in non-Composer installation
I don’t know if this command should also be available in TYPO3 v12, but it is not shown there as well.
Reviews 3
History 813
-
Sybille Peters commented and changed status
NewClosed <span data-processor="relativetime" data-value="2022-12-20T09:31:55+00:00" > 12/20/22, 09:31 </span> -
Benjamin Franzke commented and changed status
ClosedAccepted assigned to Benjamin Franzke <span data-processor="relativetime" data-value="2022-12-20T09:33:12+00:00" > 12/20/22, 09:33 </span>This is a TYPO3 core-bug, not a typo3_console issue.
It seems the evaluation of env-var statements in tag attributes broke due to some symfony/dependency-injection update.
So basically something like …
# https://github.com/TYPO3/typo3/blob/v11.5.21/typo3/sysext/extensionmanager/Configuration/Services.yaml#L18 hidden: "%env(TYPO3:isComposerMode)%"
… no longer evaluates to
trueorfalse, but always results in the string"%env(TYPO3:isComposerMode)%"being processed by the ConsoleCommandPass, and thenhiddenwith a truthy string value always evaluates to true and thus hides the command both in classic mode (where it should have been shown) and compose mode. -
Sybille Peters changed description <span data-processor="relativetime" data-value="2022-12-20T09:41:25+00:00" > 12/20/22, 09:41 </span>
-
Georg Ringer commented and changed status
AcceptedNeeds Feedback <span data-processor="relativetime" data-value="2024-06-25T05:03:31+00:00" > 06/25/24, 05:03 </span>works in 13, should we close?
-
Sybille Peters commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2024-06-25T11:00:13+00:00" > 06/25/24, 11:00 </span>Benjamin You set this to “Accepted”. Since Georg said it works in v13, I am closing. Please reopen or comment if not not ok.
-
Benjamin Franzke commented and changed status
ClosedAccepted TYPO3 Version1113 <span data-processor="relativetime" data-value="2026-06-16T11:22:08+00:00" > 06/16/26, 11:22 </span>> Benjamin You set this to “Accepted”. Since Georg said it works in v13, I am closing. Please reopen or comment if not not ok.
I’m sorry, I didn’t notice this message. I actually just stumbled across this again and confirm that it currently broken in v13 and v14 in classic mode.
I’ll therefore reopen and try to provide a solution.
-
Gerrit Code Review pushed patch set 1 for main to change 94521 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-06-16T11:53:18+00:00" > 06/16/26, 11:53 </span> -
Gerrit Code Review pushed patch set 2 for main to change 94521 <span data-processor="relativetime" data-value="2026-06-16T12:54:16+00:00" > 06/16/26, 12:54 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 94521 <span data-processor="relativetime" data-value="2026-06-29T07:32:38+00:00" > 06/29/26, 07:32 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 94609 <span data-processor="relativetime" data-value="2026-06-29T07:39:45+00:00" > 06/29/26, 07:39 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 94610 <span data-processor="relativetime" data-value="2026-06-29T07:39:59+00:00" > 06/29/26, 07:39 </span>
-
Benjamin Franzke commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-06-29T09:40:11+00:00" > 06/29/26, 09:40 </span>Applied in changeset commit:2b5d4195fca05af5145c0b34c51de16081ebf82e.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:46:36+00:00" > 08/11/26, 08:46 </span>
Closing. This is not a core issue, it is a typo3_console issue, see https://docs.typo3.org/p/helhum/typo3-console/5.8/en-us/CommandReference/ExtensionActivate.html