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