Skip to content

Error Message Is Confusing When Code Base Is Behind Database Module Version #9008

Closed
@mpchadwick

Description

@mpchadwick

Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated: Foo_Bar schema: current version - 1.0.4, required version - 1.0.0

Preconditions

This can happen when...

  • You download a database dump from a staging environment that has had code deployed to it which upgrades schema version (e.g. "develop" brand(
  • In your local environment, you are on the "master" branch, which is behind the database.

In this case running bin/magento setup:upgrade does not resolve the issue, and upgrading the database is not really correct (you actually need to downgrade).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: needs update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions