From a7f04ee72282c47b059ae0aae9c3f328529dc335 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 20 Jul 2023 06:10:14 +0000 Subject: [PATCH 1/5] Upgrade to v1.41.0 --- conf/app.src | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.src b/conf/app.src index 69d5e1a..9ca73e4 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/netdata/netdata/releases/download/v1.40.1/netdata-v1.40.1.tar.gz -SOURCE_SUM=cc86172acd5e6ec05bc0fa86a50d967502a264d8adf7f79293923ccd8febb251 +SOURCE_URL=https://github.com/netdata/netdata/releases/download/v1.41.0/netdata-v1.41.0.tar.gz +SOURCE_SUM=8372d86ab88f7ec0b0b714dabbf2d03cf819d5db9bf4d8ae612f1a3dbc96b9a0 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 3566111..cf146fa 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Real-time performance and health monitoring", "fr": "Monitoring serveur en temps reel" }, - "version": "1.40.1~ynh1", + "version": "1.41.0~ynh1", "url": "http://my-netdata.io/", "upstream": { "license": "GPL-3.0", From 129dae1bde2e7c3fbf0ee578ccde7f9ae8e8b8b5 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 20 Jul 2023 06:10:19 +0000 Subject: [PATCH 2/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9272d22..328e734 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ _netdata is **fast** and **efficient**, designed to permanently run on all syste disrupting their core function._ -**Shipped version:** 1.40.1~ynh1 +**Shipped version:** 1.41.0~ynh1 **Demo:** https://learn.netdata.cloud/docs/agent/demo-sites/ ## Disclaimers / important information diff --git a/README_fr.md b/README_fr.md index c3df46e..5e33433 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ _netdata is **fast** and **efficient**, designed to permanently run on all syste disrupting their core function._ -**Version incluse :** 1.40.1~ynh1 +**Version incluse :** 1.41.0~ynh1 **Démo :** https://learn.netdata.cloud/docs/agent/demo-sites/ ## Avertissements / informations importantes From aaff07c9e1d24c92322c73a498da245415da3416 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 23 Jul 2023 13:15:05 +0200 Subject: [PATCH 3/5] Fix non empty directory after removal --- scripts/remove | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/remove b/scripts/remove index ff975df..12882ef 100644 --- a/scripts/remove +++ b/scripts/remove @@ -77,6 +77,9 @@ popd # Remove MySQL netdata user ynh_mysql_execute_as_root "drop user 'netdata'@'localhost'; flush privileges;" +# Remove main directory +ynh_secure_remove --file="$final_path" + #================================================= # END OF SCRIPT #================================================= From 666c3b8f5d21950a93d6fca5d2e1cb0a0930e6d2 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 23 Jul 2023 15:22:35 +0200 Subject: [PATCH 4/5] Fix reinstall glitch --- scripts/install | 1 - scripts/remove | 3 --- 2 files changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index 16384f1..d2bd204 100644 --- a/scripts/install +++ b/scripts/install @@ -36,7 +36,6 @@ app=$YNH_APP_INSTANCE_NAME ynh_script_progression --message="Validating installation parameters..." --weight=1 final_path=/opt/$app -test ! -e "$final_path" || ynh_die --message="This path already contains a folder" # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url diff --git a/scripts/remove b/scripts/remove index 12882ef..ff975df 100644 --- a/scripts/remove +++ b/scripts/remove @@ -77,9 +77,6 @@ popd # Remove MySQL netdata user ynh_mysql_execute_as_root "drop user 'netdata'@'localhost'; flush privileges;" -# Remove main directory -ynh_secure_remove --file="$final_path" - #================================================= # END OF SCRIPT #================================================= From 21937970e23c2075f46a8c478bcd351ffe360e1b Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 23 Jul 2023 16:05:23 +0200 Subject: [PATCH 5/5] Fix restore --- scripts/restore | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index df97499..5b4de05 100644 --- a/scripts/restore +++ b/scripts/restore @@ -36,9 +36,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " - #================================================= # STANDARD RESTORATION STEPS #=================================================