From a27bb4f767055fe0b266e659030043cf43f229be Mon Sep 17 00:00:00 2001 From: BirdNET-Go Addon Builder Date: Fri, 16 Oct 2026 16:05:11 +0200 Subject: [PATCH] wger: set DJANGO_DEBUG=False so upstream collects static files (#3123) Upstream's entrypoint only runs collectstatic when DJANGO_DEBUG is literally "False". The add-on never set it, so node and fontawesome assets were never collected and returned 404, leaving the dashboard blank. Co-Authored-By: Claude Opus 5.5 --- wger/CHANGELOG.md | 5 ++++- wger/Dockerfile | 5 ++++- wger/config.yaml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/wger/CHANGELOG.md b/wger/CHANGELOG.md index 758bf53312..e059584e85 100644 --- a/wger/CHANGELOG.md +++ b/wger/CHANGELOG.md @@ -1,4 +1,7 @@ - +## 2.8.0-dev.1.1 (16-10-2026) + +- Fix blank dashboard and non-working menus caused by 404s on frontend assets (bootstrap, htmx, fontawesome, react components). Upstream's entrypoint only collects static files when `DJANGO_DEBUG` is explicitly `False`, which the add-on never set; it is now set in the image (#3123). + ## 2.8.0-dev.1 (2026-10-10) - Update to latest version from wger/server diff --git a/wger/Dockerfile b/wger/Dockerfile index 0e99e5ecbf..83003a5ba2 100644 --- a/wger/Dockerfile +++ b/wger/Dockerfile @@ -29,12 +29,15 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # The upstream image no longer ships database defaults; settings/main.py reads -# DJANGO_DB_ENGINE and DJANGO_DB_DATABASE with no fallback, so they must be set here +# DJANGO_DB_ENGINE and DJANGO_DB_DATABASE with no fallback, so they must be set here. +# DJANGO_DEBUG=False must be explicit: upstream's entrypoint only runs collectstatic +# when the variable is literally "False", otherwise node/fontawesome assets 404 ENV SYNC_EXERCISES_ON_STARTUP=True \ DOWNLOAD_EXERCISE_IMAGES_ON_STARTUP=True \ FROM_EMAIL='wger Workout Manager ' \ DJANGO_DB_ENGINE="django.db.backends.sqlite3" \ DJANGO_DB_DATABASE="/data/database.sqlite" \ + DJANGO_DEBUG=False \ DJANGO_PERFORM_MIGRATIONS=True \ DJANGO_MEDIA_ROOT="/data/media" \ DJANGO_STATIC_ROOT="/data/static" diff --git a/wger/config.yaml b/wger/config.yaml index fcf70c9ce1..5074d55610 100644 --- a/wger/config.yaml +++ b/wger/config.yaml @@ -24,5 +24,5 @@ schema: slug: wger udev: true url: https://github.com/alexbelgium/hassio-addons -version: "2.8.0-dev.1" +version: "2.8.0-dev.1.1" webui: "[PROTO:ssl]://[HOST]:[PORT:80]"