From 5447829e4163a2484742ad886324e7f4309524b4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 22 Sep 2021 23:04:42 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4921433..9e239ce 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -85,12 +85,12 @@ then pushd $final_path # Shut down your forum - ./nodebb stop + ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb stop # Grab the latest and greatest code git fetch # Grab the latest code from the NodeBB Repository git reset --hard origin/$nodebb_version # Replace v1.12.x with the branch name! # Run the NodeBB upgrade script - ./nodebb upgrade + ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb upgrade popd fi