Skip to content
AsterDriveDeveloper
Security update: Docker images from v0.4.0-rc.1 fix the high-severity FFmpeg MagicYUV decoder vulnerability (CVE-2026-8461). Upgrade instances using older images immediately.View CVE advisory
Security update: v0.4.0-beta.3 fixes a WebDAV request issue that can terminate the server process. Upgrade older instances promptly.View advisory

First Start and the First Admin

The login page is not a fixed “login” or “register” page — it follows current state:

  • No users exist yet — the initialization flow runs, creating the first administrator directly
  • Users exist, and the entered account exists — sign in
  • Users exist, the entered account is new, and public registration is allowed — create a regular account
  • The administrator enabled external auth providers — the login page shows the matching external sign-in entries
  • The current browser supports Passkeys — the login page shows the Passkey entry
  • The account requires MFA — after password or external identity passes, a second factor is still required

Things to note:

  • The first account becomes administrator directly, without email activation
  • Regular accounts registered publicly afterwards must click the activation mail before signing in (activation mail depends on Mail Delivery)
  • After the administrator disables public registration, the login page only offers sign-in and password reset

Once the first administrator is created, the system enters the needs_storage state: there is no default storage policy yet, so uploads are not possible. Next steps:

  1. Create the first storage policy under Admin -> Storage Policies and set it as default; concepts and order in Storage Policies and Policy Groups
  2. Set Admin -> System Settings -> Site -> Public Site URL to the real HTTP(S) origin
  3. If you plan to open registration, password reset, or external auth, set up Mail Delivery first
  4. Walk through the First-Start Checklist before going live

Fresh installations allow the administrator to be created and logged in directly over HTTP without an extra environment variable:

[auth]
bootstrap_insecure_cookies = true
  • Administrator created from an HTTP origin — keep auth_cookie_secure = false when bootstrap_insecure_cookies retains its default true; an explicit false or existing database value of true is never downgraded
  • Administrator created from an HTTPS origin — automatically promote auth_cookie_secure to true before the following login
  • Require Secure cookies from process startup — explicitly set bootstrap_insecure_cookies = false before the database is initialized

This static option only affects the first database write of auth_cookie_secure. Once the runtime setting exists, changing config.toml does not rewrite it. If the instance was bootstrapped over HTTP and later moves to HTTPS, enable Authentication Cookie Sent Only Over HTTPS under Admin -> System Settings -> Authentication and Cookies.