From 5262a9895c2045fa170b01bff32174cbd5f07841 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 9 Nov 2026 14:03:10 -0700 Subject: [PATCH] Fix HeyForm port after v3.0.6; hold Paperless at 3.4.1 - HeyForm v3.0.6 changed the default listen port from 9157 to 8000, so Caddy got 502s. Set APP_LISTEN_PORT=9157 explicitly. - Paperless 3.4.2 fails its migration check on this database (InconsistentMigrationHistory, squashed 1022..1036). Rolled back to 3.4.1 until that is investigated. Co-Authored-By: Claude Opus 5.5 --- group_vars/docker/services.yml | 7 ++++--- roles/docker/templates/heyform-compose.yml.j2 | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/group_vars/docker/services.yml b/group_vars/docker/services.yml index 1f62a9c..30bcf12 100644 --- a/group_vars/docker/services.yml +++ b/group_vars/docker/services.yml @@ -29,9 +29,10 @@ starpunk_admin_sub: "5754855f-0a30-4755-9609-7294209e40f4" # Gokapi super admin: must match the Pocket ID account email gokapi_admin_email: "phil@{{ primary_domain }}" -# Paperless-ngx image tag. "latest" only gets stable releases (beta/dev have -# their own tags); dockcheck updates it daily. -paperless_version: "latest" +# Paperless-ngx image tag. Held at 3.4.1: 3.4.2 fails to start on this +# database (InconsistentMigrationHistory on documents.1022_..._squashed_1036). +# Go back to "latest" once that is sorted. +paperless_version: "3.4.1" # Dawarich image tag. Pinned while stepping through the 1.7 -> 1.22 upgrade # (stops: 1.10.3, 1.14.5, 1.16.0, 1.17.0 compose change, 1.18.1, 1.22.0). diff --git a/roles/docker/templates/heyform-compose.yml.j2 b/roles/docker/templates/heyform-compose.yml.j2 index 9f67ec0..2e8a55e 100644 --- a/roles/docker/templates/heyform-compose.yml.j2 +++ b/roles/docker/templates/heyform-compose.yml.j2 @@ -13,6 +13,8 @@ services: - redis environment: - APP_HOMEPAGE_URL=https://{{ subdomains.heyform }} + # v3.0.6 changed the default port to 8000; Caddy proxies to 9157 + - APP_LISTEN_PORT=9157 # Only Caddy may set X-Forwarded-For - TRUST_PROXY={{ docker.hairpin_ip }} # No public sign-up; new people join through workspace invitations