Security updates batch 2 (felhom.eu R-1306): security_fix steps n8n 2.44.7, privatebin 2.1.0, docmost 0.97.0, grafana 13.2.4 + bookstack 26.09.2 normal step
gates / gates (push) Successful in 39s

On the operator's yes at the batch-2 STOP (2026-10-27). Each step proven on scratch 9202 by box_walk.py --security
(bookstack: bench 9401 + box). Evidence: felhom.eu documentation/audits/security-app-updates-2026-10-27/.
This commit is contained in:
admin committed 2026-10-27 15:38:22 +01:00
1 parent 06e603e88d
commit 7b0071e92b
22 files changed
+1347 -20

No files matched your search

+2 -1
View File
@@ -10,7 +10,7 @@ subdomain: "wiki"
slug: "bookstack"
# 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-30"
catalog_since: "2026-10-27"
# --- Resource hints (displayed on deploy screen) ---
resources:
@@ -223,6 +223,7 @@ i18n:
update_ladder:
- {"from": {"bookstack": "lscr.io/linuxserver/bookstack:26.05.2", "bookstack-db": "mariadb:12.3"}, "to": {"bookstack": "lscr.io/linuxserver/bookstack:26.05.5", "bookstack-db": "mariadb:12.3"}, "digest": {"bookstack": "sha256:189c796273469115cf810e53f450e15b93184018e4728cd65fcaef8aa93584bc", "bookstack-db": "sha256:805c8e104bd563d5bfa24fadd3f31cd419ea859cb5277f32b5dbf2db714f9ed1"}, "verdict": "proven", "tested_at": "2026-09-21T18:25:39.453490+00:00", "harness_version": 1, "evidence": "felhom.eu/documentation/audits/update-night-2026-09-21/apps/bookstack/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 ac4828f; 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": {"bookstack": "lscr.io/linuxserver/bookstack:26.05.5", "bookstack-db": "mariadb:12.3"}, "to": {"bookstack": "lscr.io/linuxserver/bookstack:26.09.1", "bookstack-db": "mariadb:12.3"}, "digest": {"bookstack": "sha256:99cd1f5707c1911afad213adec5c9739763b76f843d1477142231834ecdcb6f7", "bookstack-db": "sha256:805c8e104bd563d5bfa24fadd3f31cd419ea859cb5277f32b5dbf2db714f9ed1"}, "verdict": "proven", "tested_at": "2026-09-30T11:09:02Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/pg-last-six-2026-09-30/F/apps/bookstack/bench/evidence/MV-bookstack/verdict.json", "box_evidence": "felhom.eu/documentation/audits/pg-last-six-2026-09-30/box/bookstack/box-verdict-bookstack.json", "memory_peak_pct": 43.7, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 58.3}
- {"from": {"bookstack": "lscr.io/linuxserver/bookstack:26.09.1", "bookstack-db": "mariadb:12.3"}, "to": {"bookstack": "lscr.io/linuxserver/bookstack:26.09.2", "bookstack-db": "mariadb:12.3"}, "digest": {"bookstack": "sha256:2fdeeb1a2028ce7cb1274696237e32b9f849e16b6d77314d08c78356a6016fca", "bookstack-db": "sha256:d46e102fa8b9b72bfcdeb56f9dd538742092119dc8b11f31fe662605cd234cd9"}, "verdict": "proven", "tested_at": "2026-10-27T13:38:17Z", "harness_version": 5, "evidence": "felhom.eu/documentation/audits/security-app-updates-2026-10-27/bench/bookstack/evidence/MV-bookstack/", "box_evidence": "felhom.eu/documentation/audits/security-app-updates-2026-10-27/walks/bookstack/", "memory_peak_pct": 43.4, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 69.4}
# --- Security watch (felhom.eu R-1303): where each image's security notices are published ---
# One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10).
+1 -1
View File
@@ -10,7 +10,7 @@
services:
bookstack:
image: lscr.io/linuxserver/bookstack:26.09.1
image: lscr.io/linuxserver/bookstack:26.09.2
container_name: bookstack
restart: unless-stopped
depends_on:
@@ -0,0 +1,218 @@
# =============================================================================
# .felhom.yml - App metadata for felhom-controller
# =============================================================================
# --- Display info (shown on dashboard) ---
display_name: "BookStack"
description: "Egyszerű, könyv-szerű wiki és dokumentáció platform"
category: "productivity"
subdomain: "wiki"
slug: "bookstack"
# 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-30"
# --- Resource hints (displayed on deploy screen) ---
resources:
mem_request: "200M"
mem_limit: "768M" # the sum of the compose limits (512+256) — R-758; was "512M"
pi_compatible: true
needs_hdd: false
# --- 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: "wiki"
required: true
locked_after_deploy: true
description: "Az alkalmazás aldomainje"
- env_var: APP_KEY
label: "Alkalmazás kulcs"
type: secret
generate: "base64key:32"
locked_after_deploy: true
# R-127: Laravel's APP_KEY encrypts each user's two-factor secret (app/Access/Mfa/MfaValue.php encrypt()).
# Regenerating it locks out every member who turned two-factor on, so a restore RECOVERS it and refuses rather
# than make a new one.
data_key: true
- env_var: DB_PASSWORD
label: "Adatbázis jelszó"
type: secret
generate: "password:24"
locked_after_deploy: true
# `09` §3 decision 45: BookStack starts with admin@admin.com / password. The box replaces that password with
# this generated one right after the install (after_install below); the app page shows it as the first password.
- env_var: ADMIN_PASSWORD
label: "Admin jelszó (admin@admin.com)"
type: password
generate: "password:24"
description: "Az első bejelentkezéshez: admin@admin.com és ez a jelszó. Utána a profilodban módosítható."
locked_after_deploy: true
# --- App info (info page content) ---
app_info:
tagline: "Egyszerű wiki platform - polcok, könyvek, fejezetek és oldalak"
default_creds: "admin@admin.com / password"
docs_url: "https://www.bookstackapp.com/docs/"
use_cases:
- 'Családi tudásbázis - receptek, kézikönyvek, szabályok'
- 'Projekt dokumentáció strukturált formában'
- 'Könyv > Fejezet > Oldal hierarchia az áttekinthetőségért'
- 'Teljes szöveges keresés és címkék'
- 'WYSIWYG és Markdown szerkesztő'
first_steps:
- 'Nyisd meg a wiki.DOMAIN címet a böngészőben'
- 'Jelentkezz be: admin@admin.com és a Beállítások oldalon látható első jelszó'
- 'Változtasd meg az admin email címét a sajátodra'
- 'Hozd létre az első polcot és könyvet'
- 'Kezdj el írni!'
guide:
checked_version: "26.09.1"
sections:
- title: "Családtag felvétele"
intro: "Mindenki a saját fiókjával lép be, így látszik, ki mit írt."
steps:
- "A felső sávban kattints a „Settings” (Beállítások), majd a „Users” (Felhasználók) pontra."
- "Kattints az „Add New User” (Új felhasználó) gombra, és add meg a „Name” (Név) és az „Email” mezőt."
- "A „User Roles” (Szerepkörök) résznél jelöld be az „Editor” (Szerkesztő) szerepet, vagy a „Viewer” (Olvasó) szerepet, ha csak olvasna."
- "Kapcsold ki a „Send user invite email” (meghívó e-mail) kapcsolót, és adj meg neki jelszót."
- "Kattints a „Save” (Mentés) gombra, és add át a családtagnak az e-mail címet és a jelszót."
- title: "Oldal írása képpel"
intro: "Egy receptet vagy egy használati útmutatót képpel együtt is leírhatsz."
steps:
- "Nyisd meg a könyvet, és kattints a „New Page” (Új oldal) pontra."
- "Írd be a címet és a szöveget."
- "A szerkesztő eszköztárán kattints az „Insert image” (Kép beszúrása) gombra, majd az „Upload Image” (Kép feltöltése) gombra."
- "Válaszd ki a képet, és kattints a „Select Image” (Kép kiválasztása) gombra."
- "Kattints a „Save Page” (Oldal mentése) gombra."
- title: "Címkék és keresés"
intro: "A címkékkel a különböző könyvekben lévő oldalakat is egyben megtalálod."
steps:
- "Szerkesztés közben a jobb oldali sávban nyisd meg a „Page Tags” (Oldal címkéi) részt."
- "A „Tag Name” (Címke neve) mezőbe írj egy szót, például: recept."
- "Kattints a „Save Page” gombra."
- "Később a felső kereső mezőbe írt szóval vagy egy címkére kattintva megtalálod az oldalt."
- title: "Oldal nyomtatása vagy mentése"
intro: "Egy oldalt vagy egy egész könyvet PDF fájlként is letölthetsz."
steps:
- "Nyisd meg az oldalt vagy a könyvet."
- "A jobb oldali sávban kattints az „Export” (Exportálás) pontra."
- "Válaszd a „PDF File” (PDF fájl) lehetőséget, és mentsd el vagy nyomtasd ki."
faq:
- q: "Átállíthatom magyarra?"
a: "Igen. Jobb felül a neved alatt nyisd meg a „My Account” (Fiókom) oldalt, a „Preferred Language” (Nyelv) mezőben válaszd a „Magyar” nyelvet, és mentsd. Ez az útmutató az angol feliratokat mutatja."
- q: "Mi a polc, a könyv, a fejezet és az oldal?"
a: "Az oldal a tényleges szöveg, a fejezet oldalakat fog össze, a könyv fejezeteket és oldalakat. A polc több könyvet tart együtt, például Konyha vagy Ház."
- q: "Megnézhetem egy oldal régebbi változatát?"
a: "Igen. Az oldal jobb oldali sávjában a „Revisions” (Változatok) pont mutatja, ki mikor mit módosított."
- q: "Egy családtag elfelejtette a jelszavát. Mit tegyek?"
a: "Rendszergazdaként a „Users” oldalon nyisd meg a családtagot, adj meg neki új jelszót, és kattints a „Save” gombra."
- q: "Hol vannak a feltöltött képek?"
a: "A dobozon, a BookStack saját tárhelyén. A doboz mentéseit a vezérlőpulton, az „Adatok és mentés” fülön látod."
# --- After a fresh install (controller >= 0.279.0, decision 45) ---
# BookStack's OWN artisan command updates the initial admin in place. Measured on 9202 2026-09-28: afterwards
# admin@admin.com / password no longer logs in, the generated password does.
after_install:
service: bookstack
env: [ADMIN_PASSWORD]
command: ["php", "/app/www/artisan", "bookstack:create-admin", "--email=admin@admin.com", "--name=Admin", "--password=${ADMIN_PASSWORD}", "--initial"]
success: "The default admin user has been updated"
# --- Controller-side health probe ---
healthcheck:
checks:
- type: http
port: 80
# --- 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 simple, book-shaped wiki and documentation platform'
app_info:
tagline: 'A simple wiki platform - shelves, books, chapters and pages'
default_creds: 'admin@admin.com / password'
use_cases:
- 'A family knowledge base - recipes, manuals, house rules'
- 'Project documentation with a structure you can follow'
- 'Book > Chapter > Page, so a large set stays readable'
- 'Full text search and tags'
- 'A visual editor and a Markdown editor'
first_steps:
- 'Open wiki.DOMAIN in your browser'
- 'Sign in: admin@admin.com and the first password shown on the settings page'
- 'Change the admin e-mail address to your own'
- 'Create your first shelf and book'
- 'Start writing'
guide:
sections:
- title: "Add a family member"
intro: "Everyone signs in with their own account, so you can see who wrote what."
steps:
- "In the top bar, select „Settings”, then „Users”."
- "Select „Add New User”, and fill in „Name” and „Email”."
- "Under „User Roles”, tick „Editor”, or „Viewer” if they only read."
- "Turn off „Send user invite email” and give them a password."
- "Select „Save”, and give the family member the e-mail address and the password."
- title: "Write a page with a picture"
intro: "You can write down a recipe or a manual together with a picture."
steps:
- "Open the book and select „New Page”."
- "Type the title and the text."
- "In the editor's toolbar, select „Insert image”, then „Upload Image”."
- "Choose the picture and select „Select Image”."
- "Select „Save Page”."
- title: "Tags and search"
intro: "With tags you find pages from different books in one place."
steps:
- "While editing, open „Page Tags” in the bar on the right."
- "In „Tag Name”, type a word, for example: recipe."
- "Select „Save Page”."
- "Later you find the page with that word in the search box at the top, or by selecting a tag."
- title: "Print or save a page"
intro: "You can download a page, or a whole book, as a PDF file."
steps:
- "Open the page or the book."
- "In the bar on the right, select „Export”."
- "Choose „PDF File”, and save it or print it."
faq:
- q: "Can I switch it to Hungarian?"
a: "Yes. Under your name at the top right, open „My Account”, choose Hungarian in the „Preferred Language” field, and save. This guide shows the English labels."
- q: "What are a shelf, a book, a chapter and a page?"
a: "The page is the actual text, a chapter holds pages, and a book holds chapters and pages. A shelf keeps several books together, for example Kitchen or House."
- q: "Can I see an older version of a page?"
a: "Yes. In the bar on the right of the page, „Revisions” shows who changed what and when."
- q: "A family member forgot their password. What do I do?"
a: "As an administrator, open the family member on the „Users” page, give them a new password, and select „Save”."
- q: "Where are the uploaded pictures?"
a: "On the box, in BookStack's own storage. You see the box's backups on the dashboard, on the „Data and backup” tab."
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: DB_PASSWORD
label: 'Database password'
- env_var: APP_KEY
label: 'Application key'
- env_var: ADMIN_PASSWORD
label: 'Admin password (admin@admin.com)'
description: 'For the first sign-in: admin@admin.com and this password. Change it in your profile afterwards.'
@@ -0,0 +1,94 @@
# BookStack - Egyszerű, könyv-szerű wiki és dokumentáció platform
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: mariadb
# RAM: ~150M (mem_limit: 512M) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# DB_PASSWORD - Adatbázis jelszó (auto-generated)
# APP_KEY - Laravel application key (auto-generated)
services:
bookstack:
image: lscr.io/linuxserver/bookstack:26.09.1
container_name: bookstack
restart: unless-stopped
depends_on:
bookstack-db:
condition: service_healthy
environment:
- TZ=Europe/Budapest
- PUID=1000
- PGID=1000
- DB_HOST=bookstack-db
- DB_PORT=3306
- DB_USERNAME=bookstack
- DB_PASSWORD=${DB_PASSWORD}
- DB_DATABASE=bookstack
- APP_KEY=${APP_KEY}
# R-753 (controller >= 0.286.0): trust the docker networks as proxies, so Laravel walks X-Forwarded-For from the
# RIGHT and keys its login throttle on each VISITOR (tunnel: the real address; LAN: the LAN client). Measured on
# 9202: without it a stranger's 5 wrong tries throttled the household too; with it only the stranger.
- APP_PROXIES=172.16.0.0/12
- APP_URL=https://${SUBDOMAIN}.${DOMAIN}
volumes:
- bookstack_config:/config
networks:
- traefik-public
- bookstack-internal
deploy:
resources:
limits:
memory: 512M
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.bookstack.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.bookstack.entrypoints=websecure"
- "traefik.http.routers.bookstack.tls=true"
- "traefik.http.routers.bookstack.tls.certresolver=letsencrypt"
- "traefik.http.services.bookstack.loadbalancer.server.port=80"
bookstack-db:
image: mariadb:12.3
container_name: bookstack-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=bookstack
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=${DB_PASSWORD}
- TZ=Europe/Budapest
# MARIADB_AUTO_UPGRADE: on a MAJOR engine move the engine converts its own datadir (~7 s on a
# small DB, backs its system tables up first). Operator ruling 2026-09-13 on
# felhom.eu/documentation/audits/SPIKE-r459-mariadb-upgrade-2026-09-06.md. Inert until a
# major moves — and none may, until Slice 4 (R-448) ships: see CLAUDE.md, engine-major rule.
- MARIADB_AUTO_UPGRADE=1
volumes:
- bookstack_db_data:/var/lib/mysql
networks:
- bookstack-internal
deploy:
resources:
limits:
memory: 256M
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
start_period: 20s
volumes:
bookstack_config:
bookstack_db_data:
networks:
traefik-public:
external: true
bookstack-internal: