Troubleshooting
Common problems with an Axiom server deployment, what causes them, and how to fix them. Start with docker logs axiom-server and docker logs axiom-gateway: most problems leave a clear line there.
Certificates and connections
The gateway didn't get a certificate, or renewals fail
Let's Encrypt needs SITE_HOST to be a public DNS name pointing at the host, and port 80 open to the whole internet. Check docker logs axiom-gateway for the ACME error, fix DNS or the firewall, then recreate the gateway with docker compose up -d --force-recreate in the caddy folder. A failing renewal keeps the old certificate in service while Caddy retries, so you have time, but not forever.
TLS handshake fails although Caddy obtained a certificate
Clients that connect by raw IP address send no server name. The shipped Caddyfile handles this with default_sni {$SITE_HOST} and site addresses of the form {$SITE_HOST}:port; keep both if you edit it.
Analysts get a block page or protocol error from inside the corporate network
A TLS-inspecting proxy is rejecting or re-signing the connection, while the same check from the server itself works. Use a publicly trusted certificate (the Let's Encrypt setup), or ask your security team for an inspection exception for the hostname and all of its ports. In IP-only deployments, an analyst who pinned through such a proxy pinned the proxy's certificate: they click Forget and pin again from an uninspected network, comparing with the fingerprint on the admin page's Overview.
The app says the certificate doesn't match the pinned fingerprint
If the server recently moved behind the gateway, the analyst's pin is for the server's old self-signed certificate: click Forget under Collaboration server and sign in without pinning. In an IP-only deployment, the server's certificate changed (a new volume, or a new IT-issued certificate) or something is intercepting traffic. Confirm the current fingerprint on the admin page's Overview before anyone re-pins.
"Client sent an HTTP request to an HTTPS server"
Use https://, not http://. Every port is HTTPS, including the server inside the Docker network.
The gateway won't start: port 8480 is already allocated
Something else still publishes 8480, usually an older server configuration or an IP-only setup. Bring the server up first with the current compose file, then recreate the gateway. In an IP-only deployment, remove the 8480 site and port from the gateway instead; see Deploying the server.
Sign-in problems
Sign-in says "too many failed attempts" (429)
Five failed password or code checks within 15 minutes locked that username, or the address the attempts came from, for 15 minutes. While locked, even the right password is refused; the message and the Retry-After header say how long. You can wait it out, or run docker restart axiom-server: lockouts live only in memory, so a restart clears them while sessions survive.
The admin page's Security → Audit log section shows the login_fail and login_locked entries with usernames and addresses, which tells you whether it was a typo or someone guessing.
Everyone is locked out at once, even with the right password
If all the failed entries share one address and it is the gateway's, the server isn't trusting the gateway's X-Forwarded-For header, so every analyst counts as one client. docker logs axiom-server then contains a line saying a request "carried X-Forwarded-For, which is ignored". Set TRUST_PROXY_HEADERS to the gateway's container name (default axiom-gateway, which must match container_name in the gateway's compose file) and run docker compose up -d for the server. On Docker Desktop hosts, port forwarding can hide client addresses in the same way.
Every two-factor code is refused
Codes depend on the clock. Check that the phone sets its time automatically and the server host runs NTP. If the person has lost their authenticator, use Reset 2FA under People → Users on the admin page after confirming who is asking.
A new account says its temporary password has expired
Accounts approved from a sign-up must change their emailed temporary password within 7 days. After that, sign-in answers that the temporary password has expired. Use Reset password on their row and give them the new password yourself; they can sign in with it straight away.
Lost the only admin password
If another admin exists, they reset it on the admin page under People → Users. Otherwise, back up the volume, stop the server, and edit users.json in the volume: give an account whose password someone knows "admin": true and remove any "disabled": true. Keep the file owned by UID 1000. Don't delete users.json to re-create the admin: new accounts get new IDs, every shared case loses its members, and admins can't invite themselves back.
Shared cases
Saves fail with 423, or a case stays read-only
Someone else holds the edit lock, or the analyst's own lock expired. The lock runs out 45 minutes after it was taken or last saved, and then any editor can take it. To free it sooner, click Force release under Cases → Investigations on the admin page; it is audited as lock_forced. A save sent without a live lock gets 423; the analyst enters edit mode again.
Saves fail with 409
Either someone saved a newer version first, which the app handles itself by reloading, re-applying the analyst's edits and saving again, or the case is closed. A closed case refuses every change until an editor reopens it.
Live updates don't arrive
Live updates use Server-Sent Events over a long-lived HTTPS connection on port 8480. The shipped gateway sets flush_interval -1 on that site so events are sent at once; keep it if you edit the Caddyfile. Any other proxy between the analyst and the gateway must not buffer responses either. Live updates are best effort with no replay: after a reconnect the app re-reads the case, so nothing is lost, only delayed.
Containers and deployment
The server loops with "mkdir /data/...: permission denied"
The data volume was created owned by root, but the server runs as UID 1000. Current images prepare /data correctly, so rebuild with docker compose up -d --build. To fix an existing volume and keep its data, stop the server and run docker run --rm -v VOLUME:/data alpine chown -R 1000:1000 /data with your real volume name, then start it again. A bare name such as axiom-data would create and fix a new, empty volume instead.
Gateway changes don't take effect
Plain docker compose up -d can see the gateway's image as unchanged and leave it running with the old environment or Caddyfile. After editing caddy/.env or the Caddyfile, run docker compose up -d --force-recreate in the caddy folder.
Compose says a network was not found
The projects use four external networks. Create the missing one (or all four) once, then start the projects again:
docker network create axiom-backend
docker network create axiom-kuma
docker network create axiom-portainer
docker network create axiom-cyberchef
The server exits immediately on a fresh volume
If the log ends with "no accounts exist yet and ADMIN_PASSWORD is empty", the first start had no admin password. The server refuses to invent one rather than print a credential to the container logs. Put AXIOM_ADMIN_PASSWORD=... in the .env file next to docker-compose.yml (with a text editor, not on the command line) and run docker compose up -d again. A volume that already has accounts starts without the variable.
502 on the portal or app port right after a certificate change
The gateway verifies the server's certificate against the exported copy in the axiom-cert-export volume and reads that file only when it starts. After the server's certificate changes (a new TLS_CERT pair, or a recreated data volume), restart the gateway: docker compose restart in the caddy folder. Its log shows failed to verify certificate while the copy is stale.
An Uptime Kuma monitor of the server's container address is down
Kuma has no route to the server's network — that isolation is deliberate. Monitor the path analysts use instead: an HTTPS monitor on the site address, port 8480, path /api/health, with TLS checking on.
CyberChef crash-loops with "Read-only file system", or its port is dead
The container runs read-only and needs a writable /tmp, which the shipped compose file provides with tmpfs. It also listens on 8080, not 80. Keep both if you change the companion compose file.
The build freezes or dies at the Go compile step
A small host ran out of memory. Make sure you have the current Dockerfile, which compiles one package at a time with a build cache. If it still fails, stop the companions during the build (docker compose stop in the companions folder), or add a swap file to the host.