shopware / deployment-helper

9 stars 4 forks source link

Improve check if Shopware is really completely installed #5

Open mitelg opened 2 months ago

mitelg commented 2 months ago

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:

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

mitelg commented 3 weeks ago

maybe the new health check system can be used. implemented as Readiness checks