Skip to main content

Useful commands

GET /api/health returns {"ok": true, "uptime": <seconds>}.

Common problems

Reset it from SSH. This also signs out every session of that user:
The password must be at least 10 characters. If you installed to a custom AEROS_DIR, adjust the path.
After 10 attempts from one IP in 15 minutes, logins return 429 until the window ends. Wait for the time in the message, or restart the panel to clear the in-memory counters:
frontend/dist is missing. Rebuild it:
Or run the installer again, which rebuilds both parts.
Read the last log lines:
  • EADDRINUSE: another process uses the port. Find it with sudo ss -ltnp | grep :3000, or change PORT in /opt/aeros-panel/backend/.env.
  • Cannot find module .../dist/index.js: the backend was not built. Run npm ci && npm run build in backend/, or rerun the installer.
  • Errors loading sqlite3: the native module was built for a different Node version. Run npm rebuild sqlite3 in backend/ after a Node upgrade.
The browser’s Origin does not match the Host the panel sees. This happens behind a proxy that rewrites the Host header. Forward the original host, or add the public origin to CORS_ORIGIN in backend/.env and restart the panel. See Security.
Metrics are only reported for active units. Check why it stopped:
Common causes: ExecStart points to a binary that does not exist (use absolute paths, check with which node), the build output (dist/) is missing, or MemoryMax= is too low and the kernel killed the process (journalctl shows oom-kill).
The service user needs read access to the working directory and write access to anything the app writes. For example:
Deploys run as root, so files created by git pull or the build belong to root. Run the chown again after a deploy, or put it in the build command.
The panel uses git pull --ff-only, so a checkout with local commits or a rewritten remote history fails instead of merging. Inspect it:
For private repositories, the root user needs access: an SSH deploy key in /root/.ssh/ with an ssh:// or git@host:path URL, or a credential helper for HTTPS.
Only one deploy or rollback runs per service. Wait for the terminal to print Completed or FAILED. The lock is in memory, so restarting the panel also clears it.
  • Caddy service is not active on this host.: start Caddy with sudo systemctl start caddy.
  • The domain saves but does not resolve: make sure /etc/caddy/Caddyfile contains import /etc/caddy/conf.d/*.caddy, then check sudo caddy validate --config /etc/caddy/Caddyfile and journalctl -u caddy -n 50.
Press TEST in Settings first. If the test works but real failures do not alert:
OnFailure must list aeros-notify@discord-bot.service.service. If it is empty, save the alert settings again to rewrite the drop-ins.
The installer caps the journal at SystemMaxUse=64M unless a cap already existed. Check usage and shrink it now:
The panel reads /sys/class/thermal/thermal_zone0/temp and the first BAT* entry in /sys/class/power_supply/. VPSs and some desktops do not expose these files. Without a battery, the panel reports AC_POWER.

Where things are