2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-12-28 20:19:34 +01:00

Force docker upgrade at startup

This commit is contained in:
Philipp Holzer 2020-09-25 22:48:20 +02:00
parent ca5b039dd1
commit e62e6c05ba
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
7 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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