Skip to content

Commit

Permalink
Shopware 6.5 complains of missing LOCK_DSN variable on build command.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jhit authored Feb 2, 2024
1 parent 6c9ce91 commit 989a6d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/platform-prod/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 989a6d5

Please sign in to comment.