Merge claude/1
This commit is contained in:
commit
f5afb91968
@ -42,7 +42,7 @@ const webuiLoginsConfig = parseConfigFile(path.join(__dirname, '..', '..', 'webu
|
||||
const webuiLogsConfig = parseConfigFile(path.join(__dirname, '..', '..', 'webui_logs'));
|
||||
|
||||
// Merge: later sources override earlier. webui_logins / webui_logs hold
|
||||
// CFG_WEBUI_* keys generated from /docker/configs/webui/* and bind-mounted
|
||||
// CFG_WEBUI_* keys generated from the system configs/webui/* and bind-mounted
|
||||
// in via libreportal's compose.
|
||||
const fileConfig = { ...libreportalConfig, ...webuiLoginsConfig, ...webuiLogsConfig };
|
||||
|
||||
|
||||
@ -257,7 +257,7 @@ class ConfigOptions {
|
||||
{ value: 'rclone', label: 'rclone' }
|
||||
],
|
||||
PATH_MODE: [
|
||||
{ value: 'auto', label: 'Automatic (/docker/backups/<id>)' },
|
||||
{ value: 'auto', label: 'Automatic (backups root, one subfolder per location)' },
|
||||
{ value: 'custom', label: 'Custom path' }
|
||||
],
|
||||
ENGINE: [
|
||||
|
||||
@ -60,7 +60,7 @@ class SetupDetector {
|
||||
}
|
||||
|
||||
// Detect if this is first-time setup. Source of truth is the server-side
|
||||
// lock file at /docker/containers/libreportal/frontend/data/.setup_complete
|
||||
// lock file at <containers-root>/libreportal/frontend/data/.setup_complete
|
||||
// — that's what the bash setupApply function creates after a successful
|
||||
// wizard run. localStorage is no longer used because per-browser state
|
||||
// gives wrong answers (different browsers would each see "first install").
|
||||
|
||||
@ -6,11 +6,11 @@ installLibrePortalImageWebUI()
|
||||
|
||||
isNotice "Building the LibrePortal WebUI Docker image..."
|
||||
|
||||
# The copy below writes into the dockerinstall-owned containers/ dir. On a
|
||||
# The copy below writes into the dockerinstall-owned containers root. On a
|
||||
# fresh install the general traversal/ownership reconcile runs LATER, so at
|
||||
# this point /docker is still 750 (untraversable by the container user) and
|
||||
# containers/ may still be manager-owned — the copy would fail. Establish
|
||||
# traversal (+x on /docker) and containers/ ownership FIRST.
|
||||
# this point the system root is still 750 (untraversable by the container user)
|
||||
# and the containers root may still be manager-owned — the copy would fail.
|
||||
# Establish traversal + containers-root ownership FIRST.
|
||||
fixFolderPermissions
|
||||
|
||||
local result=$(copyFolder "$install_containers_dir/libreportal" "$containers_dir" "$sudo_user_name")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user