Commit Graph
249 Commits
Author SHA1 Message Date
ginnoirandClaude Opus 5.5 09ce938f6e fix(media): mount recyclarr config from /config/recyclarr
./recyclarr resolved to /data/compose/10/... (the Portainer-internal
path), so recyclarr has run against an empty /config since 2026-06-17
and never synced TRaSH profiles. The config is now copied to
/config/recyclarr on the host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:35:54 -06:00
ginnoirandClaude Opus 5.5 4aea57a7d7 fix(media): mount mam-bonus script from /config, not ./
A relative bind resolves to /data/compose/10/... (the path inside the
Portainer container), so Docker bound an empty host dir and the job had
no script. Use the absolute /config/mam-bonus/buy-upload.sh like the
backup stack does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:25:35 -06:00
ginnoirandClaude Opus 5.5 ca257000c8 feat(media): add mam-bonus daily upload-credit buyer
Spends MAM bonus points once a day (04:17) on upload credit via
json/bonusBuy.php (spendtype=upload, "Max Affordable ") so seedbonus
never caps out. Dedicated MAM session; rotated mam_id is persisted in a
curl cookie jar under /config/mam-bonus. Skips when below the 50 GiB
minimum; failures alert ntfy topic `mam`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 17:20:02 -06:00
ginnoirandClaude Opus 5.5 4140fd49c8 feat(cameras): turn off Frigate recording, snapshots and detection
Live view only now. Existing recordings/clips (~276 GB) and their DB rows
were deleted on the host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:38:43 -05:00
ginnoirandClaude Opus 5.5 62751a3b89 fix(famapp,resume): pull MinIO from registry.ginnoir.com mirror
minio/minio disappeared from Docker Hub (pull access denied since
2026-10-22), so Portainer's pull-on-redeploy failed every poll and both
stacks were frozen. Re-pushed the last cached RELEASE.2025-09-07 image to
registry.ginnoir.com/mirror/minio and pointed both stacks at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:36:18 -05:00
ginnoirandClaude Opus 5.5 5c8b108f2b fix(dev,resume): drop value-less env entries that blanked stack.env
A bare `- VAR` in `environment:` passes through Portainer's (empty) shell
env and overrides the env_file value with nothing. BookStack's APP_KEY and
DB_PASS, mariadb's MYSQL_* passwords, TZ, and minio_resume's OIDC client
id/secret were all arriving empty; BookStack only worked via its persisted
/config/www/.env. env_file already supplies every one of these, and the
stack.env values were verified to match the live ones before removal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:17:36 -05:00
ginnoirandClaude Opus 5.5 39b26e68d1 chore(dev): remove Plane
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m24s
Plane had been broken since the June env_file cutover (bare DATABASE_URL /
SECRET_KEY entries overrode stack.env with empty values, so the migrator
never connected) and TB-018 already dropped it. It held one empty project.

Removes the 8 Plane services and their env from the dev stack, the
plane.ginnoir.com Caddy block, the Authentik forward-auth provider/app,
the nightly pg_dump and minio snapshot path, and stale doc references.
A final pg_dump + minio tarball is kept at ~/plane-final-20261026 on valhalla.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:02:49 -05:00
ginnoirandClaude Opus 5.5 f0ce040ed2 feat(media): add courarr for seasonal AniList anime lists
Deploy Caddyfile to valhalla / deploy (push) Successful in 21s
The Trakt "latest-anime" import list in Sonarr has silently added nothing
since its OAuth token lapsed on 2024-12-02. Courarr builds seasonal lists
straight from AniList (no key, no OAuth), maps them to TVDB via
Fribb/anime-lists, and serves them as Sonarr Custom List feeds at
http://courarr:6161/feed/<slug> over the media network.

