From e6b7a4954b3929265cd59b438a064d2826b8583b Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 22 Feb 2019 12:07:51 +0100 Subject: [PATCH] Try updating the WP database (#14048) --- bin/install-wordpress.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/install-wordpress.sh b/bin/install-wordpress.sh index a5ba87ec4f4d5a..92cee6f514e90c 100755 --- a/bin/install-wordpress.sh +++ b/bin/install-wordpress.sh @@ -78,6 +78,8 @@ if [ "$WP_VERSION" == "latest" ]; then # Check for WordPress updates, to make sure we're running the very latest version. echo -e $(status_message "Updating WordPress to the latest version...") docker-compose $DOCKER_COMPOSE_FILE_OPTIONS run --rm -u 33 $CLI core update --quiet + echo -e $(status_message "Updating The WordPress Database...") + docker-compose $DOCKER_COMPOSE_FILE_OPTIONS run --rm -u 33 $CLI core update-db --quiet fi # If the 'wordpress' volume wasn't during the down/up earlier, but the post port has changed, we need to update it.