From 87141e000468775e3a227dc0071209d2ad2ba1d5 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:13:49 +0000 Subject: [PATCH 01/11] remove root PGID --- librespeed/config.json | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 2b83a8fdb..c88a3ffe0 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -68,11 +68,6 @@ "/dev/nvme1", "/dev/nvme2" ], - "environment": { - "PGID": "0", - "PUID": "0" - }, - "image": "ghcr.io/alexbelgium/librespeed-{arch}", "init": false, "ingress": true, "ingress_stream": true, @@ -80,10 +75,6 @@ "addon_config:rw" ], "name": "LibreSpeed", - "options": { - "PGID": 0, - "PUID": 0 - }, "panel_admin": false, "panel_icon": "mdi:speedometer", "ports": { @@ -101,8 +92,8 @@ "PUID": "int", "TZ": "str?", "IPINFO_APIKEY": "str?", - "PASSWORD": "str?", "CUSTOM_RESULTS": "bool?", + "PASSWORD": "str?", "cifsdomain": "str?", "cifspassword": "str?", "cifsusername": "str?", @@ -112,5 +103,5 @@ "slug": "librespeed", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.4.1a" + "version": "5.4.1b" } From a197c17364063a233bbd46ad8da38ea608369fc2 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:17:24 +0000 Subject: [PATCH 02/11] remove pgid --- librespeed/config.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index c88a3ffe0..0ef2eb7e4 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -88,8 +88,6 @@ "DAC_READ_SEARCH" ], "schema": { - "PGID": "int", - "PUID": "int", "TZ": "str?", "IPINFO_APIKEY": "str?", "CUSTOM_RESULTS": "bool?", From 78fb7b92d62fa85ff970c3efd81b19cfcdd96999 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:20:55 +0000 Subject: [PATCH 03/11] use 1000 as pgid --- librespeed/config.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 0ef2eb7e4..010b479eb 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -68,6 +68,10 @@ "/dev/nvme1", "/dev/nvme2" ], + "environment": { + "PGID": "1000", + "PUID": "1000" + }, "init": false, "ingress": true, "ingress_stream": true, @@ -75,6 +79,10 @@ "addon_config:rw" ], "name": "LibreSpeed", + "options": { + "IPINFO_APIKEY": "", + "CUSTOM_RESULTS": false + }, "panel_admin": false, "panel_icon": "mdi:speedometer", "ports": { @@ -88,10 +96,12 @@ "DAC_READ_SEARCH" ], "schema": { - "TZ": "str?", + "PGID": "int", + "PUID": "int", "IPINFO_APIKEY": "str?", "CUSTOM_RESULTS": "bool?", "PASSWORD": "str?", + "TZ": "str?", "cifsdomain": "str?", "cifspassword": "str?", "cifsusername": "str?", @@ -101,5 +111,5 @@ "slug": "librespeed", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.4.1b" + "version": "5.4.1a" } From 5f1d3c492db1c7fde00001e07c81743d5953621a Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:25:01 +0000 Subject: [PATCH 04/11] pgid --- librespeed/CHANGELOG.md | 10 +++++++--- librespeed/config.json | 6 +++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/librespeed/CHANGELOG.md b/librespeed/CHANGELOG.md index cd84ee979..48328a5db 100644 --- a/librespeed/CHANGELOG.md +++ b/librespeed/CHANGELOG.md @@ -1,8 +1,12 @@ +## 5.4.1b (03-04-2025) + +- Fix PGID issue + ## 5.4.1a (03-04-2025) -- Fixed ingress -- Added config for IPINFO_APIKEY -- Added descriptions for configs +- Fix ingress +- Add config for IPINFO_APIKEY +- Add descriptions for configs ## 5.4.1 (02-04-2025) diff --git a/librespeed/config.json b/librespeed/config.json index 010b479eb..8fef6f0bb 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -96,8 +96,8 @@ "DAC_READ_SEARCH" ], "schema": { - "PGID": "int", - "PUID": "int", + "PGID": "int?", + "PUID": "int?", "IPINFO_APIKEY": "str?", "CUSTOM_RESULTS": "bool?", "PASSWORD": "str?", @@ -111,5 +111,5 @@ "slug": "librespeed", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "5.4.1a" + "version": "5.4.1b" } From 3092753cd0d2a1091f5632b3b608b9f5aecb143c Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:36:48 +0000 Subject: [PATCH 05/11] Add ingress port --- librespeed/config.json | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 8fef6f0bb..b9a8800f9 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -70,11 +70,13 @@ ], "environment": { "PGID": "1000", - "PUID": "1000" + "PUID": "1000", + "FM_HOME": "/config", + "HOME": "/config" }, "init": false, "ingress": true, - "ingress_stream": true, + "ingress_port": 8096, "map": [ "addon_config:rw" ], @@ -91,25 +93,15 @@ "ports_description": { "8096/tcp": "web interface (Not required for Ingress)" }, - "privileged": [ - "SYS_ADMIN", - "DAC_READ_SEARCH" - ], "schema": { "PGID": "int?", "PUID": "int?", "IPINFO_APIKEY": "str?", "CUSTOM_RESULTS": "bool?", "PASSWORD": "str?", - "TZ": "str?", - "cifsdomain": "str?", - "cifspassword": "str?", - "cifsusername": "str?", - "localdisks": "str?", - "networkdisks": "str?" + "TZ": "str?" }, "slug": "librespeed", - "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", "version": "5.4.1b" } From 84a14ee548b9630246d8e18e8b0730c6b225073c Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:36:48 +0000 Subject: [PATCH 06/11] default pgid --- librespeed/config.json | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 8fef6f0bb..30e9163f4 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -68,20 +68,18 @@ "/dev/nvme1", "/dev/nvme2" ], - "environment": { - "PGID": "1000", - "PUID": "1000" - }, "init": false, "ingress": true, - "ingress_stream": true, + "ingress_port": 8096, "map": [ "addon_config:rw" ], "name": "LibreSpeed", "options": { "IPINFO_APIKEY": "", - "CUSTOM_RESULTS": false + "CUSTOM_RESULTS": false, + "PGID": "1000", + "PUID": "1000" }, "panel_admin": false, "panel_icon": "mdi:speedometer", @@ -91,25 +89,15 @@ "ports_description": { "8096/tcp": "web interface (Not required for Ingress)" }, - "privileged": [ - "SYS_ADMIN", - "DAC_READ_SEARCH" - ], "schema": { - "PGID": "int?", - "PUID": "int?", "IPINFO_APIKEY": "str?", "CUSTOM_RESULTS": "bool?", "PASSWORD": "str?", "TZ": "str?", - "cifsdomain": "str?", - "cifspassword": "str?", - "cifsusername": "str?", - "localdisks": "str?", - "networkdisks": "str?" + "PGID": "int", + "PUID": "int" }, "slug": "librespeed", - "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", "version": "5.4.1b" } From 82ca4a794f0082c74782c8b4b186c8d6d57ec82d Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:40:46 +0000 Subject: [PATCH 07/11] fix --- librespeed/config.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 6eaffc989..30e9163f4 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -68,10 +68,6 @@ "/dev/nvme1", "/dev/nvme2" ], - "environment": { - "PGID": "1000", - "PUID": "1000" - }, "init": false, "ingress": true, "ingress_port": 8096, From 2580968d1190f05ae3a547771d5de64b8b724011 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:44:46 +0000 Subject: [PATCH 08/11] update port --- librespeed/config.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 30e9163f4..0f619c8bc 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -70,7 +70,8 @@ ], "init": false, "ingress": true, - "ingress_port": 8096, + "ingress_port": 80, + "ingress_stream": true, "map": [ "addon_config:rw" ], @@ -84,10 +85,10 @@ "panel_admin": false, "panel_icon": "mdi:speedometer", "ports": { - "8096/tcp": 8096 + "80/tcp": 80 }, "ports_description": { - "8096/tcp": "web interface (Not required for Ingress)" + "80/tcp": "web interface (Not required for Ingress)" }, "schema": { "IPINFO_APIKEY": "str?", From c9d1e5c2911c11327623a5832fb230d8c25c7e0b Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:46:46 +0000 Subject: [PATCH 09/11] update --- librespeed/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librespeed/config.json b/librespeed/config.json index 0f619c8bc..54d69eb3c 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -85,7 +85,7 @@ "panel_admin": false, "panel_icon": "mdi:speedometer", "ports": { - "80/tcp": 80 + "80/tcp": 8096 }, "ports_description": { "80/tcp": "web interface (Not required for Ingress)" From 94a737331ba0f2ef3627a075c70e24e6ea08d824 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:54:10 +0000 Subject: [PATCH 10/11] update pgid type --- librespeed/config.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/librespeed/config.json b/librespeed/config.json index 54d69eb3c..6d4afe86a 100644 --- a/librespeed/config.json +++ b/librespeed/config.json @@ -68,6 +68,7 @@ "/dev/nvme1", "/dev/nvme2" ], + "image": "ghcr.io/alexbelgium/librespeed-{arch}", "init": false, "ingress": true, "ingress_port": 80, @@ -79,8 +80,8 @@ "options": { "IPINFO_APIKEY": "", "CUSTOM_RESULTS": false, - "PGID": "1000", - "PUID": "1000" + "PGID": 1000, + "PUID": 1000 }, "panel_admin": false, "panel_icon": "mdi:speedometer", From e7c819a7ac7a7c5d01a21e6b18a7481ec29a7558 Mon Sep 17 00:00:00 2001 From: Eliz Date: Sat, 3 May 2025 17:55:35 +0000 Subject: [PATCH 11/11] changelog --- librespeed/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librespeed/CHANGELOG.md b/librespeed/CHANGELOG.md index 48328a5db..2de13c1bc 100644 --- a/librespeed/CHANGELOG.md +++ b/librespeed/CHANGELOG.md @@ -1,6 +1,7 @@ ## 5.4.1b (03-04-2025) -- Fix PGID issue +- Fix default PGID +- Fix ingress port ## 5.4.1a (03-04-2025)