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 @@ -18,16 +18,16 @@ docker compose exec engine timeout 300 bash -c 'while [[ "$(curl -k -s -o /dev/n
1818
1919echo -e " ${ORANGE} First, we will initialise the EB database$NOCOLOR ${GREEN} \xE2\x9C\x94${NOCOLOR} "
2020echo " Checking if the database is already present"
21- if ! docker compose exec engine /var/www/html/app /console doctrine:schema:validate -q --skip-mapping --env=prod; then
21+ if ! docker compose exec engine /var/www/html/bin /console doctrine:schema:validate -q --skip-mapping --env=prod; then
2222 echo creating the database schema
23- echo " Executing docker compose exec engine /var/www/html/app /console doctrine:schema:create --env prod"
24- docker compose exec engine /var/www/html/app /console doctrine:schema:create --env prod
23+ echo " Executing docker compose exec engine /var/www/html/bin /console doctrine:schema:create --env prod"
24+ docker compose exec engine /var/www/html/bin /console doctrine:schema:create --env prod
2525# TODO: Use migrations instead of schema:create. Not both. @see https://github.com/OpenConext/OpenConext-engineblock/issues/1861
2626fi
2727echo " Clearing the cache"
28- echo " Executing docker compose exec engine /var/www/html/app /console cache:clear -n --env=prod"
29- docker compose exec engine /var/www/html/app /console cache:clear -n --env=prod
30- docker compose exec engine chown -R www-data:www-data /var/www/html/app /cache/
28+ echo " Executing docker compose exec engine /var/www/html/bin /console cache:clear -n --env=prod"
29+ docker compose exec engine /var/www/html/bin /console cache:clear -n --env=prod
30+ docker compose exec engine chown -R www-data:www-data /var/www/html/var /cache/
3131
3232# Now it's time to bootstrap manage
3333# Bring up containers needed for bootstrapping manage
You can’t perform that action at this time.
0 commit comments