From 637e8cdb5658a205770b9311a520d88fd2d3a45d Mon Sep 17 00:00:00 2001 From: anmol Date: Sun, 11 Nov 2018 04:31:30 +0530 Subject: [PATCH] Fix upgrade script --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3a5a09c..d01b850 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,9 +101,9 @@ ynh_install_app_dependencies gettext postgresql postgresql-contrib libpq-dev git export PATH="$PATH:/var/www/$app/.cargo/bin:/var/$app/.local/bin:/usr/local/sbin" export FEATURES=postgres chown -R "$app":"$app" "$final_path" -( cd $final_path/$app && sudo -u "$app" cargo install --force ) +( cd $final_path/$app && sudo -u "$app" cargo install --no-default-features --features postgres ) ( cd $final_path/$app && sudo -u "$app" cargo install --path plume-cli --force ) - +( cd $final_path/$app && diesel migration run ) # Recalculate and store the config file checksum into the app settings