diff --git a/install.php b/install.php index afbcba0..4525336 100755 --- a/install.php +++ b/install.php @@ -7,10 +7,10 @@ shell_exec("COMPOSE_ALLOW_SUPERUSER=1 composer update"); //`symfony console asset-map:compile"); print "Creating database schema".PHP_EOL; -shell_exec("symfony console doctrine:database:create"); +shell_exec("symfony console doctrine:database:create --if-not-exists"); print "Updating migrations and setting permissions for data folder".PHP_EOL; -shell_exec("symfony console doctrine:migrations:migrate --no-interaction"); +shell_exec("symfony console doctrine:schema:create"); shell_exec("chown -R www-data:www-data /data");