Skip to content

Improve check if Shopware is really completely installed #5

@mitelg

Description

@mitelg

Right now, system:is-installed only checks if the migration table is present. if so, the setup script assumes, Shopware is completely installed without issues.

This assumption could be wrong, as the migrations could not be completed, or a admin user is missing, or the SalesChannel was not created, or plugins were not installed completely.

It should be possible to verify each necessary step and if fails, to correct it.

e.g. sales channel:

  • check if sales channel with given APP_URL is existing
    • if not, check if sales channel exists with previous APP_URL
      • if yes, update this sales channel with new APP_URL
      • if not, create new sales channel

To achieve this, some new commands need to be introduced in the Shopware core

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions