fix(web-app-shopware): skip local public/bundles check when the S3 object-store asset backend is active (DiD root-caused)

This commit is contained in:
kevinveenbirkenbach committed 2026-06-17 11:30:39 +02:00
1 parent b212261835
commit 66fcfe8a0c
2 files changed
+8 -5

No files matched your search

+7 -5
View File
@@ -133,11 +133,13 @@ $PHP_BIN bin/console dal:refresh:index || log "dal:refresh:index failed (non-cri
# ---------------------------
# 5) Verify admin bundles
# ---------------------------
if [ ! -d "public/bundles/administration" ]; then
fail "Missing directory public/bundles/administration (asset build failed)"
fi
if ! ls public/bundles/administration/* >/dev/null 2>&1; then
fail "No files found in public/bundles/administration (asset build failed)"
if [ "${SHOPWARE_OBJSTORE_ENABLED:-false}" != "true" ]; then
if [ ! -d "public/bundles/administration" ]; then
fail "Missing directory public/bundles/administration (asset build failed)"
fi
if ! ls public/bundles/administration/* >/dev/null 2>&1; then
fail "No files found in public/bundles/administration (asset build failed)"
fi
fi
# ---------------------------
+1
View File
@@ -6,6 +6,7 @@ APP_DEBUG="{{ MODE_DEBUG | bool| ternary(1, 0) }}"
# Shopware
APP_ENV={{ 'dev' if (ENVIRONMENT | lower) == 'development' else 'prod' }}
INSTANCE_ID={{ application_id }}
SHOPWARE_OBJSTORE_ENABLED={{ SHOPWARE_OBJSTORE_ENABLED | string | lower }}
# Proxy
TRUSTED_PROXIES="{{ ([networks.internet.values() | select | list, NETWORK_TRUSTED_PROXY_CIDRS] | flatten) | join(',') }}"