Recover administrator access
Use BreakGlass only when an active administrator has lost every sign-in factor and no other administrator can use Reset access. It does not repair configuration, database, or startup failures.
BreakGlass replaces the administrator password, removes passkeys, TOTP and recovery codes, and invalidates existing sessions. The temporary password must be replaced immediately after sign-in.
Sensitive log
The temporary password is written only to security.log. Do not upload this file, paste it into an issue, or send it to a log collection service.
Docker Compose
Select the same production file used for the deployment:
export COMPOSE_FILE=/path/to/compose.yml # or caddy.compose.yml / acme.compose.ymlStop the normal server so two queue and API instances cannot run together:
bashdocker compose stopStart a one-time recovery container. Omit the username option to recover the oldest active administrator:
bashdocker compose run --no-deps -d --name lumilio-breakglass \ -e LUMILIO_BREAK_GLASS=true \ -e LUMILIO_BREAK_GLASS_USERNAME=admin \ lumilioRead the successful
auth.break_glassevent and copy itstemporary_password:bashdocker exec lumilio-breakglass cat /data/app-state/logs/security.logRemove the one-time container and restart the normal server without BreakGlass:
bashdocker rm -f lumilio-breakglass docker compose up -dSign in with the temporary password and choose a permanent password when prompted.
Desktop
First quit Lumilio Photos completely from its menu-bar or tray icon. An existing instance will reject a recovery launch.
macOS
open -n -a "Lumilio Photos" --args \
--break-glass \
--break-glass-username adminThe security log is:
~/Library/Application Support/Lumilio Photos/logs/security.logWindows PowerShell
& "$env:LOCALAPPDATA\Programs\Lumilio Photos\lumilio-photos.exe" `
--break-glass `
--break-glass-username adminThe security log is:
%LOCALAPPDATA%\Lumilio Photos\logs\security.logOmit --break-glass-username admin to recover the oldest active administrator. After copying the temporary password, quit this recovery launch and start Lumilio Photos normally. Then sign in and complete the required password change.
If recovery fails
- The named account must exist, have the administrator role, and be active.
- On Desktop, verify that the existing tray application was fully closed.
- For Docker, check
docker logs lumilio-breakglassfor startup failures and wait forsecurity.logto be created. - If configuration loading, SQLite integrity/migrations, or security-log initialization fails, repair that startup problem first; BreakGlass runs only after those dependencies are ready.
