From d062d7b1ac5da746ddb09b53c4f28c041752c901 Mon Sep 17 00:00:00 2001 From: squeak Date: Wed, 15 Sep 2021 23:00:43 +0200 Subject: [PATCH 1/2] Corrected upgrade script so that it upgrade properly dato node dependencies. --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index ae846d2..ad447b2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -109,6 +109,9 @@ chown -R "$app":"$app" $final_path pushd "$final_path" ynh_use_nodejs + # remove node_modules folder before upgrading (because dato dependencies need to be installed from scratch otherwise some dependencies are not properly upgraded) + sudo -u $app env $ynh_node_load_PATH rm -r node_modules + # reinstall dependencies from scratch sudo -u $app env $ynh_node_load_PATH npm install --loglevel warn popd From 8e6c54246e58fc0ba48cf376fa55c27d50d7da8f Mon Sep 17 00:00:00 2001 From: squeak Date: Wed, 15 Sep 2021 23:00:48 +0200 Subject: [PATCH 2/2] 1.5.19~ynh2 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 45bc5e8..33b4021 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Store all kinds of data with an extremely customizable interface.", "fr": "Stockez tous types de données avec une interface complètement customizable." }, - "version": "1.5.19~ynh1", + "version": "1.5.19~ynh2", "url": "https://squeak.eauchat.org/dato", "upstream": { "license": "AGPL-3.0-or-later",