fix: correct garmin-grafana JSON type and script path

The JSON metadata had type "addon" and script path
"/tools/addon/garmin-grafana.sh", but the actual script has always
lived at ct/garmin-grafana.sh. This caused the website to generate an
installer URL that returns 404.

Changes:
- type: "addon" -> "ct"
- script: "/tools/addon/garmin-grafana.sh" -> "ct/garmin-grafana.sh"
- Move config_path to top level (matching ct JSON convention)
- Fill in resource values from ct/garmin-grafana.sh (cpu: 2, ram: 2048,
  hdd: 8, os: Debian, version: 13)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Joni Elshani
2026-05-17 20:06:29 +02:00
parent 9040adf300
commit ef79d11247

View File

@@ -5,25 +5,25 @@
9 9
], ],
"date_created": "2025-05-08", "date_created": "2025-05-08",
"type": "addon", "type": "ct",
"updateable": true, "updateable": true,
"privileged": false, "privileged": false,
"interface_port": 3000, "interface_port": 3000,
"documentation": "https://github.com/arpanghosh8453/garmin-grafana", "documentation": "https://github.com/arpanghosh8453/garmin-grafana",
"website": "https://github.com/arpanghosh8453/garmin-grafana", "website": "https://github.com/arpanghosh8453/garmin-grafana",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/garmin-grafana.webp", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/garmin-grafana.webp",
"config_path": "/opt/garmin-grafana/.env",
"description": "A self-hosted solution to fetch data from Garmin servers and store it in a local InfluxDB database for visualization with Grafana.", "description": "A self-hosted solution to fetch data from Garmin servers and store it in a local InfluxDB database for visualization with Grafana.",
"install_methods": [ "install_methods": [
{ {
"type": "default", "type": "default",
"script": "/tools/addon/garmin-grafana.sh", "script": "ct/garmin-grafana.sh",
"config_path": "/opt/garmin-grafana/.env",
"resources": { "resources": {
"cpu": null, "cpu": 2,
"ram": null, "ram": 2048,
"hdd": null, "hdd": 8,
"os": null, "os": "Debian",
"version": null "version": "13"
} }
} }
], ],