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 <noreply@anthropic.com>
This commit is contained in:
BirdNET-Go Addon Builder
2026-10-16 16:05:11 +02:00
parent d6a409a226
commit a27bb4f767
3 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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 <wger@example.com>' \
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"

View File

@@ -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]"