Skip to content
AsterDrive
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 Checklist

After AsterDrive starts successfully for the first time, it automatically completes a set of basic preparation tasks.
If you just deployed it, the most practical approach is to confirm the service is really ready using the checklist below.

What Happens Automatically After First Successful Startup

Section titled “What Happens Automatically After First Successful Startup”
  • If the current working directory does not have data/config.toml, generate a default config automatically.
  • Connect to the database and update the database structure automatically.
  • If the system has no storage policies yet, create the default local policy Local Default.
  • Create the default policy group Default Policy Group.
  • Initialize built-in default entries for admin system settings.
  • Start mail dispatch, background task dispatch, periodic cleanup, and low-level file consistency check tasks.

Default local policy contents:

  • Name: Local Default
  • Driver: local
  • Path: data/uploads
  • Default chunk size: 5 MiB

The built-in system settings written on first startup cover these categories:

  • Site Configuration
  • User Management
  • Authentication and Cookies
  • Mail Delivery
  • Network Access
  • Runtime
  • Storage and Retention
  • File Processing
  • WebDAV
  • Audit Logs

File Processing includes switches and limits for read-only archive preview, disabled by default. Runtime includes background task lane concurrency, idle backoff, and share-page audio/video stream playback session lifetime.

Default background task frequencies:

  • Mail queue scans every 5 seconds.
  • Background task queue scans every 5 seconds.
  • Periodic cleanup runs every 1 hour.
  • Low-level file consistency check runs every 6 hours.
  • Enabled, enrolled follower nodes whose current transport can be used are probed every 5 minutes.

Periodic cleanup covers by default:

  • expired upload sessions
  • completed upload sessions
  • trash items
  • archived teams
  • locks
  • audit logs
  • task artifacts
  • WOPI sessions
  • external authentication temporary login flows and email verification flows
  • MFA login and setup temporary flows

A newly deployed instance usually also has these defaults:

  • default listen address is 127.0.0.1:3000
  • default WebDAV prefix is /webdav
  • the first created user automatically becomes an administrator
  • public registration is enabled by default
  • public registration users need email activation by default
  • new user quota is unlimited by default
  • new users are automatically bound to the current default policy group
  • newly created teams also use the current default policy group unless a policy group is specified separately

If you use auth.bootstrap_insecure_cookies = true during first plain HTTP bootstrap, the Cookie security requirement written by the system on first initialization follows that bootstrap value.

What Usually Appears in the Default Directory

Section titled “What Usually Appears in the Default Directory”

If you use default relative paths, after first startup you will usually see:

  • data/config.toml
  • data/asterdrive.db
  • data/uploads
  • data/.tmp
  • data/.uploads
  • data/remote-storage-targets (when a follower uses a local remote storage target)

data/.tmp and data/.uploads are runtime temporary directories, not long-term data directories.
data/remote-storage-targets is the local receiving root managed by the primary for a follower. It only matters if this instance is used as a follower node.

auth.jwt_secret and auth.mfa_secret_key in data/config.toml are written as random values when first generated. Keep them during future backup, migration, and restore. If MFA is enabled, replacing mfa_secret_key prevents existing authenticators from continuing to verify.

Check These Items Immediately After Startup

Section titled “Check These Items Immediately After Startup”
  1. Whether /health returns 200.
  2. Whether /health/ready returns 200.
  3. Whether data/config.toml is generated in the expected directory.
  4. Whether the database is created in the expected location and updated.
  5. Whether the default storage policy exists.
  6. Whether the default policy group exists.
  7. Whether the admin panel opens normally.
  8. Whether default values for all groups are visible under Admin -> System Settings.
  9. If WebDAV will be used, whether the mount path matches the configuration.
  10. If WOPI will be enabled, whether Public Site URL and Preview Applications can be saved correctly.
  11. If external authentication will be enabled, whether Public Site URL is correct, and whether redirect URIs generated under Admin -> External Authentication have been registered with the identity provider.
  12. If follower nodes will be used, whether the follower has completed enrollment, internal protocol capabilities are compatible, and an applied default remote storage target exists.
  • Is the current working directory the one you think it is?
  • Is data/config.toml actually being read by the service?
  • Do the database, upload directory, and temporary directories have write permission?
  • Is the container volume, systemd WorkingDirectory, or host path mounted incorrectly?