First-Start Checklist
What this page covers
What to check immediately after deployment, what AsterDrive automatically does on first startup, and what the default policy and directories look like. Run through the checklist in Check These Items Immediately After Startup to confirm the service is really ready.
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
- 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 and Scheduling
- Storage and Retention
- WebDAV
- Audit Logs
Storage and Retention also includes switches and limits for read-only ZIP archive preview, disabled by default. Runtime and Scheduling includes background task lane concurrency, idle backoff, and share-page audio/video stream playback session lifetime.
Default background task frequencies:
- Mail queue scans every
5seconds. - Background task queue scans every
5seconds. - Periodic cleanup runs every
1hour. - Low-level file consistency check runs every
6hours. - Enabled follower nodes with a configured
base_urlare probed every5minutes.
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
Default State of a New Deployment
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
If you use default relative paths, after first startup you will usually see:
data/config.tomldata/asterdrive.dbdata/uploadsdata/.tmpdata/.uploadsdata/managed-ingress(when a follower uses a local receiving target)
data/.tmp and data/.uploads are runtime temporary directories, not long-term data directories.data/managed-ingress 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
- Whether
/healthreturns 200. - Whether
/health/readyreturns 200. - Whether
data/config.tomlis generated in the expected directory. - Whether the database is created in the expected location and updated.
- Whether the default storage policy exists.
- Whether the default policy group exists.
- Whether the admin panel opens normally.
- Whether default values for all groups are visible under
Admin -> System Settings. - If WebDAV will be used, whether the mount path matches the configuration.
- If WOPI will be enabled, whether
Public Site URLandPreview Applicationscan be saved correctly. - If external authentication will be enabled, whether
Public Site URLis correct, and whether redirect URIs generated underAdmin -> External Authenticationhave been registered with the identity provider. - If follower nodes will be used, whether the follower has completed enrollment, internal protocol capabilities are compatible, and an applied default receiving target exists.
If Checks Fail, Look Here First
- Is the current working directory the one you think it is?
- Is
data/config.tomlactually 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?