From 18c86a6bf60d8a8c6bc39951e324eaf47e21b8ca Mon Sep 17 00:00:00 2001 From: dragondaddy Date: Thu, 21 Sep 2023 22:42:30 +0200 Subject: [PATCH] run migration commands as root --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 6e1638d..3753a1a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,8 +43,8 @@ ynh_script_progression --message="Proceeding to migration..." pushd $install_dir ynh_script_progression --message="Proceeding to migration..." - ynh_exec_as $app php$phpversion api/bin/console doctrine:migration:migrate - ynh_exec_as $app php$phpversion api/bin/console zusam:migration + php$phpversion api/bin/console doctrine:migration:migrate + php$phpversion api/bin/console zusam:migration ynh_script_progression --message="Pulling in external libraries with Composer..." ynh_install_composer