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