From 989a6d5b9ea9bd429a5c2b12b2bcc8382eaa8e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20H=C3=B6rmann?= <537665+jhit@users.noreply.github.com> Date: Fri, 2 Feb 2024 18:49:07 +0100 Subject: [PATCH] Shopware 6.5 complains of missing LOCK_DSN variable on build command. When I check out a production Shopware 6.5 project with composer like described in the documentation here: https://developer.shopware.com/docs/guides/installation/template.html I get an error because there is no LOCK_DSN in the .env file. --- modules/platform-prod/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/platform-prod/build.sh b/modules/platform-prod/build.sh index e63469f..5ca724c 100644 --- a/modules/platform-prod/build.sh +++ b/modules/platform-prod/build.sh @@ -45,7 +45,8 @@ SHOPWARE_ES_INDEXING_ENABLED=0 SHOPWARE_ES_INDEX_PREFIX=test_ COMPOSER_HOME=/tmp/composer-tmp-${SECRET} SHOPWARE_HTTP_CACHE_ENABLED=0 -SHOPWARE_HTTP_DEFAULT_TTL=7200" >.env +SHOPWARE_HTTP_DEFAULT_TTL=7200 +LOCK_DSN=flock" >.env export PROJECT_ROOT=$SHOPWARE_FOLDER