From 6ccc88c8d25c64170dc8957a764b6c8517960ab2 Mon Sep 17 00:00:00 2001 From: Ivo Oskamp Date: Fri, 9 Jan 2026 12:14:18 +0100 Subject: [PATCH] Auto-commit local changes before build (2026-01-09 12:14:18) --- .last-branch | 2 +- .../backupchecks/src/backend/app/main/routes_parsers.py | 2 +- docs/changelog.md | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.last-branch b/.last-branch index cd87137..68001ac 100644 --- a/.last-branch +++ b/.last-branch @@ -1 +1 @@ -v20260109-04-parsers-page-all-parsers +v20260109-05-fix-parsers-route-import diff --git a/containers/backupchecks/src/backend/app/main/routes_parsers.py b/containers/backupchecks/src/backend/app/main/routes_parsers.py index b9ee6f4..9286f5b 100644 --- a/containers/backupchecks/src/backend/app/main/routes_parsers.py +++ b/containers/backupchecks/src/backend/app/main/routes_parsers.py @@ -1,7 +1,7 @@ from .routes_shared import * # noqa: F401,F403 # Keep the parser overview page in sync with the actual parser registry. -from app.parsers.registry import PARSER_DEFINITIONS +from ..parsers.registry import PARSER_DEFINITIONS @main_bp.route("/parsers") @login_required diff --git a/docs/changelog.md b/docs/changelog.md index 6148504..a2e28c9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -31,6 +31,12 @@ - Ensures the Parsers page stays in sync with newly added or removed parsers without manual template updates. - Improved maintainability by removing hardcoded parser definitions from the template. +--- + +## v20260109-05-fix-parsers-route-import +- Fixed parsers page route startup crash by replacing an invalid absolute import with a package-relative import for the parser registry. +- Prevented Gunicorn worker boot failure (Bad Gateway) caused by "No module named 'app'" during application initialization. + ================================================================================================================================================ ## v0.1.19 This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs. -- 2.45.2