File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ docker compose exec engine timeout 300 bash -c 'while [[ "$(curl -k -s -o /dev/n
1717
1818echo -e " ${ORANGE} First, we will initialise the EB database$NOCOLOR ${GREEN} \xE2\x9C\x94${NOCOLOR} "
1919echo " Checking if the database is already present"
20- if ! docker compose exec engine /var/www/html/app /console doctrine:schema:validate -q --skip-mapping --env=prod; then
20+ if ! docker compose exec engine /var/www/html/bin /console doctrine:schema:validate -q --skip-mapping --env=prod; then
2121 echo creating the database schema
22- echo " Executing docker compose exec engine /var/www/html/app /console doctrine:schema:create --env prod"
23- docker compose exec engine /var/www/html/app /console doctrine:schema:create --env prod
22+ echo " Executing docker compose exec engine /var/www/html/bin /console doctrine:schema:create --env prod"
23+ docker compose exec engine /var/www/html/bin /console doctrine:schema:create --env prod
2424# TODO: Use migrations instead of schema:create. Not both. @see https://github.com/OpenConext/OpenConext-engineblock/issues/1861
2525fi
2626echo " Clearing the cache"
27- echo " Executing docker compose exec engine /var/www/html/app /console cache:clear -n --env=prod"
28- docker compose exec engine /var/www/html/app /console cache:clear -n --env=prod
29- docker compose exec engine chown -R www-data:www-data /var/www/html/app /cache/
27+ echo " Executing docker compose exec engine /var/www/html/bin /console cache:clear -n --env=prod"
28+ docker compose exec engine /var/www/html/bin /console cache:clear -n --env=prod
29+ docker compose exec engine chown -R www-data:www-data /var/www/html/var /cache/
3030
3131# Now it's time to bootstrap manage
3232# Bring up containers needed for bootstrapping manage
You can’t perform that action at this time.
0 commit comments