fix: add logging to postdeploy
This commit is contained in:
parent
8ed5bd4eb5
commit
9dafd41213
1 changed files with 4 additions and 1 deletions
|
@ -6,11 +6,14 @@ set -e
|
||||||
cd /var/www/html
|
cd /var/www/html
|
||||||
echo "GYR:POSTDEPLOY:START ($(pwd))"
|
echo "GYR:POSTDEPLOY:START ($(pwd))"
|
||||||
find . -maxdepth 1
|
find . -maxdepth 1
|
||||||
php -d memory_limit=-1 occ maintenance:mode --on
|
echo "GYR:POSTDEPLOY:UPGRADE"
|
||||||
php -d memory_limit=-1 occ upgrade
|
php -d memory_limit=-1 occ upgrade
|
||||||
|
echo "GYR:POSTDEPLOY:DB"
|
||||||
php -d memory_limit=-1 occ db:convert-filecache-bigint
|
php -d memory_limit=-1 occ db:convert-filecache-bigint
|
||||||
php -d memory_limit=-1 occ db:add-missing-indices
|
php -d memory_limit=-1 occ db:add-missing-indices
|
||||||
|
echo "GYR:POSTDEPLOY:HTACCESS"
|
||||||
php -d memory_limit=-1 occ maintenance:update:htaccess
|
php -d memory_limit=-1 occ maintenance:update:htaccess
|
||||||
|
echo "GYR:POSTDEPLOY:MAINTENANCE:OFF"
|
||||||
php -d memory_limit=-1 occ maintenance:mode --off
|
php -d memory_limit=-1 occ maintenance:mode --off
|
||||||
php -d memory_limit=-1 occ maintenance:mode --off || true
|
php -d memory_limit=-1 occ maintenance:mode --off || true
|
||||||
echo "GYR:POSTDEPLOY:END"
|
echo "GYR:POSTDEPLOY:END"
|
||||||
|
|
Loading…
Reference in a new issue