Skip to content

Operational guidance and troubleshooting

Use these notes when setting up a server, enrolling devices, or interpreting panel messages.

Topic What to know Guidance
Initial admin setup When no admin exists, anyone who can call the API can create the initial account. The setup does not require a separate secret. Restrict both API and panel access until the first admin account is secured (before you install).
Sensitive fields Certificate private keys, passwords, SMTP credentials, and remote log tokens are sensitive values available to the panel. Limit panel access to trusted administrators and handle these values as credentials.
Accessibility allowlist If the list is non-empty, accessibility apps outside it are automatically removed from the device. Review the allowlist carefully before applying a policy.
Cleartext and user CAs The agent allows cleartext traffic and trusts user-installed certificate authorities. Use HTTPS and review certificate trust settings for production deployments.
Topic Detail
Single instance The connection registry and rate limits are in-memory; horizontal scaling is not supported
Release signing Configure key.properties before building the agent APK so later updates use the same signing key
  • The server reads PASSWORD_HASH_PEPPER first for policy passwords and 2FA. If it is unset, the server uses passwordHashPepper in config/passwords.yaml. You need one of these settings to set up 2FA, save policy passwords, or sign in to the on-device IT page. Back up the value and keep it when you move the installation.
  • After changing apps, files, or certificates linked to a policy, use Send to devices to deliver the new version. Changing the default policy or deleting a policy does not update devices automatically.
  • If a command reaches timeout, send it again from the panel if the action is still needed.
  • The standard installer includes the Starter policy. Create and select a default policy yourself only when running from source.
  • Launcher mode leaves the status bar and notification drawer available.
  • Android 10 and newer may restrict the disable_wifi command.
  • Battery and Android version values update during a full sync, rather than a heartbeat.
Message or situation What to check
Panel login does not complete Check that the panel origin is in allowedOrigins and that the cookie’s secure setting matches HTTP or HTTPS. In development, the panel uses port 8099
“No access” / 403 loop after login The token has no admin scope (log out/in if the permission was just granted) or the account is inactive
2FA setup or policy password saving fails Check PASSWORD_HASH_PEPPER or passwordHashPepper in passwords.yaml
2FA codes suddenly stop working If PASSWORD_HASH_PEPPER changed, restore the original value from backup so the server can read existing 2FA records. If needed, recover the admin account
“Too many failed attempts” 2FA lockout (at most 15 min). Wait or reset totpFailedAttempts/totpLockedUntil
Signed download links stop working after restart Check that storageSigningKey is configured and kept stable
The browser reports a CORS error during an upload Compare the panel address with allowedOrigins. The scheme, hostname, and port must match
“File is too large” Check Settings → Upload limits, the server’s maxRequestSize ceiling (288 MB), and the proxy’s client_max_body_size
A physical device cannot download an APK or file Open the download link from the device’s network. Set webServer.publicHost or, for the published image, WEB_PUBLIC_HOST to an address the device can reach. 10.0.2.2 is for the Android emulator
The device cannot download the CA certificate Check LOCAL_CA_PATH, confirm the file is visible inside the container, and verify that the device can reach the URL. For HTTP, enter the SHA-256 fingerprint. Custom TLS guide
“Enrollment key is not valid” The key has been rotated or the QR is old. The agent stops retrying automatically; enter the new key
“Policy not assigned” during setup There is no default policy
dpm set-device-owner fails The device may have an account or another Device Owner. On a factory-reset device, try before adding an account
Android cannot install the APK after scanning the QR code Check that the device can reach the APK URL and that the profile’s SHA-256 checksum matches the APK at that URL. If you use a private CA, check the first APK download URL as well. Custom TLS guide
Device appears offline Check the device connection and whether the proxy forwards WebSocket traffic with a sufficient timeout
A command remains pending Check that the device is online and connected to this server instance
A command reaches timeout The device did not respond. A long-running command may delay later commands because the agent processes them in order
Policy not applied, result inactive The policy is inactive or outside its active time range
Policy not applied, result throttled The same version was requested again within 45 s
Policy result is fetchFailed Check the policy data, including uppercase certificateType and format values in certificate records
“Read-only file system” on file download destination_path is relative; use an absolute path or custom://
Screenshot is black Check whether the policy prohibits screenshots with FLAG_SECURE
Account verification or password-reset email does not arrive Check the SMTP settings and send a test email from the panel