mirror of
https://github.com/friendica/docker
synced 2025-01-01 10:35:21 +01:00
Merge pull request #137 from nupplaphil/bug/force_upgrade
Force docker upgrade at startup
This commit is contained in:
commit
9df0750106
7 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue