docs(filebrowser_quantum): clarify migrateFrom comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
alexbelgium
2026-10-11 07:12:30 +02:00
parent 3a94f3c188
commit 7638c594b0

View File

@@ -98,7 +98,7 @@ bashio::log.info "... set server"
yq e -i ".http.port = 8080" "$FILEBROWSER_CONFIG"
yq e -i ".http.listen = \"0.0.0.0\"" "$FILEBROWSER_CONFIG"
yq e -i ".server.database = {\"path\": \"/config/database.sqlite\"}" "$FILEBROWSER_CONFIG"
# Import the 1.x BoltDB; upstream skips it once the SQLite file is populated
# Migrate the 1.x BoltDB on first start (done once; v2 keeps checking the file exists)
if [ -s /config/database.db ]; then
yq e -i ".server.database.migrateFrom = \"/config/database.db\"" "$FILEBROWSER_CONFIG"
fi