You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installer offers Elasticsearch 7 (rejected by setup:install) and a 2FA-disable step that fails on 4.0.0 #437
When nothing is detected, the default is elasticsearch8 (L127), which 4.0.0 marks as deprecated ("Elasticsearch8 is no longer supported by Adobe").
Disabling 2FA:TwoFactorAuthConfigurer runs module:disable Magento_AdminAdobeImsTwoFactorAuth Magento_TwoFactorAuth (TwoFactorAuthConfigurer.php#L51). This fails for two reasons:
Magento_AdminAdobeImsTwoFactorAuth doesn't exist in Mage-OS 4.0.0, so module:disable stops with "Unknown module(s)".
MageOS_PasskeyAuth declares Magento_TwoFactorAuth in its module.xml sequence, so Magento_TwoFactorAuth can only be disabled together with MageOS_PasskeyAuth.
The fallback hint (bin/magento module:disable Magento_TwoFactorAuth, L68) fails for the same reason.
Additional information
Possible fixes:
drop elasticsearch7, default to opensearch, and mark Elasticsearch 8 as deprecated in the choice list;
run module:disable MageOS_PasskeyAuth Magento_TwoFactorAuth, and update the hint and the re-enable hint at L46 to match.
Found while documenting the installer for the devdocs (mage-os/devdocs#108).
Triage and priority
Severity: S2- Affects non-critical data or functionality and forces users to employ a workaround.
Activity