New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ECP-8713] Building assets of Administration and Storefront without a Database #430
Comments
Hi @wannevancamp! |
@peterojo, meanwhile we did some more research. The issue is actually not related to the build process without database. We can reproduce this in all our environments. It is actually a bigger issue than first thought because the plugin can't be used anyway. Steps to reproduce
Solution |
This means the plugin is simply NOT working on SW 6.5 Can we bump the priority on this? |
We don't have this problem in our SW6.5 installation but we don't require it from |
@MelvinAchterhuis , I've just verified. The issue occurs with both versions. |
@peterojo, meanwhile I found why some merchants experience this issue and others do not. If there are no plans to fix this issue for those versions, this issue can be closed. Some references:
|
@wannevancamp thanks for your insights! we will consider whether we can fix this in a way that works either way, if not we will update the supported versions in the marketplace |
Hi all! |
Describe the bug
It is common to prebuild assets in professional deployments to deploy the build artefact assets to the production environment. This task is mostly done by a CI job that doesn't have access to the production database.
Shopware has foreseen a config for this: https://developer.shopware.com/docs/guides/hosting/installation-updates/deployments/build-w-o-db.html
Plugins can be compiled in the CI and be synced to the production server without a database or even a working Symfony Container.
This plugin builds assets when the container builds and therefore can't be used in CI builds without a database or Symfony Container.
Because the assets doesn't exist in the production environment the following error is thrown:
Versions
Shopware version: all versions
Plugin version: all versions
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Assets should be compiled beforehand or when using the bin/build-storefront.js and bin/build-administration.js
The text was updated successfully, but these errors were encountered: