Open evanjamesjackson opened 1 month ago
An update on this - I have discovered that removing this line https://github.com/shopware/docker/blob/c89dd1d351bf8d1c96fc98c64f12bfd3eb83495f/fpm/rootfs/usr/local/etc/php-fpm.d/docker.conf#L10 makes my theme load properly. Obviously though that breaks environment variables - is there a known way to work around this?
How does your compose / k8s config look like. Do you use s3 for storage or just mounts?
Hi I have the same problem as @evanjamesjackson. I am using the example compose config from the README with only volumes, not s3. Is there any solution to this problem?
How does your compose / k8s config look like. Do you use s3 for storage or just mounts?
Sorry for the delay @shyim. I'm using Docker Compose volume mounts same as @JOPA159 above.
Im hitting the same problem. docker compose with local volume mounts on my end. for now there is no s3 or k8s involved.
Try installing the custom Shopware theme using composer. It solved the problem for me.
Can someone setup a example repository as a reproducer?
I'm not entirely sure if my problem is really related to this issue, but I'm getting the same behavior with the theme:compile
command in my image.
My problems seems to be persist in the database. When I use the container image with a blank database, everything works fine. However, problems arise when using our existing database.
Timeline:
Current State:
After trying various solutions, uninstalling and reinstalling themes, adding the deployment-helper or introducing store.shopware.com/swagelletheme via composer, I seem to have ended up in a semi-broken state:
I would also say it's not relatable to that.
Hello -
I have created a custom Shopware theme that I am compiling with![image](https://github.com/shopware/docker/assets/5866481/4311526c-2646-462f-8c51-1cc21b57b29b)
theme:compile
. I can see that the two expected theme folders are created under/var/www/html/public/theme
:I can confirm that my Storefront sales channel is using this theme:![image](https://github.com/shopware/docker/assets/5866481/f90f9026-5962-4b32-b6a6-56baf9864bcc)
However, when I load the site, only the![image](https://github.com/shopware/docker/assets/5866481/0743c341-5673-4125-8ed9-83f77b463e4d)
9bf1323b98bdec27166ca597bfbcdaea
folder is being loaded, and only its CSS file (no JS):In contrast, when running Dockware with the same theme, both folders and all associated CSS and JS are loaded (disregard different GUIDs for the theme folders as this is a different installation):![image](https://github.com/shopware/docker/assets/5866481/d7900096-72b0-4bd6-a25d-654138b93b46)
Is there some step I'm missing in getting both themes to appear when using this Docker image?