mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-27 16:30:32 +02:00
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>
This commit is contained in:
committed by
GitHub
parent
d4efdc518a
commit
add38cacef
@@ -1,4 +1,8 @@
|
||||
|
||||
## 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)
|
||||
|
||||
|
||||
@@ -123,4 +123,4 @@ schema:
|
||||
slug: filebrowser
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "2.63.4"
|
||||
version: "2.63.4-1"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user