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