From 3e4aa7707e8ef58bf48742490e5ddc11178caefd Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Wed, 30 Sep 2026 17:45:40 +0200 Subject: [PATCH] emby: 4.11.0.3 -> 4.11.0.4, within-major step, both venues proven (R-462) Bench 9401 (harness v4, swap 0): the startup-wizard user seeded and read back before and after, 10-min memory watch 0 kills (anon peak 4.7 %); the abort starts and serves. Box 9202: the guarded Update done in 23.6 s through the setup gate, read back. Written by upgrade-test.py --write-ladder; the superseded step keeps its definition in steps/. Evidence: felhom.eu/documentation/audits/more-night-apps-2026-09-30/ Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- templates/emby/.felhom.yml | 3 +- templates/emby/docker-compose.yml | 2 +- .../emby/steps/c9865ae7db76a683.felhom.yml | 123 ++++++++++++++++++ templates/emby/steps/c9865ae7db76a683.yml | 53 ++++++++ 4 files changed, 179 insertions(+), 2 deletions(-) create mode 100644 templates/emby/steps/c9865ae7db76a683.felhom.yml create mode 100644 templates/emby/steps/c9865ae7db76a683.yml diff --git a/templates/emby/.felhom.yml b/templates/emby/.felhom.yml index 12b51f4..451304a 100644 --- a/templates/emby/.felhom.yml +++ b/templates/emby/.felhom.yml @@ -10,7 +10,7 @@ subdomain: "emby" slug: "emby" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-09-23" +catalog_since: "2026-09-30" # --- Resource hints (displayed on deploy screen) --- resources: @@ -128,3 +128,4 @@ i18n: update_ladder: - {"from": {"emby": "emby/embyserver:4.10.0.20"}, "to": {"emby": "emby/embyserver:4.11.0.1"}, "digest": {"emby": "sha256:bcc54978db53e333c5b693948447df0ed9dfa7c798a751a9402ff4da4909a6e2"}, "verdict": "proven", "tested_at": "2026-09-22T12:07:44.952377+00:00", "harness_version": 1, "evidence": "felhom.eu/documentation/audits/the-28-2026-09-22/apps/emby/verdict.json", "memory_peak_pct": null, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "backfilled": "2026-09-23", "note": "backfilled from catalog commit 7a6797b; box walk only (harness v1, no memory watch); digest = what the registry served on 2026-09-23, not a measurement of the tested image"} - {"from": {"emby": "emby/embyserver:4.11.0.1"}, "to": {"emby": "emby/embyserver:4.11.0.3"}, "digest": {"emby": "sha256:2ff130d624a97782474e7de791875d2871d613b2afaddc73b3e11eb0c9caa770"}, "verdict": "proven", "tested_at": "2026-09-23T19:54:42Z", "harness_version": 3, "evidence": "felhom.eu/documentation/audits/night-2026-09-23/apps/emby/bench/evidence/MV-emby/verdict.json", "box_evidence": "felhom.eu/documentation/audits/night-2026-09-23/apps/emby/verdict.json", "memory_peak_pct": 4.5, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 7.9} + - {"from": {"emby": "emby/embyserver:4.11.0.3"}, "to": {"emby": "emby/embyserver:4.11.0.4"}, "digest": {"emby": "sha256:1feaaf724694d08a1fb19370b6ff37e6669edb16cae69e02660177253f903dc1"}, "verdict": "proven", "tested_at": "2026-09-30T15:28:57Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/bench/apps/emby/bench/evidence/MV-emby/verdict.json", "box_evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/box/emby/step.txt", "memory_peak_pct": 4.7, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 7.3} diff --git a/templates/emby/docker-compose.yml b/templates/emby/docker-compose.yml index 93dcf58..b56957a 100644 --- a/templates/emby/docker-compose.yml +++ b/templates/emby/docker-compose.yml @@ -12,7 +12,7 @@ services: emby: - image: emby/embyserver:4.11.0.3 + image: emby/embyserver:4.11.0.4 container_name: emby restart: unless-stopped environment: diff --git a/templates/emby/steps/c9865ae7db76a683.felhom.yml b/templates/emby/steps/c9865ae7db76a683.felhom.yml new file mode 100644 index 0000000..5964509 --- /dev/null +++ b/templates/emby/steps/c9865ae7db76a683.felhom.yml @@ -0,0 +1,123 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Emby" +description: "Személyes média szerver élő TV és DVR támogatással" +category: "media" +subdomain: "emby" +slug: "emby" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-09-23" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "512M" + mem_limit: "2048M" + pi_compatible: false + needs_hdd: true + +# --- Backup classification (referential coupling; see felhom.eu documentation/audits/SPIKE-backup-classification-2026-07-14.md) --- +backup: + userdata: + - path: media + class: excluded # pure reader of the shared tree (:ro); state lives in volumes + +# --- Deploy fields (first deployment only) --- +deploy_fields: + - env_var: DOMAIN + label: "Domain" + type: domain + description: "A szerver domain neve" + locked_after_deploy: true + + - env_var: SUBDOMAIN + label: "Aldomain" + type: subdomain + default: "emby" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + + - env_var: HDD_PATH + label: "Médiatár útvonal" + type: path + required: true + placeholder: "/mnt/felhom-drives/hdd_1" + description: "A külső merevlemez elérési útja" + locked_after_deploy: true + +# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47) --- +# The first visitor would create the admin; a fresh install is closed to everyone but the household until the first setup is done. +setup_gate: true + +# --- App info (info page content) --- +app_info: + tagline: "Személyes média szerver élő TV és DVR támogatással" + docs_url: "https://emby.media/support/articles/Home.html" + + use_cases: + - 'Filmek, sorozatok, zene és fotók kezelése egy helyen' + - 'Élő TV nézés és felvétel (DVR) TV tunerrel' + - 'Automatikus transzkódolás bármilyen eszközhöz' + - 'Szülői felügyelet és felhasználói profilok' + - 'Szinkronizálás offline megtekintéshez mobilon' + + first_steps: + - 'Nyisd meg az emby.DOMAIN címet a böngészőben' + - 'Kövesd a beállítás varázslót' + - 'Hozd létre az admin fiókot' + - 'Add hozzá a médiatárat a /media mappából' + - 'Telepítsd az Emby alkalmazást eszközeidre' + + prerequisites: + - 'Külső HDD szükséges a médiafájlok tárolásához' + - 'Legalább 2 GB szabad RAM ajánlott' + - 'Emby Premiere előfizetés a prémium funkciókhoz (opcionális)' + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: api + port: 8096 + path: "/emby/system/ping" + expect: + status: 200 + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'A personal media server with live TV and recording' + app_info: + tagline: 'A personal media server with live TV and recording' + use_cases: + - 'Films, series, music and photos in one place' + - 'Watch and record live TV, with a TV tuner' + - 'It re-encodes on the fly for whatever device you are on' + - 'Parental controls and a profile for each person' + - 'Sync to a phone to watch offline' + first_steps: + - 'Open emby.DOMAIN in your browser' + - 'Follow the setup wizard' + - 'Create the admin account' + - 'Add your library from the /media folder' + - 'Install the Emby app on your devices' + prerequisites: + - 'An external hard drive is needed to keep the media files on' + - 'At least 2 GB of free RAM is recommended' + - 'An Emby Premiere subscription for the premium features (optional)' + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' + - env_var: HDD_PATH + label: 'Media library path' + description: 'The path to the external hard drive' + placeholder: '/mnt/felhom-drives/hdd_1' diff --git a/templates/emby/steps/c9865ae7db76a683.yml b/templates/emby/steps/c9865ae7db76a683.yml new file mode 100644 index 0000000..93dcf58 --- /dev/null +++ b/templates/emby/steps/c9865ae7db76a683.yml @@ -0,0 +1,53 @@ +# Emby - Személyes média szerver élő TV és DVR támogatással +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~512M (mem_limit: 2048M) | Pi-compatible: No +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) +# USERDATA_PATH - Ügyfél-tartalom gyökér (/userdata) +# +# Storage layout (felhom userdata convention): +# Médiatár → ${USERDATA_PATH}/media (csak olvasható) + +services: + emby: + image: emby/embyserver:4.11.0.3 + container_name: emby + restart: unless-stopped + environment: + - TZ=Europe/Budapest + - UID=1000 + - GID=1000 + volumes: + - emby_config:/config + - ${USERDATA_PATH}/media:/media:ro + networks: + - traefik-public + deploy: + resources: + limits: + memory: 2048M + healthcheck: + # Az Emby képfájlban NINCS curl és nincs önálló wget — csak BusyBox van. + # A korábbi curl-próba ezért soha nem futott le, a konténer véglegesen + # unhealthy maradt, és a Traefik nem irányított rá forgalmat (404). + test: ["CMD", "/bin/busybox", "wget", "--spider", "-q", "http://127.0.0.1:8096/emby/system/ping"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 30s + labels: + - "traefik.enable=true" + - "traefik.http.routers.emby.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.emby.entrypoints=websecure" + - "traefik.http.routers.emby.tls=true" + - "traefik.http.routers.emby.tls.certresolver=letsencrypt" + - "traefik.http.services.emby.loadbalancer.server.port=8096" + +volumes: + emby_config: + +networks: + traefik-public: + external: true