Skip to content

There are no commands defined in the "setup:cron" namespace after upgrading to magento 2.4.0 #29872

@Eddcapone

Description

@Eddcapone

Preconditions (*)

  1. Enterprise

Steps to reproduce (*)

  1. Upgrade from 2.3.5-p2 to 2.4.0 by using composer.
  2. Make sure that you are using at least PHP 7.3

Expected result (*)

  1. Upgrade succeeds without problems

Actual result (*)

  1. I am receiving alot of e-mails saying that a cron job failed with "There are no commands defined in the "setup:cron" namespace"
  2. Also calling php bin/magento setup:cron:run throws error:

There are no commands defined in the "setup:cron" namespace.

Did you mean one of these?
setup
setup:config
setup:db
setup:db-data
setup:db-declaration
setup:db-schema
setup:di
setup:performance
setup:static-content
setup:store-config


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passedReported on 2.4.0Indicates original Magento version for the Issue report.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions