mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-01 10:50: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)
|
## 2.63.4 (2026-05-19)
|
||||||
- Update to latest version from filebrowser/filebrowser (changelog : https://github.com/filebrowser/filebrowser/releases)
|
- Update to latest version from filebrowser/filebrowser (changelog : https://github.com/filebrowser/filebrowser/releases)
|
||||||
|
|
||||||
|
|||||||
@@ -123,4 +123,4 @@ schema:
|
|||||||
slug: filebrowser
|
slug: filebrowser
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
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 /data/auth &> /dev/null || true
|
||||||
rm /config/filebrowser.dB &> /dev/null || true
|
rm /config/filebrowser.dB &> /dev/null || true
|
||||||
touch /data/noauth
|
touch /data/noauth
|
||||||
NOAUTH="--noauth"
|
|
||||||
bashio::log.warning "Auth method change, database reset"
|
bashio::log.warning "Auth method change, database reset"
|
||||||
fi
|
fi
|
||||||
|
NOAUTH="--noauth"
|
||||||
bashio::log.info "NoAuth option selected"
|
bashio::log.info "NoAuth option selected"
|
||||||
else
|
else
|
||||||
if ! bashio::fs.file_exists "/data/auth"; then
|
if ! bashio::fs.file_exists "/data/auth"; then
|
||||||
@@ -113,7 +113,7 @@ fi
|
|||||||
bashio::log.info "Starting..."
|
bashio::log.info "Starting..."
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# 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::net.wait_for 8080 localhost 900 || true
|
||||||
bashio::log.info "Started !"
|
bashio::log.info "Started !"
|
||||||
nginx || bashio::log.fatal "Nginx failed"
|
nginx || bashio::log.fatal "Nginx failed"
|
||||||
|
|||||||
Reference in New Issue
Block a user