courarr.ginnoir.com is internal-only behind Authentik forward auth
(provider homelab-courarr, pk 49); /api and /feed skip SSO.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:41:28 -05:00
ginnoirandClaude Opus 5.5 57c9a22464 docs: correct Caddy deploy runner names and timing in CLAUDE.md
Either act_runner (gitea_runner = valhalla-dev-runner, gitea_runner_ci =
valhalla-ci-runner-2) can pick up deploy-caddy.yml; checking only one
container's logs looked like a missed trigger. Runners now have
force_pull: false (host config) so a deploy takes ~25s instead of ~2min.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:37:50 -05:00
ginnoirandClaude Opus 5.5 9a45d53048 feat(streaming): add Jellyfin-backed jellyseerr at jellyseerr.ginnoir.com
Deploy Caddyfile to valhalla / deploy (push) Successful in 2m0s
Second Seerr instance pointed at Jellyfin, running alongside the
Plex-backed seerr until the Plex cutover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:22:39 -05:00
ginnoirandClaude Opus 5.5 a50849b766 fix(media): on-complete hook reads author/title from end of MAM save path
autobrr's {{ .Category }} renders as "Audiobook/Non-Fiction", so the save
path is <Category>/<SubCategory>/<Author>/<Title>; indexing from the front
would have filed books under the subcategory as author.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 20:56:51 -05:00
ginnoirandClaude Opus 5.5 247276af25 feat(media): qBittorrent on-complete hook files MAM grabs into book libraries
AutoRun now runs on-complete.py: it keeps the cross-seed webhook and, for
category mam (autobrr MyAnonamouse filter), hardlinks audiobooks into the
ABS library and copies ebooks into the CWA ingest folder (CWA edits and then
deletes ingest files, so a hardlink would corrupt the seed). Host copy lives
at /config/qbittorrent/scripts/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 20:52:18 -05:00
ginnoirandClaude Opus 5.5 c76d24ac5b fix(streaming): pin jellyfin to 12.3ubu2604-ls56, exclude from watchtower
Watchtower's mid-day recreate caused ~9 min of Caddy 502s while
Jellyfin started silently on virtiofs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:42:30 -05:00
ginnoirandClaude Opus 5.5 c53052daee fix(media): pin qbittorrent to 5.2.4 (downgrade from 5.3.0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 17:00:00 -05:00
ginnoirandClaude Opus 5.5 1f77238e35 fix(backup): install crontab root-owned so busybox crond runs it
busybox crond silently ignores a crontab not owned by root; the bind-mounted
/config/backup/crontab is ginnoir-owned, so no dump or freshness check had run
since the Oct 18 remount. Mount it at /crontab.src and install it 0600 root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 13:41:31 -05:00
ginnoirandClaude Opus 5.5 a09f7f6d52 docs(media): note storyteller CUDA pin is the v3 beta and where the v2 DB backup is
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 19:48:19 -05:00
ginnoirandClaude Opus 5.5 17743dfdcf feat(media): run Storyteller whisper on the P100 (CUDA 12.9 image)
Switch storyteller to the amd64-cuda-12.9.0 image with the P100 via CDI.
Tested on a 2-min clip: 3.9 s on GPU vs 25 s on the CPU build. The whisper
build lacks sm_60 kernels, so persist the PTX JIT cache under /data.
CUDA images are SHA-tagged only, so pin the tag and exclude from Watchtower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 19:39:31 -05:00
ginnoirandClaude Opus 5.5 f51cc9c7e8 docs(media): widen autobrr freeleech limits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 19:32:29 -05:00
ginnoirandClaude Opus 5.5 a7c34a7be4 docs(media): Sonarr/Radarr on-import hook into cross-seed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:15:36 -05:00
ginnoirandClaude Opus 5.5 032185e258 docs(media): autobrr TL live, race filter, qbit racing prefs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:05:30 -05:00
ginnoirandClaude Opus 5.5 a92c417f03 feat(media): autobrr wired to qbit + cross-seed; ops API key; docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:36:11 -05:00
ginnoirandClaude Opus 5.5 6e9f75220a feat(media): autobrr with Authentik OIDC
Deploy Caddyfile to valhalla / deploy (push) Successful in 42s
- autobrr service in the media stack (media + edge nets, /config/autobrr),
  native OIDC via Authentik provider homelab-autobrr (pk 48, ginnoir-only
  binding); built-in login disabled.
- Caddy: autobrr.ginnoir.com, internal_only, no forward_auth.
- Bookmarks regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:28:29 -05:00
ginnoirandClaude Opus 5.5 460ea266e5 docs(media): cross-seed live in inject mode — verification + share-limit notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:22:01 -05:00
ginnoirandClaude Opus 5.5 cf0343c2f4 docs(media): cross-seed dry-run status + v6 save/linkDirs gotcha
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:03:52 -05:00
ginnoirandClaude Opus 5.5 a510504c7f fix(media): cross-seed qbit login creds in stack.env (qbit auth is on)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 15:59:22 -05:00
ginnoirandClaude Opus 5.5 ac367cc707 feat(media): cross-seed (dry-run) + move qbittorrent off the 6881 port
- qbittorrent: torrent port 6881 -> 43817 (6881-6889 is banned on many
  private trackers), plus a same-path /storage1 mount so cross-seed
  hardlinks resolve identically in both containers.
- cross-seed v6 daemon on the media net; config.js is host-managed at
  /config/cross-seed and reads API keys from stack.env. Starts in
  action "save" (dry run) against TorrentLeech.
- Plan: docs/superpowers/plans/2026-10-18-cross-seed-autobrr.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 15:58:23 -05:00
ginnoirandClaude Opus 5.5 6d8d34d996 fix(authentik): allow ABS /audiobookshelf-prefixed OIDC callbacks
Current Audiobookshelf serves under /audiobookshelf, so it sends
/audiobookshelf/auth/openid/callback, which Authentik rejected. Add the
prefixed callback + mobile-redirect URIs, and have setup-books-auth.py
sync redirect URIs on existing providers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 14:25:13 -05:00
ginnoirandClaude Opus 5.5 e1fd7acce9 fix(authentik): chaptarr verified-email mapping + ginnoir-only binding
Authentik's default email scope hardcodes email_verified=false, which
Chaptarr's OIDC rejects. Chaptarr gets its own verified email mapping,
and the app is bound to the ginnoir user so the email allowlist can't
be matched by another account.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:52:36 -05:00
ginnoirandClaude Opus 5.5 f92cad4d66 feat(media): chaptarr native OIDC instead of forward_auth
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m23s
Chaptarr has built-in OIDC (/signin-oidc), so per the auth standard it
gets Pattern A: new homelab-chaptarr OAuth2 provider, old forward_auth
proxy provider removed, Caddy block reduced to internal_only + proxy.
setup-books-auth.py now handles both OIDC apps generically.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:46:49 -05:00
ginnoirandClaude Opus 5.5 e0240d8e10 fix(backup): make backup_scheduler actually run; add freshness alerting
busybox crond reads <dir>/<user>, but the crontab was mounted at
/etc/crontab, so no cron job had ever run: SQL dumps were last taken
2026-06-17 and the ntfy failure alerts never fired. Kopia's own server
schedule kept file snapshots going until its cache broke on 2026-08-28,
and nothing noticed for seven weeks.

- mount crontab at /etc/crontabs/root and run crond -c /etc/crontabs
- add hourly backup-check-freshness.sh: every Kopia source and the
  newest SQL dump must be <26h old and dumps must not be empty stubs;
  pushes UP/DOWN to the Uptime Kuma push monitor "Backups fresh" (#73),
  which also alerts via ntfy if no push arrives for 2h
- scheduler joins edge to reach uptime_kuma; jq added; KOPIA password
  and KUMA_PUSH_URL exported to /etc/backup.env for cron's bare env
- drop backup-run-snapshots.sh from cron (would duplicate the kopia
  server's 03:00 policy snapshots); keep it for manual runs
- bookstack dump used an unset MYSQL_PASSWORD (empty 20-byte gzip);
  dump_mariadb now takes the password env var name
- add immich-postgres and nextcloud-postgres dumps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 03:13:35 -05:00
ginnoirandClaude Opus 5.5 72688f48ac feat(authentik): books-stack providers + ABS OIDC client
Deploy Caddyfile to valhalla / deploy (push) Failing after 1m37s
Adds idempotent scripts/run-books-auth.sh (ak shell) that creates
forward_single proxy providers for chaptarr/books/storyteller on the
embedded outpost and the homelab-audiobooks OIDC provider. Records the
ABS client credentials in media stack.env and marks host prep done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 02:44:32 -05:00
ginnoirandClaude Opus 5.5 ca00f8899d feat(media): add books stack (chaptarr, CWA, audiobookshelf, storyteller)
Chaptarr grabs ebooks into the CWA ingest folder and audiobooks into the
ABS library; Storyteller reads both read-only for read-along alignment.
All four are internal_only; chaptarr/CWA/storyteller use forward_auth,
ABS uses native OIDC. Adds STORYTELLER_SECRET_KEY to stack.env and a
BOOKS.md runbook (host prep, Authentik, post-deploy checklist).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 02:44:32 -05:00
ginnoirandClaude Opus 5.5 601a9d8545 fix(cameras): neolink healthcheck probes 300 main-stream buffers
A stalled neolink still bursts ~30 buffered packets on connect, so the
30-buffer sub-stream probe passed for an hour while Frigate crash-looped.
Healthy main stream delivers 300 buffers in ~4 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:23:58 -05:00
ginnoirandClaude Opus 5.5 40b19c49f9 fix(cameras): self-healing healthcheck for neolink stalls
neolink can wedge with a full message channel: RTSP stays up but serves
no frames, so Frigate shows e1 offline indefinitely. Probe 30 RTP buffers
off the sub stream each minute; after 3 straight failures SIGKILL neolink
so the container exits and restart: unless-stopped brings it back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 22:43:12 -05:00
ginnoirandClaude Opus 5.5 985a6ddc43 fix(cameras): transcode E1 audio to AAC in go2rtc so MSE live view stops falling back
neolink emits raw PCM (L16) audio; browser MSE only plays AAC/PCMA/PCMU, so the
main-stream player stalled and Frigate dropped to the low-res view. Video is copied.
Recording now copies the AAC instead of transcoding again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 03:18:07 -05:00
ginnoirandClaude Opus 5.5 abf17cbf24 feat(cameras): 24/7 recording (7 d) + 30 d event clips; pin frigate to 6 CPUs
The UI on-demand toggle was rejected because record.enabled was false in config.
OpenVINO used ~6.5 cores with all 52 threads visible; cpuset 0-5 brings frigate to ~1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 03:05:32 -05:00
ginnoirandClaude Opus 5.5 981c7a65b5 fix(cameras): PTZ page waits for each step's OK, drops zoom, narrows MQTT ACL
neolink 0.6.2 moves for amount/32 s per command and queues them, so the page
sends the next step only after the previous reply; in/out are todo!() upstream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 02:05:46 -05:00
ginnoirandClaude Opus 5.5 b78a8d51ad feat(cameras): pan/tilt page — mosquitto + neolink mqtt-rtsp + cam.ginnoir.com/ptz
Deploy Caddyfile to valhalla / deploy (push) Failing after 10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:57:35 -05:00
ginnoirandClaude Opus 5.5 d6a331465e fix(cameras): frigate-notify in events mode (no review items without recording)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:46:54 -05:00
ginnoirandClaude Opus 5.5 e8c311a452 fix(cameras): enable detection on e1 (Frigate defaults detect.enabled=false)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:42:08 -05:00
ginnoirandClaude Opus 5.5 73255da5fb docs: add cameras stack to the layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:38:58 -05:00
ginnoirandClaude Opus 5.5 22c861a228 feat(cameras): cam.ginnoir.com behind Authentik forward_auth
Deploy Caddyfile to valhalla / deploy (push) Failing after 1m12s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:28:55 -05:00
ginnoirandClaude Opus 5.5 a2813d3dc2 feat(cameras): neolink + frigate + frigate-notify stack for the Reolink E1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:20:59 -05:00
ginnoirandClaude Opus 5.5 dee126cd55 docs(cameras): implementation plan for the Reolink E1 / Frigate stack
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:17:04 -05:00
ginnoirandClaude Opus 5.5 392939ac53 docs(cameras): E1 has no RTSP — bridge via neolink
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:14:00 -05:00
ginnoirandClaude Opus 5.5 9fd21bf50d docs(cameras): design for Reolink E1 → Frigate live view + detection snapshots
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:11:08 -05:00
ginnoirandClaude Opus 5.5 be835cad90 feat(devicebackup): run the guestmount urbackup image with kvm + fuse
Switch the urbackup service to registry.ginnoir.com/ginnoir/urbackup-server
(built in 3615c9b) and pass /dev/fuse, /dev/kvm and SYS_ADMIN so the server
enables image mounting for single-file restores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:17:57 -05:00
ginnoirandClaude Opus 5.5 3615c9b3d8 feat(devicebackup): build urbackup-server with guestmount for image file restores
Build urbackup-server image / build-and-push (push) Successful in 7m33s
The stock image has no libguestfs, so UrBackup disables image mounting and
single files can't be restored from image backups. Add libguestfs-tools +
kernel/supermin/qemu on top of uroni/urbackup-server:2.5.x, built by Gitea
Actions into registry.ginnoir.com/ginnoir/urbackup-server (Portainer only
pulls). Verified on valhalla: KVM-accelerated appliance, MOUNT TEST OK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:09:17 -05:00
ginnoirandClaude Opus 5.5 a55cfd2b35 feat(devicebackup): UrBackup for the Windows laptops, Time Machine staging for the Macs
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m42s
New devicebackup stack: UrBackup 2.5.x (pinned, watchtower off) in internet
mode on :55415 so laptops back up on the LAN and over the tailnet; web UI
only via Caddy + Authentik forward_auth (provider homelab-urbackup, pk 41).

MacBooks (tm-hub, tm-wif) use Time Machine on the host smbd, which already
owns :445. Shares are staged in /etc/samba/smb.conf.timemachine-pending and
not yet applied; README has the apply command and client setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:45:32 -05:00
ginnoir 1028bc3a74 Serve 5etools from storage1 via Caddy instead of a 14G image.
Deploy Caddyfile to valhalla / deploy (push) Successful in 1m28s
The mirror is static files; keeping it in a container burned root disk. Caddy file_server bind-mounts /storage1/labdata/5etools like the other static sites.
2026-08-25 22:24:39 -05:00