From a561c794ec5dc4579bb33d7a38c2827e00c8fdc7 Mon Sep 17 00:00:00 2001 From: Jyhem Date: Sat, 24 Jun 2023 01:13:03 +0200 Subject: [PATCH] [FIX] Update database on updates 2 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f8f9e88..3df9c7a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,7 +66,7 @@ chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" # Update database -exec_as_app console.php database:update +cd "$install_dir" && ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 console.php database:update #================================================= # NGINX CONFIGURATION