From e62e6c05ba0930513f60fa8f5fea485fba6425ae Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 25 Sep 2020 22:48:20 +0200 Subject: [PATCH] Force docker upgrade at startup --- 2020.09/apache/entrypoint.sh | 2 +- 2020.09/fpm-alpine/entrypoint.sh | 2 +- 2020.09/fpm/entrypoint.sh | 2 +- 2020.12-dev/apache/entrypoint.sh | 2 +- 2020.12-dev/fpm-alpine/entrypoint.sh | 2 +- 2020.12-dev/fpm/entrypoint.sh | 2 +- docker-entrypoint.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/2020.09/apache/entrypoint.sh b/2020.09/apache/entrypoint.sh index 651ec0f..fa51564 100755 --- a/2020.09/apache/entrypoint.sh +++ b/2020.09/apache/entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi diff --git a/2020.09/fpm-alpine/entrypoint.sh b/2020.09/fpm-alpine/entrypoint.sh index 651ec0f..fa51564 100755 --- a/2020.09/fpm-alpine/entrypoint.sh +++ b/2020.09/fpm-alpine/entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi diff --git a/2020.09/fpm/entrypoint.sh b/2020.09/fpm/entrypoint.sh index 651ec0f..fa51564 100755 --- a/2020.09/fpm/entrypoint.sh +++ b/2020.09/fpm/entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi diff --git a/2020.12-dev/apache/entrypoint.sh b/2020.12-dev/apache/entrypoint.sh index 651ec0f..fa51564 100755 --- a/2020.12-dev/apache/entrypoint.sh +++ b/2020.12-dev/apache/entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi diff --git a/2020.12-dev/fpm-alpine/entrypoint.sh b/2020.12-dev/fpm-alpine/entrypoint.sh index 651ec0f..fa51564 100755 --- a/2020.12-dev/fpm-alpine/entrypoint.sh +++ b/2020.12-dev/fpm-alpine/entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi diff --git a/2020.12-dev/fpm/entrypoint.sh b/2020.12-dev/fpm/entrypoint.sh index 651ec0f..fa51564 100755 --- a/2020.12-dev/fpm/entrypoint.sh +++ b/2020.12-dev/fpm/entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 651ec0f..fa51564 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -136,7 +136,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then # upgrade else echo "Upgrading Friendica ..." - run_as 'php /var/www/html/bin/console.php dbstructure update' + run_as 'php /var/www/html/bin/console.php dbstructure update -f' echo "Upgrading finished" fi fi