Installation
AI Admin Panel installs on a fresh Linux server and sets up everything: Docker, PostgreSQL, Valkey, Traefik (auto-SSL), Keycloak (OIDC auth), OpenBao (secrets manager), and the panel itself.
Prerequisites
Server Requirements
| Requirement | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4 GB | 8+ GB |
| Disk | 20 GB SSD | 50+ GB SSD |
| OS | Any certified Linux distro (see below) | Ubuntu 24.04 LTS / Rocky Linux 9 |
| Architecture | x86_64 (amd64), aarch64 (arm64) | x86_64 |
4 GB runs the panel; for AI agents choose 8 GB and 4 cores. The panel's own services use a large part of a 4 GB server, and it keeps 512 MB free for itself on top of what an app asks for, so an agent such as OpenClaw (4 cores, 3 GB) or Hermes (1 core, 2 GB) does not fit next to it.
Each template declares a minimum number of CPU cores and amount of memory. The catalog and the deploy page check it against your server before you click Deploy and say which requirement is not met, with the numbers:
| Requirement | What the panel compares | When the server is short |
|---|---|---|
| CPU cores | the template's cores with the server's cores | A warning. The app is deployed and runs slowly, most of all while it starts and answers. Its CPU limit becomes the server's core count. |
| Total memory | the template's memory with the server's total memory | Deploy is refused. |
| Free memory | the template's memory with the server's free memory less the panel's 512 MB reserve | Deploy is refused. Stop or remove an app you no longer use, or use a bigger server. |
A customer account deploying for itself gets the same answer without the server's figures.
Supported Linux Distributions
The installer detects your distribution by package manager + version floor (not a fixed allowlist), so newer minor/point releases of a supported family work automatically. It requires systemd (Docker is managed via systemctl) and rootful Docker on a 64-bit host; on RHEL-family distros it installs Docker from Docker's official repository and handles SELinux (:z labels) and firewalld automatically.
| Tier | Distributions | Behaviour |
|---|---|---|
| Certified — tested in CI on every release | Ubuntu 22.04 / 24.04 / 26.04 LTS · Debian 12 / 13 · Rocky Linux 9 / 10 · AlmaLinux 9 / 10 · RHEL 9 / 10 · CentOS Stream 9 / 10 | Fully supported |
| Best-effort | Fedora (current) · Oracle Linux 8 / 9 / 10 · Amazon Linux 2023 | Installs and runs; warns it isn't in the certified matrix |
| Community | openSUSE Leap / SLES · Arch Linux | Detected; best-effort (SUSE has no official Docker repo, so Docker may need installing first) |
| Not supported | Alpine / OpenRC (no systemd) · EOL releases (Ubuntu ≤ 20.04, Debian ≤ 11, CentOS Linux 7 / 8, Amazon Linux 2) · 32-bit · OpenVZ / unprivileged LXC | Installer stops with a clear message naming what is supported |
DNS Requirements
No domain? You don't need one. Leave the installer's domain prompt empty (or run unattended without
PANEL_DOMAIN) and it claims a free temporary domain for you — likeaap-x7k2f9.aiadminpanel.host— points it at your server, and gives the panel, login, and every deployed service working HTTPS automatically. No DNS records to create, no terminal. Verify your email in the panel afterwards to keep it, or disable the whole path withMANAGED_DOMAIN=off. Full details in "No Domain? Get a Free Temporary One" below.
Bringing your own domain? Point it to the server before installing:
- A record —
panel.example.com→ your server IP - Wildcard A record —
*.panel.example.com→ same server IP
The wildcard record is essential — every deployed service gets a subdomain like myapp.panel.example.com.
Tip: Cloudflare Users — Disable the orange proxy cloud during installation so Let's Encrypt can issue certificates via the HTTP challenge. Re-enable it after setup if desired. Alternatively, install with
TLS_MODE=letsencrypt-dns+CF_DNS_API_TOKENto use the DNS-01 challenge — that needs no inbound port 80, so you can leave the proxy on (see Configuration → DNS-01 Certificates).
Network Requirements
| Port | Direction | Purpose |
|---|---|---|
| 80 | Inbound | HTTP → auto-redirects to HTTPS; http://<server IP> goes to your panel |
| 443 | Inbound | HTTPS (Traefik terminates SSL) |
| 22 | Inbound | SSH access |
No other services should be running on ports 80/443.
Opening the server's IP address
Typing the server's IP address into a browser (http://203.0.113.7) takes you to your panel at https://<your panel domain>/. Before, the browser went to https://203.0.113.7 and showed a certificate warning, because certificates are issued for domain names, not IP addresses. This works on every install, keeps working after a reboot or an update, and needs no extra service: it is one rule in the panel's reverse proxy (Traefik).
Only plain http:// on port 80 is redirected. https://<server IP> still has no valid certificate; use the panel domain. Every domain name keeps its normal redirect to HTTPS. The redirect shows the panel domain to anyone who knows the IP. That domain is public already (DNS and the public certificate logs list it), and the sign-in page is what protects the panel.
Automated Install
curl -fsSL https://get.aiadminpanel.com -o install.sh && bash install.sh
This one-liner cannot check itself: it fetches the installer that tracks the main branch over HTTPS and runs it, so it trusts the download server. To check the installer before you run it, use a release's signed copy instead.
Verify the installer before running it
Every release from the first one after 2.21.0 publishes, next to its installer, a signature made by the release workflow itself (Sigstore keyless signing, the same identity as the panel image). You need cosign. Pick a release tag from the changelog, then:
TAG=v2.22.0 # the release you want
curl -fsSL -O "https://get.aiadminpanel.com/$TAG/install.sh" \
-O "https://get.aiadminpanel.com/$TAG/install.sh.bundle"
cosign verify-blob --bundle install.sh.bundle \
--certificate-identity "https://github.com/aiadminpanel/ai-admin-panel/.github/workflows/release.yml@refs/tags/$TAG" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com install.sh
sudo bash install.sh
cosign prints Verified OK only when install.sh is byte for byte the file the release run of that exact tag signed. Anything else, a changed byte or a signature from another tag or another workflow, fails: do not run the file then.
What this does and does not prove. It proves the installer script, nothing more. The installer then downloads the Compose file and the Keycloak realm and theme over HTTPS. Where from depends on PANEL_VERSION:
- A release, such as
PANEL_VERSION=2.25.0: from that release's own folder,https://get.aiadminpanel.com/v<version>/(for 2.25.0:/v2.25.0/), so the files match the panel image. The installer checks each one against the folder'sSHA256SUMSand stops if a hash does not match. It never falls back to themaincopies. Releases up to 2.21.x have noSHA256SUMS: their own files are used, unchecked, with a warning. latest(the default) ormain: from the top ofget.aiadminpanel.com. Those copies follow themainbranch and are not checked at install time.
The installer does not check the signature of SHA256SUMS, because it comes from the same server. To check it yourself, the release folder also holds SHA256SUMS.bundle: verify SHA256SUMS with the same cosign command, file names swapped, then run sha256sum -c SHA256SUMS in a folder holding the files you downloaded from $TAG/. The panel image is signed too. Updates go further: from the first release after 2.14.3 the host updater checks a signed manifest for everything it installs (see Upgrading).
When you open a fresh setup wizard, it starts in English. If your browser uses another supported language, the first step offers a switch using that language's native name, or Keep English. Either choice is remembered through later steps and reloads. You can also use the language menu at any time. Existing saved language preferences are preserved; unsupported browser languages fall back to English. Browser detection outside onboarding still works, but only an explicit language choice is saved. If browser storage is blocked, the choice lasts for the current page session and cannot be remembered after a reload.
The Keycloak sign-in page follows the panel: when you click Sign in at the end of the wizard, or sign in later, it opens in the language the panel shows. The wizard's language also becomes the sign-in default, so a password-reset link or a bookmarked sign-in page opens in it too. The language menu on the sign-in page lets each person switch between the seven supported languages.
If the wizard shows a hostname or admin-account validation error, correct the field and the message updates while you type. You can then click Next once. Password confirmation is checked again when either password field changes, and visible validation messages follow your selected language.
The installer asks for your domain and creates the initial panel administrator in Keycloak: admin@{PANEL_DOMAIN}. It generates a random password unless you supply ADMIN_PASSWORD, then prints the panel URL, administrator email, and password. Save them in your password manager; keep the terminal output private. The panel password is also stored on the server at /opt/aiadminpanel/secrets/admin_password.
Unattended installs (cloud-init, marketplace images, CI)
The password and the setup link are shown only at an interactive terminal. With --unattended, or when the installer's output is not a terminal (cloud-init, a provider's install script such as Vultr Vendor Data, CI, | tee), the final screen shows where they are instead, because those tools keep the output in readable logs such as /var/log/cloud-init-output.log. The install log /var/log/aiadminpanel/install.log never contains either one. Log in to the server and run:
sudo cat /opt/aiadminpanel/secrets/admin_password # the admin@{PANEL_DOMAIN} password
sudo cat /opt/aiadminpanel/secrets/setup_link # the setup link, see below
Both files are readable by root only (mode 600).
The setup link
The installer also prints a setup link, https://{PANEL_DOMAIN}/setup#token=<setup code>. Open the setup wizard through that link. The setup code in it is a one-time password for the wizard: until setup is finished, the panel accepts wizard settings only from a browser that presents it, so a visitor who reaches a fresh panel before you cannot configure it. The code is stored root-only on the server at /opt/aiadminpanel/secrets/setup_token, and the whole link at /opt/aiadminpanel/secrets/setup_link; the panel itself keeps only its SHA-256 fingerprint. The part after # never reaches the server or its logs.
The wizard keeps the code in the browser while you work and deletes it when setup completes. If you open the wizard on another device or browser, for example from the managed-domain verification email, it asks for the setup code: paste the part after token=. Keep the link private until setup is finished.
Three limits protect the code (AI-2438):
- It works for 7 days. The clock starts when the panel first starts with the code and keeps running across restarts. After that the wizard says the code has expired; create a new one with the command below.
- One browser at a time. The wizard sends the code on every step, so you can use it until setup is finished, but only from the browser that used it first. Another browser, even with the right code, sees "the setup wizard is already open in another browser" until the first one has been inactive for 30 minutes. Then the other browser can continue, without a terminal.
- One step at a time. The panel handles setup requests one after another, so two submissions at the same moment (a double click, two tabs) cannot both finish setup: the second one sees that setup is already done.
Lost the link, the code has expired, or the wizard says the panel needs a new setup code? Run this on the server, then open the link it prints:
curl -fsSL https://get.aiadminpanel.com/install.sh | sudo bash -s -- --new-setup-token
It writes a new code, which starts a new 7-day window and frees it from any browser, restarts only the panel container and changes nothing else. Run from a script or a pipe, it prints only sudo cat /opt/aiadminpanel/secrets/setup_link instead of the link. A panel that was updated before its owner finished the setup wizard shows the same recovery screen; the command needs the updated panel, so update first. A panel started by hand (without the installer) instead needs SETUP_TOKEN_SHA256 set to the SHA-256 of a code of your choice, then a restart, then /setup#token=<your code>.
Sign in instead of the setup code
The installer always creates the administrator account admin@{PANEL_DOMAIN} before the panel is reachable. Signing in with that account is a second way to open the setup wizard, so on a cloud image or scripted install (ADMIN_PASSWORD=…, Vultr, AWS, OVH) the first visit is short:
- Open your panel (on Vultr:
http://<server IP>takes you there). - Choose Sign in as administrator. The sign-in page already shows
admin@{PANEL_DOMAIN}. - Enter the admin password (
ADMIN_PASSWORD, orsudo cat /opt/aiadminpanel/secrets/admin_password). The setup wizard opens; no setup code is needed.
The e-mail is filled in only until that administrator has signed in once; after that the sign-in page starts empty, so the panel stops showing the admin address to visitors.
Only that one account opens the wizard this way: the administrator the installer created, while it is the panel's only administrator. Any other account, a visitor who is not signed in, and a wrong or expired setup code are refused by the server, whatever the browser shows. The setup link and the code box keep working as before; when a browser sends a setup code, only the code counts. A panel started without the installer (no pre-created administrator) still needs the setup code.
The installer creates the administrator account and waits until the panel is ready before it opens the host firewall for ports 80/443. If the administrator account cannot be written to the panel database, the installer stops instead of continuing with a panel that has no owner.
On the standard installer path, Keycloak is already configured, so the setup wizard skips its local administrator-account step. The contact email you enter during setup is not a replacement login. Complete the edition, contact/legal, and AI configuration steps, then use Sign In with the installer-created account (if you opened the wizard by signing in, you are already signed in). The Keycloak management-console account is separate. The wizard's last step has a Share anonymous error and health data switch, which is on by default. Switch it off there, or later in Settings → Security & License → Privacy & telemetry (see Privacy & Telemetry).
Open the admin URL to complete setup. On desktop, the progress list sits beside the form; on narrow screens it sits above it. Long translated step names wrap, and the current step's description appears below the heading. Use the language switch above the logo to choose a supported language. Longer steps scroll vertically so all fields and the Back/Continue actions remain reachable.
To skip the prompt (CI/automation), set environment variables:
curl -fsSL https://get.aiadminpanel.com -o install.sh
PANEL_DOMAIN="panel.example.com" ACME_EMAIL="admin@example.com" \
bash install.sh --unattended
Installer Options
| Flag | Description |
|---|---|
--dry-run | Preview all actions without executing |
--verbose | Enable debug output |
--unattended | Non-interactive mode (claims a free temporary domain when PANEL_DOMAIN is unset; set MANAGED_DOMAIN=off to require PANEL_DOMAIN). The final screen shows where the admin password and setup link are, not the values (see Unattended installs) |
--new-setup-token | On an existing install: write a new setup code, restart only the panel and print the new setup link (off a terminal: where it is, /opt/aiadminpanel/secrets/setup_link) |
--refresh-updater | On an existing install: rewrite only the host files: the updater, the container egress guard (this changes the host firewall), the nightly backup scripts and their timer, and the private-access script. The panel and its containers are not touched |
--upgrade-url <url> | The address the panel's Upgrade button and links open, for example your own shop (same as UPGRADE_URL). See Licensing |
--no-firewall | Do not install or turn on a host firewall when none is running (same as FIREWALL=skip). See Host firewall |
--gpu-driver=<mode> | The NVIDIA GPU driver check and, on Ubuntu 22.04/24.04, Debian 12/13 or Rocky/AlmaLinux/CentOS Stream/RHEL 9/10, the driver install: auto (default), install or skip (same as AAP_GPU_DRIVER). Exit code 20 means restart and run again; 21 means enrol the Secure Boot key. See GPU driver check |
--docker-address-pools | On an existing install: let Docker hold thousands of networks instead of about 31. Restarts Docker and every container when it changes anything; see Upgrading → Let Docker hold more networks |
--bake | For building a cloud image (AWS AMI, Vultr snapshot), not for a normal install. Sets the machine up, pulls every image of the release and writes /etc/aiadminpanel/baked.json, but creates no password, key or .env and starts nothing. Stops with exit code 2, changing nothing, when PANEL_DOMAIN, ADMIN_PASSWORD, SETUP_TOKEN or LICENSE_KEY is set or the server already has an install |
--first-boot | Only on a server made from an image built with --bake; the Vultr image runs it for you once on each new server. Creates this server's own secrets, .env and stack from the images already on disk (no download), and records its progress in /opt/aiadminpanel/update/first-boot.json. Exit codes: 0 done, 1 a step failed (run it again; the secrets made so far are kept), 2 no bake marker or wrong flags, 3 the disk holds another server's secrets (nothing is changed). Never stops SSH |
Environment Variables
| Variable | Required | Description |
|---|---|---|
PANEL_DOMAIN | No | Base domain (e.g., panel.example.com). Leave unset to claim a free temporary domain like aap-x7k2f9.aiadminpanel.host |
MANAGED_DOMAIN | No | Set to off to disable the temporary-domain claim path (installs then require PANEL_DOMAIN) |
MANAGED_DNS_URL | No | Claim service base URL (default https://dns.aiadminpanel.com) |
ACME_EMAIL | No | Email for Let's Encrypt (default: admin@example.com) |
CF_DNS_API_TOKEN | No | Cloudflare API token for the first DNS-01 certificates (TLS_MODE=letsencrypt-dns). Traefik asks the panel's DNS-01 bridge, which uses the token saved in Settings → Connectivity → DNS & Domains and falls back to this one until a token is saved there. Automatic DNS records for services use only the Settings token. See DNS-01 Certificates |
PANEL_VERSION | No | Version to install (default: latest). Give a release as the image tag (2.22.0) or as the GitHub release name (v2.22.0); the installer writes the image tag to .env. A release also takes its Compose file, Keycloak realm and theme from its own folder on get.aiadminpanel.com, checked against that folder's SHA256SUMS. A version that does not exist stops the install in the pre-flight checks, before anything is changed |
GOMEMLIMIT | No | Go soft memory limit: use off for no optional limit or an explicit budget; defaults to off (0 means zero bytes) |
AAP_INSTALL_OLLAMA | No | Set to true to download and start the bundled local AI engine (Ollama, about 8.5 GB) during the install. Default: it starts on demand, when you pull the first local model on AI Models. See The local AI engine starts on demand |
AAP_OLLAMA_MEM_LIMIT_MB | No | Memory limit of the bundled model engine in MB, written to .env as OLLAMA_MEM_LIMIT. Default: half the RAM, but at most RAM minus 3 GB, and at least 1 GB. See Memory limit of the bundled model engine |
TLS_MODE | No | letsencrypt (default; certificate over port 80, HTTP-01) or letsencrypt-dns (certificate through a DNS record, DNS-01, with the DNS provider saved in Settings; skips the public A-record pre-flight check). cloudflare is the old name for letsencrypt-dns and still works; the installer prints a note when you use it. Any other value stops the installer before it changes the server |
FIREWALL | No | Leave unset to have the installer turn on a host firewall when none is running. skip turns that off (for a server behind a provider or external firewall). Any other value stops the install. See Host firewall |
AAP_GPU_DRIVER | No | auto (default), install or skip: the NVIDIA GPU driver check (and, on Ubuntu 22.04/24.04, Debian 12/13 or Rocky/AlmaLinux/CentOS Stream/RHEL 9/10, the driver install) after the pre-flight checks. Any other value stops the install before anything changes. Same as --gpu-driver. See GPU driver check |
AAP_FIX_ROUTING | No | Set to 1 to auto-fix a detected dual-default-route hazard on multi-homed VPSes (OVH/Hetzner). netplan hosts only; otherwise the installer just warns |
ADMIN_PASSWORD | No | Override the auto-generated admin password: 12 to 128 characters, not the admin email (the sign-in password policy; the installer checks it first). A re-run with the same value keeps the password |
SETUP_TOKEN | No | Override the auto-generated setup code (at least 32 characters). Automation that supplies it builds the setup link https://{PANEL_DOMAIN}/setup#token=<code> itself. A re-run with a different value stops; use --new-setup-token |
LICENSE_KEY | No | License key for activation during setup (omit to choose Free or a 14-day paid-edition trial) |
UPGRADE_URL | No | Address the Upgrade button and links open, for example a hosting provider's own shop (absolute https:// URL; plain http:// only on localhost, 127.0.0.1 or [::1]; default https://aiadminpanel.com). The installer writes it to .env and stops before changing anything when the address is not valid. A re-run without it keeps the value already in .env. Same as --upgrade-url. See Licensing |
OPENBAO_VERSION | No | OpenBao secrets-manager image tag (default: 2.7.3, pinned by digest; setting it drops the digest pin) |
SECRETS_BACKEND | No | openbao (default) or file — file disables the secrets manager entirely and falls back to the legacy encrypted-column storage |
BAO_ADDR | No | Internal address the panel uses to reach OpenBao (default: http://openbao:8200) — only needed for non-standard topologies |
LITELLM_MASTER_KEY | No | Master key for the bundled LiteLLM AI gateway. The installer auto-generates a random per-install key — you don't normally set this. There is no shared default: a manual/advanced install that runs docker compose directly must provide it (the panel + gateway containers fail to start with a clear error otherwise) |
No Domain? Get a Free Temporary One
If you don't have a domain yet, just leave the domain prompt empty (or run unattended without PANEL_DOMAIN): the installer claims a free temporary domain like aap-x7k2f9.aiadminpanel.host, points it at your server, and the panel, login, and every deployed service get working HTTPS under it automatically.
Temporary domains start with a 7-day provisional lease — verify your email in the panel to keep the domain (it then renews automatically while your panel is running). The claim credential is stored at /opt/aiadminpanel/secrets/managed_domain_token (root-only); don't delete it. Temporary domains are IPv4-only, limited to 3 claims per IP per day, and can be disabled entirely with MANAGED_DOMAIN=off.
Waiting for your temporary domain
The installer waits for a new or reused temporary domain to resolve to this server's public IPv4. It checks up to 12 times with five-second retry delays (up to one minute of delays, plus lookup time). An answer pointing at another server does not count as ready. If DNS still points elsewhere, the preflight check stops installation before certificate requests. If the public-IP lookup is unavailable, the installer warns that readiness is unconfirmed; preflight retries that lookup and retains its existing warning-only behavior if it remains unavailable.
Keep /opt/aiadminpanel/secrets/managed_domain_token and rerun the installer with the domain prompt empty once DNS has settled. A valid saved claim reuses the same domain without consuming another claim. Do not delete the token or bypass the DNS check. TLS_MODE=letsencrypt-dns (or its old name cloudflare) continues to skip this A-record check for DNS-01 certificates.
Keeping your free domain
Finish the wizard with Sign In (or Complete Setup) to save your setup and activate the selected edition. Verifying the domain email is a separate step; it does not activate the panel licence. If the final save fails, the wizard displays an error and keeps your entered values so you can retry. A completed installation routes signed-out visitors through login; an installation still awaiting activation continues to require setup.
Once the install finishes, the panel itself takes over the domain's lifecycle — no terminal needed. Verify your email in either of two places:
- The setup wizard's "Keep your free domain" step (second-to-last step, and skippable if you'd rather decide later).
- Settings → DNS & Domains, in the "Your free domain" card: shows the domain, a verified/unverified badge, the lease expiry, the last renewal result, and a send/resend-verification-email form. A Renew now button is always available there too.
Your admin email on a temporary domain
The installer creates the panel administrator as admin@ your temporary domain (for example admin@aap-x7k2f9.aiadminpanel.host). No mailbox exists at that address, so the wizard's last step asks for your e-mail address before you can sign in. It must be an address you receive mail at: addresses at aiadminpanel.host and at the panel's own domain are refused, by the wizard and by the server. The wizard suggests the address you gave earlier (the domain-verification or Contact email).
When you finish the wizard, the administrator account moves to that address: you sign in with it from then on, with the same password, and password-reset emails go to it. If the address cannot be saved (for example, another account already uses it), the wizard says so and keeps setup open so you can try again.
The Let's Encrypt contact address (ACME_EMAIL) is not changed by the wizard; it stays admin@ your temporary domain. Let's Encrypt no longer sends certificate expiry emails, and the panel renews certificates on its own.
During setup, the verification form reuses your Contact email (or your admin-account email if no usable contact address is available). You can correct it before sending. An explicit correction takes precedence if you later change the Contact email. These email fields are kept for the current browser tab across navigation and reload, and cleared after successful setup; passwords, licence keys and AI keys are not part of this draft. If browser storage is unavailable, the current wizard still works but a reload cannot retain the email correction. Prefilling or reloading never sends an email or proves verification: use the send button, then follow the email link.
Click the email link to open your panel's verification return page. It checks the server before confirming verification. If the check cannot confirm it, choose Check again; a URL marker alone never confirms verification.
After setup is complete, choose Sign in or Open panel.
If setup is still in progress, keep the setup tab open while you check your email. The email link opens a new tab. Your setup tab detects the verification by itself and keeps your entered details. The new tab says Email verified and that you can close it and continue in your setup tab. Close this tab closes it where your browser allows that; otherwise close it yourself. Do not start setup again in the new tab: a fresh wizard there starts empty. Only if you closed or reloaded the setup tab, choose I closed my setup tab — start setup here and enter missing details again; license and AI keys are not saved in browser storage. Invalid, expired or already-used email links show an explicit unavailable-link page instead of a success redirect.
Verified domains receive a 60-day rolling lease that renews itself automatically. A background job checks the lease daily, renews it on a weekly cadence while things are healthy, and retries daily if a renewal attempt fails.
If you haven't verified yet, a banner appears at the top of the panel and escalates as the 7-day grace period runs out: a routine reminder to verify, then an urgent one once you're down to the final 2 days. After you've verified, the same banner reappears only if auto-renewal starts failing and the lease drops under 14 days, and it flags the domain outright if the lease ever lapses. No banner at all means everything is healthy.
If the lease lapses — verification was skipped past the deadline, or renewal kept failing until the claim expired — the panel keeps running (you don't lose access or data), but the temporary domain stops resolving, so the panel, login, and any services published on that domain become unreachable at that address. A lapsed claim doesn't renew itself again; add a domain you own under Settings → DNS & Domains to recover.
Bring-your-own-domain installs never see any of this — no wizard step, no banner, no Settings card, and no extra network calls.
What the Installer Creates
/opt/aiadminpanel/
├── .env # Environment configuration
├── aap-update.sh # Host updater (one-click updates)
├── aap-egress-guard.sh # Container egress guard (host firewall rules)
├── aap-openbao-key.sh # Unseal key tool (status, protect, export, import)
├── update/ # Shared with the panel: update requests, guard status
├── .update-work/ # Root only: the updater's lock, downloads, claimed request
├── .egress-guard-work/ # Root only: the guard builds its status file here
├── .openbao-key-work/ # Root only: the key tool builds its status file here
├── docker-compose.yml # Production compose file
├── keycloak-realm-export.json # Keycloak realm with panel clients
├── litellm-config.yaml # LiteLLM AI gateway config
├── secrets/ # Secret files — persistent, survive reboot
│ ├── master_key # Panel encryption key
│ ├── db_password # PostgreSQL password
│ ├── keycloak_admin_password # Keycloak admin password
│ ├── openbao_unseal_key.cred # OpenBao unseal key, encrypted for this server
│ │ # (older installs: openbao_unseal_key, in clear)
│ ├── setup_token # Setup code for the setup wizard
│ ├── setup_link # The setup link with that code
│ └── admin_password # Panel admin password
└── letsencrypt/
├── acme.json # Let's Encrypt certificates
└── acme-dns.json # Wildcard certificates (if Cloudflare)
/etc/aiadminpanel/
└── config.yaml # Panel configuration
/var/log/aiadminpanel/
└── install.log # Installation log
/etc/systemd/system/
├── aap-updater.path, aap-updater.service # Host updater
└── aap-egress-guard.service, aap-egress-guard.timer # Re-apply the guard (boot, every 5 min)
/etc/docker/
└── daemon.json # address pools (Docker keeps its default containerd image store)
Docker address pools. Each customer, and each multi-container app, gets its own Docker network. Docker's built-in setting allows only about 31 networks per host, so the installer sets default-address-pools in /etc/docker/daemon.json: networks of 254 addresses from 172.18.0.0 to 172.31.255.255, about 3,500 of them. That is the range Docker already uses by default; 192.168.0.0/16, 172.16.0.0/16 and the 10.x ranges stay free for your LAN, VPN or cloud network. The installer does this only on a fresh Docker: one it installed itself, or one with no container yet. If daemon.json already exists there, it adds only this key and keeps a copy of the original as daemon.json.aap-backup-<time>. A file that is not valid JSON, or one that already sets its own pools, is left as it is. Re-running the installer on a server whose Docker already runs containers does not touch daemon.json and does not restart Docker; it prints the command for that instead (see the flag above).
Host firewall
If no firewall is running, the installer turns one on. Before it installs Docker, the installer checks for a running firewalld or ufw. When there is none (or only nftables with an empty rule set), it installs your distribution's own firewall and turns it on:
| Distribution | Firewall |
|---|---|
| Rocky, AlmaLinux, RHEL, CentOS Stream, Oracle Linux, Fedora, Amazon Linux, openSUSE / SLES | firewalld (default zone, other inbound traffic rejected) |
| Ubuntu, Debian | ufw (default deny incoming, default allow outgoing) |
It allows inbound SSH, 80/tcp and 443/tcp, and blocks every other inbound connection. On firewalld it also removes cockpit (the 9090/tcp web console login), which Rocky, AlmaLinux, RHEL and Fedora Server allow in their default zone, so installing Cockpit later does not put its login on the internet. It keeps dhcpv6-client, the UDP port the server needs to get an IPv6 address.
The SSH port is the one sshd -T reports (22 if it reports none), plus the port of the SSH session you run the installer from. SSH is allowed before the firewall is turned on, and your open session stays connected. If any step fails, or the firewall starts but does not answer, the installer turns it off again (including a firewalld rule table left behind), warns and goes on, so a half-made rule set never locks you out or blocks containers. firewalld needs the system bus (D-Bus); if it is not running, the installer starts dbus.socket first.
- Keep your own firewall. A running firewalld or ufw, and nftables with rules in it, are kept; the installer opens 22, 80 and 443 in firewalld or ufw, as before. In a running firewalld it adds them to the live and the saved rules without a reload, so running containers keep their network and your own live-only rules stay. The one thing it removes there is
cockpit(9090/tcp), from the live and the saved rules of the default zone, because some hosting images (AlmaLinux on Vultr, for one) come with firewalld running and the Cockpit console listening on the internet. Every other rule stays,dhcpv6-clientincluded. To use Cockpit, allow it only from your own address, for examplefirewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=203.0.113.7 service name=cockpit accept'followed byfirewall-cmd --reload. - Opt out with
--no-firewallorFIREWALL=skip, for example when your provider's firewall already protects the server. It also keepscockpitin a running firewalld.--dry-runprints each command as[would] …. - Docker keeps working. firewalld is started before Docker, so Docker puts its networks in firewalld's
dockerzone at its first start. If Docker was already running, the installer restarts it once for that, which restarts its containers. Ports a container publishes stay reachable: Docker routes them past firewalld's and ufw's own rules. - A model server on the host that containers call on a host port: firewalld lets container traffic in through the
dockerzone. ufw blocks it; allow it withufw allow in on <bridge> to any port <port> proto tcp. - Re-runs change nothing: the firewall is running by then, so it is kept.
Firewall changes. Besides opening ports 22, 80 and 443 in the host firewall, the installer applies the container egress guard: no container may send to cloud metadata addresses (169.254.0.0/16 and two provider addresses; DNS stays open) or to the private network range 100.64.0.0/10 of Tailscale, Headscale and NetBird, and customer containers and Git build steps reach the server itself only on TCP 80, 443 and port 53. Its rules sit first in Docker's DOCKER-USER chain and in INPUT, ahead of your own. A timer re-applies them every five minutes and at boot.
- Docker 28 or newer for the host-port rule. On a fresh server the installer installs the current Docker from Docker's own repositories, which is 28 or newer. A distribution package (openSUSE's
docker, for example) or a Docker you installed earlier can be older. Then only the metadata block applies: setup prints a warning, and the dashboard shows "The egress guard's host-port rule is off" under Needs you. To turn the rule on, upgrade Docker Engine to 28 or later and runsudo bash install.sh --refresh-updater. - IPv4 rules, IPv6 kept off. The guard's rules are IPv4 rules. Containers cannot reach anything over IPv6 because the networks the panel puts them on have IPv6 off: the panel creates every app network with IPv6 explicitly disabled, even when
daemon.jsonturns IPv6 on by default, and refuses to reuse one that has it on. Every guard run checks the panel's networks, the shared platform networks and Docker's defaultbridge; if one has IPv6 on, the guard reports failed and the dashboard names the network and the fix. The server itself may use IPv6 normally. On a host without systemd the installer skips the guard (rules applied once would not survive a reboot) and the panel logstenant egress guard not active. Details, what can stop working, and how to turn it off: Upgrading → Turn on the container egress guard.
Secret files are mounted into the containers at
/run/secrets/<name>by Docker, but their source of truth lives in/opt/aiadminpanel/secrets/so they survive a host reboot.
Docker's image store
The installer leaves Docker on its default containerd image store (Docker 29's default). Git Deploy's Railpack builds need it. Installers before this release wrote "storage-driver": "overlay2" into /etc/docker/daemon.json, which keeps Docker on the classic store. On such a server a Railpack deploy stops with "Railpack needs Docker's containerd image store; reinstall or switch Docker's storage, see docs". Compose and Dockerfile deploys keep working.
Check which store a server uses:
docker info -f '{{ .DriverStatus }}'
# containerd store: [[driver-type io.containerd.snapshotter.v1]]
# classic store: [[Backing Filesystem extfs] [Supports d_type true] ...]
Switch an existing server to the containerd image store
Plan a maintenance window: switching hides every image and container Docker had, so every service stops until it is started again. Named volumes, where the panel's database and your services' data live, are kept.
- Back up the panel (see Backup and Restore) and the Docker settings:
sudo cp -p /etc/docker/daemon.json /etc/docker/daemon.json.before-containerd. - Edit
/etc/docker/daemon.json: delete the line"storage-driver": "overlay2",and add"features": { "containerd-snapshotter": true },. Keep everything else, such asdefault-address-pools. The file must stay valid JSON (sudo jq . /etc/docker/daemon.jsonprints it back if it is). - Restart Docker:
sudo systemctl restart docker. - Check that
docker info -f '{{ .DriverStatus }}'showsio.containerd.snapshotter.v1. - Pull the images again and start the panel:
cd /opt/aiadminpanel && sudo docker compose pull && sudo docker compose up -d. Then sign in and Redeploy each service; Git services build again. - The old store's images and containers stay on disk in
/var/lib/docker/overlay2, which is what lets you go back (below). Once everything runs and you will not go back, free that space withsudo rm -rf /var/lib/docker/overlay2.
To go back, restore the saved file (sudo cp -p /etc/docker/daemon.json.before-containerd /etc/docker/daemon.json) and restart Docker: the old images and containers are visible again.
What Gets Deployed
The install creates these Docker containers:
| Container | Image | Purpose |
|---|---|---|
aiadminpanel_traefik | traefik:v3.7.19 (digest-pinned) | Reverse proxy, auto-SSL |
aiadminpanel_postgresql | postgres:18.7-alpine (digest-pinned) | Primary database (the panel, Keycloak and the AI gateway) |
aiadminpanel_valkey | valkey/valkey:9.2.0-alpine | Cache and pub/sub |
aiadminpanel_keycloak | keycloak:26.8.2 (digest-pinned) | OIDC identity provider |
aiadminpanel_openbao | openbao/openbao:2.7.3 (digest-pinned) | Secrets manager (AI provider keys) — internal only, no exposed port |
aiadminpanel_panel | ghcr.io/aiadminpanel/ai-admin-panel | The panel itself |
aiadminpanel_ollama | ollama/ollama:0.40.17 | Local LLM inference. Not downloaded or started at install: the first local model pull starts it (on demand) |
aiadminpanel_litellm | ghcr.io/berriai/litellm | AI gateway |
GPU Support (NVIDIA)
If the server has an NVIDIA GPU, the installer detects it during setup and automatically installs and configures the NVIDIA Container Toolkit plus Docker's nvidia runtime — no terminal steps. Once that's done, AI services you deploy with GPU access use the card, and the instance detail under AI Models in the panel shows the model, VRAM, driver, and live utilization.
The bundled Local AI (Ollama) is GPU-accelerated automatically too. On a GPU host the installer reserves the card for the bundled Ollama, so Local AI uses the GPU out of the box and the AI Models page shows a ⚡ GPU badge for it — no deploy step or terminal needed. On a CPU-only host Ollama stays on the CPU and nothing changes. Already running on a GPU box? Just re-run the installer and the bundled Ollama picks up the GPU.
This runs on the apt (Ubuntu/Debian), dnf (RHEL/Rocky/AlmaLinux/Fedora), and zypper (SUSE) families. It's idempotent — re-running the installer just re-asserts the configuration — and a complete no-op on CPU-only hosts.
Sharing the GPU with Local AI
Local AI and the GPU apps you deploy (vLLM, ComfyUI and others) share the same graphics card. An app that takes most of the card's memory pushes Local AI's model onto the CPU, and every Assistant and Panel AI answer gets slow (AI-2312). The panel warns about this; it never refuses a deploy for it.
- Before a deploy. When the app gets a GPU, the deploy page's review checks the card's memory and, if the app would leave Local AI short, shows a warning next to Deploy with the numbers: the card's size, what other apps use, what Local AI needs and for which model, what the app takes, and how much is missing. You can still deploy. For vLLM and other apps with a GPU memory share setting, the app takes that share of each card it gets (Automatic picks it by card size); other apps take the GPU memory their template declares.
- After a deploy. When another app already holds the card and part of Local AI's model runs on the CPU, the AI Models page shows a warning with the share on the GPU and the memory in use. Stop the GPU app you no longer need, or redeploy it with a smaller GPU memory share.
What Local AI needs is the size of the model it has loaded now. With no model loaded, the panel keeps room for its default model, deepseek-r1:7b: about 5.5 GB on a card under 24 GB, 7 GB from 24 GB and 12.2 GB from 48 GB, because Ollama gives a model a longer context on a bigger card. The figures come from nvidia-smi in the panel container (each card's total and used memory, every app's processes included) and from Local AI's list of loaded models. Where the panel cannot run nvidia-smi (no NVIDIA runtime for the panel container), there is no check and no warning. When you give the app specific cards, only those cards count, and several cards are added up: exact on one card, an estimate on several. When Local AI does not answer, nothing is kept for it and the warning only compares the app with the free memory.
GPU driver check (--gpu-driver)
Right after the pre-flight checks, before anything else on the server changes, the installer looks at the NVIDIA card and its driver and prints what it found and which driver it needs.
When no driver is present, the installer installs a headless (compute-only) NVIDIA driver, with no desktop packages, from the source each system supports. It then stops for a restart if one is needed.
- Ubuntu 22.04 or 24.04 (x86_64): Ubuntu's own
-serverdriver, branch 580, from Ubuntu's archive. It uses Canonical's prebuilt kernel modules, which are signed, so Secure Boot needs no extra step. A kernel without prebuilt modules (a custom kernel) gets Ubuntu's DKMS package instead. - Debian 12 or 13 (x86_64): NVIDIA's CUDA repository (Debian's own driver is older than 580). The installer enables Debian's
contribcomponent, adds NVIDIA'scuda-keyring, pins the driver branch, and installsnvidia-driver-cuda,nvidia-smiand the DKMS kernel module. - Rocky Linux, AlmaLinux, CentOS Stream and RHEL 9 or 10 (x86_64): NVIDIA's CUDA repository, with EPEL for DKMS.
- Every other system (SUSE, Fedora, older releases, ARM servers): the installer reports the plan and continues without a driver, as before. The panel runs and AI apps use the CPU until you install the driver yourself (see the note below).
Example (Rocky Linux 10, a Quadro RTX 5000 with no driver, shown with --dry-run, which lists the commands instead of running them; shortened, with the [INFO]/[dry] prefixes removed):
[5/26] Checking the graphics card (GPU) and its driver...
Found: NVIDIA GPU (Turing or newer, PCI 10de:1eb0). No driver is loaded.
Secure Boot: off. nouveau (the built-in display driver): loaded.
Plan: install NVIDIA driver 620 (long-term branch, open kernel modules, compute-only: no desktop packages).
nouveau is loaded, so a restart will be needed after the driver is installed.
Installing the NVIDIA driver from NVIDIA's repository for Rocky Linux 10...
dnf install -y dnf-plugins-core
dnf config-manager --set-enabled crb
dnf install -y epel-release
dnf install -y kernel-devel-<running kernel> kernel-headers-<running kernel> dkms
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cuda-rhel10.repo
dnf clean expire-cache
dnf install -y python3-dnf-plugin-versionlock
(pin the driver to branch 620)
dnf install -y nvidia-driver-cuda kmod-nvidia-open-dkms
(turn off nouveau)
REBOOT REQUIRED. The NVIDIA driver is installed and loads after a restart. Nothing else has been changed yet.
Run: sudo reboot
Then: curl -fsSL https://get.aiadminpanel.com | sudo bash -s -- --unattended
How the plan is chosen:
| What the installer finds | Plan |
|---|---|
| No NVIDIA GPU | Nothing to do. |
| A driver is loaded, version 580 or newer | Leave it alone. |
| A driver is loaded, older than 580 | Leave it alone, and warn: the vLLM app needs 580 or newer (CUDA 13). Ollama works from 550. |
| Driver packages installed but not loaded | A restart is pending: the installer stops with exit code 20 so you can restart and run it again. Nothing is reinstalled. |
| No driver, Turing or newer card (Quadro RTX/RTX 20 series and later, T4, A10/A100, L4/L40, H100, Blackwell) | Driver 620 (long-term branch to September 2029), open kernel modules, compute-only. |
| No driver, older card (Maxwell, Pascal, Volta, e.g. P100, V100) | Driver 580, the last branch for these cards, proprietary modules. Ollama runs on them; vLLM's default image does not. |
| Ubuntu (any card) | Branch 580 from Ubuntu's archive (-server-open for Turing and newer, -server for older cards): its newest long-term branch. |
| Debian 13, older card | Not installed: NVIDIA's Debian 13 repository starts at branch 590, which no longer supports these cards. Use Debian 12 or Ubuntu, or install Debian's own driver yourself (Ollama only). |
| Secure Boot on (Debian, Rocky/Alma/RHEL, or Ubuntu with a custom kernel) | The driver needs a one-time key enrolment at the server console (exit code 21, below). |
| An NVSwitch (HGX) board: 8× A100/H100/H200/B200 SXM | Also install NVIDIA Fabric Manager at the driver's version and turn its service on, with a new driver or next to one that is already loaded. See NVSwitch (HGX) boards below. |
| A provider-managed GPU: a virtual GPU (vGPU/GRID), a Vultr Cloud GPU, an AWS g6f/gr6f instance | Leave it to the provider. These need the provider's licensed driver, so the installer installs nothing and says so. |
| AMD GPU, or an ARM (aarch64) server | Not handled by the installer yet. |
A driver that is already loaded is never replaced: cloud images and vendor tools often manage it. The same goes for driver packages that are installed but not loaded yet: the installer asks for a restart instead of installing a second driver. On a fresh cloud server, the installer first waits (up to 10 minutes) for the provider's first-boot setup (cloud-init), which may still be installing a driver.
The driver stays on its branch through updates:
- Rocky/Alma/RHEL: a module stream (9) or versionlock (10) pins the branch, so
dnf upgradeinstalls fixes for that branch but never jumps to a new one. - Debian: NVIDIA's pinning package (
nvidia-driver-pinning-<branch>) does the same forapt upgrade, and the kernel-headers meta package lets DKMS rebuild the module for each new kernel. - Ubuntu: the branch is part of every package name (
...-580-server), so apt never moves to another branch. A meta package for your kernel flavour brings the matching signed module with each kernel update. The packages are deliberately not put on hold: each module package needs the exact matching driver version, so a hold would leave the next kernel without a module. After Ubuntu installs a driver update, restart when it says a restart is needed (/var/run/reboot-required).
| Option | Behaviour |
|---|---|
--gpu-driver=auto (default) | Check, and on Ubuntu 22.04/24.04, Debian 12/13 or Rocky/AlmaLinux/CentOS Stream/RHEL 9/10 install the driver when it is missing. Elsewhere, or if the install fails, continue without a GPU driver. |
--gpu-driver=install | Same as auto, but stop with exit code 1 instead of continuing when the driver cannot be installed (an unsupported system, or a failed install). Use it when the server is useless without its GPU. |
--gpu-driver=skip | No check, for servers whose driver is managed elsewhere (Ansible, a golden image). |
AAP_GPU_DRIVER=auto|skip|install does the same as the flag; the flag wins. Any other value stops the installer before it changes anything.
NVSwitch (HGX) boards: Fabric Manager
On an HGX board (8× A100, H100, H200 or B200 SXM) the GPUs are connected through NVSwitch chips. CUDA starts there only when NVIDIA Fabric Manager is running at the driver's version; without it, Local AI, vLLM and Ollama all fail to start on the GPU. Think of it like a storage fabric: the disks are there, but nothing works until the fabric daemon has brought the switches up.
The installer finds such a board without extra tools: the NVSwitch chips show up on the PCI bus (H100/A100 boards), a B100/B200/B300 GPU model means the newer switches that are not on the PCI bus, and with a driver loaded nvidia-smi -q reports the GPU's fabric state. Then:
- New driver: after the driver, it installs Fabric Manager at exactly the version of the driver it just installed and turns the
nvidia-fabricmanagerservice on, so it starts with the driver. - Driver already loaded (common on rented HGX servers): the driver is left alone. A missing Fabric Manager is installed at the loaded driver's version and started. An installed one that matches is started if it is not running.
- Fabric Manager version differs from the driver: the installer warns and names both versions, but replaces neither. Below branch 620 Fabric Manager must be the driver's exact version; from 620 it is the standalone 2.x package of the driver's branch. Update it to match, then run the installer again.
- HGX B100/B200/B300: these also need the NVLink Subnet Manager (
nvlsm), which Fabric Manager starts. The installer adds it from NVIDIA's repository (Debian, Rocky/Alma/RHEL). Ubuntu's archive does not have it, so on Ubuntu's own driver the installer says to addnvlsmfrom NVIDIA's CUDA repository.
| System | Fabric Manager packages |
|---|---|
Ubuntu (Ubuntu's -server driver) | nvidia-fabricmanager-<branch> and libnvidia-nscq-<branch>, at the driver's version. Ubuntu's archive keeps only the newest version of a branch: if the loaded driver is older, update it first. Below branch 580, Ubuntu has no matching Fabric Manager any more. |
| Debian, or Ubuntu with NVIDIA's driver | From NVIDIA's CUDA repository, at the driver's version: nvidia-fabricmanager, libnvidia-nscq (and libnvsdm). |
| Rocky/Alma/RHEL 9 and 10 | From NVIDIA's CUDA repository: branch 620 uses nvidia-fabricmanager-direct with libnvidia-nscq/libnvsdm at the driver's version; older branches use nvidia-fabricmanager-<driver version>. |
Check it after the install: nvidia-smi -q | grep -A2 Fabric shows State : Completed and Status : Success once the fabric is up, and systemctl status nvidia-fabricmanager shows the service. --gpu-driver=skip skips all of this. With --gpu-driver=install, a Fabric Manager that cannot be installed, or one that does not match the driver, stops the install with exit code 1. --dry-run lists the Fabric Manager commands with the rest of the plan.
Exit code 20: restart required
The driver is installed but can only load after a restart, usually because the built-in nouveau driver had the card (the installer has already turned nouveau off). Restart, then run the installer again with the same options. It prints the exact command:
sudo reboot
# after the restart:
curl -fsSL https://get.aiadminpanel.com | sudo bash -s -- <the same options>
Set the same environment variables again (for example PANEL_DOMAIN) if you used any. The second run finds the loaded driver, leaves it alone and finishes the install.
Exit code 21: Secure Boot key enrolment
With Secure Boot on, the firmware only loads kernel modules signed by a key it trusts. The driver module is built on your server, so its signing key must be enrolled once, at the server console:
sudo mokutil --import /var/lib/dkms/mok.puband choose a one-time password. (Ubuntu with a custom kernel: the installer prints Ubuntu's key,/var/lib/shim-signed/mok/MOK.der.)sudo reboot- At the blue MOK management screen: Enroll MOK, Continue, Yes, then type the password. On a cloud server, use the provider's web or serial console: this screen shows before Linux boots.
- After the boot, run the installer again with the same options.
Alternative: turn Secure Boot off in the firmware or provider settings, then run the installer again. If the key is already enrolled, the installer skips this stop.
Installing the driver yourself (other systems). On systems the installer does not install a driver on, it warns that a GPU is present but no driver is loaded and continues. Install the driver, reboot, check with
nvidia-smi, then run the panel installer again to finish the GPU setup. Follow NVIDIA's driver installation guide, or your provider's instructions for a cloud GPU.
AMD/ROCm GPUs are not yet auto-configured by the installer.
Post-Install Verification
- Open the panel URL printed by the installer. Complete setup if it appears, then sign in through Keycloak using the installer-created administrator account.
- Confirm the dashboard opens. Open Templates, search for Uptime Kuma, and check that its detail page offers Deploy. The unfiltered catalog is not a complete inventory in this version.
- Open Settings → Security & License → License and check the selected edition or trial.
- Follow First Deploy to verify an application can start and open through its displayed URL.
If the browser cannot reach the panel, these optional server checks help narrow the problem. They do not prove that login or deployment works:
curl --fail --silent --show-error https://panel.example.com/healthz
cd /opt/aiadminpanel
docker compose ps
Administrator access
Use admin@{PANEL_DOMAIN} and the generated panel password for the first panel login. On a temporary domain, sign in with the e-mail address you entered in the setup wizard instead (see Your admin email on a temporary domain). Use the separate Keycloak administrator account only for identity-provider administration at https://auth.{PANEL_DOMAIN}/admin/; its password is stored in /opt/aiadminpanel/secrets/keycloak_admin_password. Neither password has a shared default. Do not paste either secret into support tickets or screenshots.
Troubleshooting
DNS does not work ("cannot resolve get.aiadminpanel.com")
Before it installs anything, the installer asks the server's own DNS for get.aiadminpanel.com. If there is no answer but 1.1.1.1 can be reached, it stops with exit code 2 and changes nothing. The DNS servers the server got from its network (listed in /etc/resolv.conf, usually set by DHCP) are not answering. Some cloud images have this problem: on one OpenStack network the DHCP DNS servers replied to every query with an empty answer, so dnf could not install anything.
Fix it by using public DNS servers, then run the installer again.
On NetworkManager (Rocky Linux, AlmaLinux, RHEL, CentOS Stream), find the connection name with nmcli con show, then:
nmcli con mod "cloud-init ens3" ipv4.ignore-auto-dns yes ipv4.dns "1.1.1.1 9.9.9.9"
nmcli con up "cloud-init ens3"
On systemd-resolved (Ubuntu, Debian), set these lines under [Resolve] in /etc/systemd/resolved.conf, then run systemctl restart systemd-resolved:
DNS=1.1.1.1 9.9.9.9
Domains=~.
If the DHCP servers are still used, turn them off for the interface. With netplan, add dhcp4-overrides: {use-dns: false} to the interface and run netplan apply. Check the result with getent hosts get.aiadminpanel.com.
If 1.1.1.1 cannot be reached either, the installer only warns: the server looks offline, or it reaches the internet only through a proxy.
Port 80/443 already in use
Identify the service using those ports before proceeding. Use a fresh server, or plan how to move the existing web server and its sites; stopping it may interrupt other applications.
Panel unreachable in a browser, but SSH works (multi-homed VPS)
On OVH and Hetzner Cloud with a private network, the private interface can install a default route at the same priority as the public one. Host traffic (SSH, curl) still works, but Docker container replies exit the private interface and are dropped — so the panel times out in a browser and containers can't reach the internet. This is not a firewall issue. See Multi-Homed VPS Routing for the one-file fix, or re-run the installer with AAP_FIX_ROUTING=1 to apply it automatically.
"The panel could not load" instead of the sign-in page
The panel shows this screen, with a Reload button, when a file the page needs at startup fails to download: a short network drop, a Wi-Fi or VPN switch, a proxy that resets the connection, or a browser tab still holding files from before a panel update. The page first reloads itself once on its own. If the file fails again, or the panel has not started after 30 seconds, you see the screen in your saved language (or your browser's language).
Press Reload once the connection is back. If the screen keeps coming back, open the browser's developer tools, look at the Network tab for the file that fails, and check any proxy or firewall between the browser and the panel.
DNS not resolving
dig +short panel.example.com
dig +short test.panel.example.com
Both should return your server IP. If not, wait for DNS propagation (up to 48 hours for some providers).
A fresh cloud server often has no dig. Ask public DNS over HTTPS with curl instead:
curl -s -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=panel.example.com&type=A'
The "data" value in the answer is the IP address the world sees.
The installer checks the record the same way. It uses dig or host when the server has them, and otherwise asks Cloudflare's and Google's public DNS over HTTPS. If it gets an answer, it says DNS OK or stops with the address it found and the fix. It only warns "Could not confirm the public A record ... Proceeding" when neither DNS service is reachable and the server's own /etc/hosts maps the domain to itself (common on cloud images). In that case, check the record with the command above before the certificate step.
Let's Encrypt rate limits
For testing, use the staging CA:
# In docker-compose.yml, change the ACME server to:
# --certificatesresolvers.letsencrypt.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
Production rate limit: 50 certificates per registered domain per week.
Keycloak not starting
Keycloak needs its own database. If it fails to start:
# Check logs
docker logs aiadminpanel_keycloak
# Common fix: create the database
docker exec aiadminpanel_postgresql psql -U aiadminpanel -c "CREATE DATABASE keycloak;"
docker compose restart keycloak
Host updater release assets
The corrected host updater reads the compose file and missing host files from the selected release's versioned installer assets. For example, image version 2.12.2 uses the v2.12.2/ asset prefix. The image version remains unchanged for signature verification and image selection. Existing host files and the GPU overlay are preserved, and the previous compose remains available for automatic rollback.
This correction shipped in 2.12.3 and is present in the 2.12.8 source baseline. Existing installations need an operator-managed refresh of /opt/aiadminpanel/aap-update.sh; replacing the panel image does not replace that host script. A release without versioned compose assets still receives an image-only update, so check the updater log when confirming a compose-level fix.
Panel CPU usage and Go memory limits
The installer defaults the optional GOMEMLIMIT setting to off. Go interprets 0 as a zero-byte soft memory limit, which creates continuous garbage-collection pressure. Use off for Go's normal behavior or an explicit memory budget sized for your installation. A Go soft limit is not a Docker container memory limit.
For an existing installation with GOMEMLIMIT=0, back up /opt/aiadminpanel/.env, change only that line to GOMEMLIMIT=off (or your chosen budget), then recreate the panel from the installation directory:
cd /opt/aiadminpanel
docker compose up -d --no-deps --force-recreate panel
This briefly interrupts panel access. The installer preserves existing .env files, so rerunning it does not change this setting. Check resource usage again after recreation; this correction does not establish the cause of every memory growth or out-of-memory failure.
Panel 2.12.2 also fixed accumulating OpenBao token-renewal watchers. That repair requires the updated panel binary; changing GOMEMLIMIT alone does not fix the watcher leak. Existing secrets and tenant namespaces are preserved.
Checking logs
docker logs --tail 100 aiadminpanel_panel # Panel
docker logs --tail 100 aiadminpanel_traefik # Traefik
docker logs --tail 100 aiadminpanel_keycloak # Keycloak
docker logs --tail 100 aiadminpanel_postgresql # PostgreSQL
Docker rotates the log of every panel container: at most five files of 10 MB each, older ones compressed, so one container keeps about 50 MB of log at most and a noisy service cannot fill the disk. docker logs shows only what is still kept. The limit is set in docker-compose.yml (x-logging) and applies to the panel's own containers (panel, Traefik, PostgreSQL, Valkey, OpenBao and its log rotator, Keycloak, Ollama, LiteLLM). Every container of an app you deploy gets the same limit; see Container logs.
Dry run
Test the installer without making changes:
bash install.sh --dry-run --verbose
AI gateway is running but tenant keys fail
If creating an AI gateway key returns gateway_unavailable, inspect the LiteLLM container's readiness, including its database connection. Version 2.12.2 uses /health/readiness and requires db=connected for Docker health; older releases only check whether the HTTP process responds. A healthy status on those older releases does not establish that key management works.
After checking the database is available, restart only the gateway with docker compose restart litellm from the installation directory and retry key creation. A restart may recover a stale connection; repeated failures require investigation of LiteLLM and PostgreSQL logs. Do not rotate credentials merely because the gateway reports a disconnected database.
Access to SSO-protected applications
SSO-protected application domains require both a valid panel session and access to the service. Operators can access managed services. Customers and invited members can access services belonging to their active customer account; other customers receive HTTP 403. Missing or expired sessions receive HTTP 401.
If a hostname matches more than one service, all users, including operators, receive HTTP 403. This also covers a custom domain matching another service’s generated hostname or a domain differing only by letter case. Correct the conflicting domain assignment before retrying; a valid login cannot disambiguate which application should receive the request.
This ownership check is included in version 2.12.2. Installations on earlier versions must not treat a valid panel login as proof that a user owns the application. Keep application ports behind the configured proxy; this HTTP authorization check does not provide isolation for direct connections between containers.
Application rejects its browser origin after reassignment
Version 2.12.2 restores deployment host variables before rebuilding a service for customer reassignment or secret-driven recreation. This keeps OpenClaw's allowed browser origin equal to its actual HTTPS domain. Existing affected containers need recreation with the fixed panel; restarting the old container alone retains its old command. Keep the original named volumes and credentials. Do not work around the failure with wildcard origins.
Subdomain renaming uses a separate lifecycle path and is not certified by this repair; its configuration-preservation work is tracked separately.
OpenClaw selects a cloud model with a local gateway key
The updated OpenClaw template configures the selected OpenAI-compatible source as the application's aap provider and selects aap/<model> for new sessions. It supplies the endpoint, model and an environment-backed credential together. It does not place a gateway credential in the built-in OpenAI provider.
Startup refreshes the endpoint, key and model list inside models.providers.aap and selects agents.defaults.model with no model fallbacks. Other provider options, including an operator-configured timeout, and other application settings are preserved. An incomplete source with no endpoint or model stops startup instead of silently choosing a cloud model. Direct Anthropic and manually entered provider keys retain their existing configuration flow.
Existing services retain their stored Compose command; restarting an old service does not install a new template. Use a fresh deployment for this correction or perform a separately reviewed configuration migration with a volume backup. Existing chat sessions can retain their previous model selection; create a new session and check its model before sending a prompt. Local inference quality, context capacity and latency need a real task on the chosen model and hardware.