Compare commits

...

10 Commits

Author SHA1 Message Date
Alexandre
207fc703a7 Merge pull request #2721 from alexbelgium/copilot/fix-filebrowser-start-issue
filebrowser: fix continuous loading screen (blue pulsating dots) in NoAuth mode
2026-05-20 10:45:51 +02:00
Alexandre
46cc8d102c Update ingress entry and version in config.yaml 2026-05-20 10:43:12 +02:00
Alexandre
50796bca5b Update CHANGELOG.md 2026-05-20 10:42:37 +02:00
copilot-swe-agent[bot]
50833e5f2f Merge origin/master and fix duplicate CHANGELOG entry
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/abffb289-855c-4fef-9d3a-7896eaf40d42

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-05-20 08:37:33 +00:00
copilot-swe-agent[bot]
dc9967085c Merge remote-tracking branch 'origin/master' into copilot/fix-filebrowser-start-issue
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-05-20 08:37:01 +00:00
github-actions
cfb76f0018 GitHub bot: changelog [nobuild] 2026-05-20 08:27:03 +00:00
Alexandre
1d0d36dd26 Update config.yaml
https://github.com/alexbelgium/hassio-addons/issues/2720
2026-05-20 10:24:46 +02:00
copilot-swe-agent[bot]
36b4314e6c Fix filebrowser Vue Router catchAll crash via nginx root redirect
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/5476414b-abaf-44f4-96ac-aa4e1c5b96a8

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-05-20 06:55:43 +00:00
copilot-swe-agent[bot]
add38cacef Fix filebrowser continuous loading screen when NoAuth=true
Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/e93921db-911c-409f-bbfc-c80edd6d4817

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-05-20 05:30:59 +00:00
copilot-swe-agent[bot]
d4efdc518a Initial plan 2026-05-20 05:11:02 +00:00
4 changed files with 18 additions and 3 deletions

View File

@@ -1,3 +1,11 @@
## 2.63.4-3 (2026-05-20)
- Fix: add nginx redirect from root `/` to `/files/` to prevent Vue Router crash on startup
- Vue Router 4's `/:catchAll(.*)*` redirect throws `TypeError: e.params.catchAll is not iterable` when `catchAll` is `undefined` (navigating to root `/`)
- The redirect ensures the app always loads at `/files/` so the broken catch-all redirect code is never invoked
## 2.63.4-1 (2026-05-20)
- Fix: always pass --noauth flag when NoAuth=true to ensure correct database initialization (prevents continuous loading screen / blue pulsating dots)
- Fix: avoid passing empty string arguments to filebrowser command
## 2.63.4 (2026-05-19)
- Update to latest version from filebrowser/filebrowser (changelog : https://github.com/filebrowser/filebrowser/releases)

View File

@@ -77,6 +77,7 @@ environment:
homeassistant: 2025.5.0
image: ghcr.io/alexbelgium/filebrowser-{arch}
ingress: true
ingress_entry: files
ingress_port: 8071
ingress_stream: true
map:
@@ -123,4 +124,4 @@ schema:
slug: filebrowser
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2.63.4"
version: "2.63.4-3"

View File

@@ -77,9 +77,9 @@ if bashio::config.true 'NoAuth'; then
rm /data/auth &> /dev/null || true
rm /config/filebrowser.dB &> /dev/null || true
touch /data/noauth
NOAUTH="--noauth"
bashio::log.warning "Auth method change, database reset"
fi
NOAUTH="--noauth"
bashio::log.info "NoAuth option selected"
else
if ! bashio::fs.file_exists "/data/auth"; then
@@ -113,7 +113,7 @@ fi
bashio::log.info "Starting..."
# shellcheck disable=SC2086
/./bin/filebrowser --disablePreviewResize --disableTypeDetectionByHeader --cacheDir="/cache" $CERTFILE $KEYFILE --root="$BASE_FOLDER" --address=0.0.0.0 --port=8080 --database=/config/filebrowser.dB "$NOAUTH" "$DISABLE_THUMBNAILS" &
/./bin/filebrowser --disablePreviewResize --disableTypeDetectionByHeader --cacheDir="/cache" $CERTFILE $KEYFILE --root="$BASE_FOLDER" --address=0.0.0.0 --port=8080 --database=/config/filebrowser.dB ${NOAUTH:+$NOAUTH} ${DISABLE_THUMBNAILS:+$DISABLE_THUMBNAILS} &
bashio::net.wait_for 8080 localhost 900 || true
bashio::log.info "Started !"
nginx || bashio::log.fatal "Nginx failed"

View File

@@ -6,6 +6,12 @@ server {
client_max_body_size 0;
# Redirect bare root to /files/ so the Vue Router never sees path "/"
# (Vue Router 4's /:catchAll(.*)* redirect crashes when catchAll is undefined)
location = / {
return 302 files/;
}
location / {
add_header Access-Control-Allow-Origin *;
proxy_connect_timeout 30m;