Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b440ba4ec0 |
7
abra.sh
7
abra.sh
@ -6,7 +6,7 @@ export FLOW_RECOVERY_VERSION=v2
|
||||
export FLOW_TRANSLATION_VERSION=v3
|
||||
export SYSTEM_BRAND_VERSION=v4
|
||||
export NEXTCLOUD_CONFIG_VERSION=v3
|
||||
export WORDPRESS_CONFIG_VERSION=v6
|
||||
export WORDPRESS_CONFIG_VERSION=v4
|
||||
export MATRIX_CONFIG_VERSION=v3
|
||||
export WEKAN_CONFIG_VERSION=v5
|
||||
export VIKUNJA_CONFIG_VERSION=v3
|
||||
@ -21,6 +21,11 @@ export DB_ENTRYPOINT_VERSION=v1
|
||||
export PG_BACKUP_VERSION=v2
|
||||
export ENTRYPOINT_CSS_VERSION=v1
|
||||
|
||||
clear_assets() {
|
||||
rm -rf /web/dist/assets/*
|
||||
echo "Assets cleared. Redeploy to repopulate from image, then run 'customize' if needed."
|
||||
}
|
||||
|
||||
customize() {
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: ... customize <assets_path>"
|
||||
|
||||
@ -47,7 +47,7 @@ services:
|
||||
volumes:
|
||||
- data:/data
|
||||
- media:/media
|
||||
- custom_assets:/web/dist/assets
|
||||
- assets:/web/dist/assets
|
||||
- templates:/templates
|
||||
networks:
|
||||
- internal
|
||||
@ -70,7 +70,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect,${STACK_NAME}-frameOptions,${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}"
|
||||
- "coop-cloud.${STACK_NAME}.version=11.0.3+2026.2.1"
|
||||
- "coop-cloud.${STACK_NAME}.version=11.0.2+2026.2.1"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.regex=^https://(${REDIRECTS})/(.*)"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.replacement=https://${DOMAIN}/$${2}"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.permanent=true"
|
||||
@ -179,7 +179,7 @@ volumes:
|
||||
media:
|
||||
certs:
|
||||
templates:
|
||||
custom_assets:
|
||||
assets:
|
||||
database:
|
||||
|
||||
configs:
|
||||
|
||||
@ -1 +1,9 @@
|
||||
WARNING: This update will clear all custom assets in /web/dist/asssts. You might need to run customize() again.
|
||||
This patch release adds a `clear_assets` command to fix stale font files after upgrading authentik.
|
||||
|
||||
If fonts are missing after an upgrade (404 errors in browser console, or missing icons), the `assets` Docker volume contains stale files from the previous image. To fix:
|
||||
|
||||
abra app cmd <app-name> app clear_assets --user root
|
||||
abra app undeploy <app-name>
|
||||
abra app deploy <app-name>
|
||||
|
||||
After redeploying, Docker repopulates the empty volume from the new image. If customize assets was used before, re-run `customize` afterwards.
|
||||
|
||||
@ -52,7 +52,7 @@ entries:
|
||||
name: {{ env "WORDPRESS_GROUP" }}
|
||||
attrs:
|
||||
users:
|
||||
- !Find [authentik_core.user, [username, "akadmin"]]
|
||||
- 6
|
||||
id: wordpress_group
|
||||
model: authentik_core.group
|
||||
|
||||
|
||||
Reference in New Issue
Block a user