From 132ef9d02091125599d910c83db5f9b67fb05f46 Mon Sep 17 00:00:00 2001 From: sHa Date: Fri, 19 Jun 2026 01:14:02 +0300 Subject: [PATCH] fix(jellyfin): downgrade to v10.11.10, exclude v10.11.11 from auto-update v10.11.11 has a broken UpdateNormalizedUsername migration that queries a column that was never added to the schema. Pin to v10.11.10 and add version-exclude support to the update script so the daily bot skips the broken version until upstream fixes it. Co-Authored-By: Claude Sonnet 4.6 --- jellyfin/Chart.yaml | 5 +++-- jellyfin/values.yaml | 2 +- scripts/update-charts.sh | 6 ++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/jellyfin/Chart.yaml b/jellyfin/Chart.yaml index 4945ae8..052c1c7 100644 --- a/jellyfin/Chart.yaml +++ b/jellyfin/Chart.yaml @@ -4,5 +4,6 @@ description: A Helm chart for Jellyfin media server with Postgres support type: application annotations: version-source: ghcr-tags:rogly-net/jellyfin-postgresql:^v[0-9]+\.[0-9]+\.[0-9]+$ -version: 0.1.21 -appVersion: "v10.11.11" + version-exclude: "v10.11.11" +version: 0.1.22 +appVersion: "v10.11.10" diff --git a/jellyfin/values.yaml b/jellyfin/values.yaml index cc5d662..33e33ce 100644 --- a/jellyfin/values.yaml +++ b/jellyfin/values.yaml @@ -8,7 +8,7 @@ image: repository: ghcr.io/rogly-net/jellyfin-postgresql pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "v10.11.11" + tag: "v10.11.10" nameOverride: "" fullnameOverride: "" diff --git a/scripts/update-charts.sh b/scripts/update-charts.sh index 250d093..13e0738 100755 --- a/scripts/update-charts.sh +++ b/scripts/update-charts.sh @@ -108,6 +108,7 @@ for chart_dir in "$REPO_ROOT"/*/; do # Parse metadata source_type=$(grep "version-source:" "$chart_yaml" | sed 's/.*version-source: *//' | tr -d ' ' || true) source_pattern=$(grep "version-pattern:" "$chart_yaml" | sed 's/.*version-pattern: *//' | sed 's/^"\(.*\)"$/\1/' || true) + version_exclude=$(grep "version-exclude:" "$chart_yaml" | sed 's/.*version-exclude: *"\([^"]*\)".*/\1/' || true) current_app_version=$(grep "^appVersion:" "$chart_yaml" | head -1 | sed 's/.*appVersion: *"\([^"]*\)".*/\1/' || true) current_chart_version=$(grep "^version:" "$chart_yaml" | head -1 | sed 's/.*version: *//' | tr -d ' ' || true) @@ -132,6 +133,11 @@ for chart_dir in "$REPO_ROOT"/*/; do continue fi + if [ -n "$version_exclude" ] && [ "$latest_clean" = "$version_exclude" ]; then + echo " Skipping excluded version: $latest_clean" + continue + fi + echo " Current: $current_app_version | Latest: $latest_clean" # Compare and Update