Install Kivo

Troubleshooting

Fixes for the most common install problems.

Fixes for the problems people hit most often while installing Kivo. docker compose logs app and docker compose logs migrate usually name the cause.

Pulling the images

ProblemWhat to do
no matching manifest for linux/arm64The images are built for amd64. Use an x86_64 server; on a Mac with Apple silicon, turn on Rosetta in Docker Desktop (Settings → General). The compose file already asks for linux/amd64.
pull access denied or manifest unknownCheck KIVO_REGISTRY=invicly/ and that KIVO_VERSION is an existing tag on Docker Hub.
toomanyrequestsDocker Hub's anonymous pull limit. Wait, or docker login with a free Docker account.
Pulls time outAllow outbound HTTPS to registry-1.docker.io, auth.docker.io and production.cloudflare.docker.com.

The app container exits with code 78

Kivo checks its environment at startup and refuses to run with a missing or unsafe value. The log names each problem.

VariableNeeds to be
DATABASE_URLA postgresql:// URL
AUTH_SECRETAt least 32 characters
AUTH_URLhttps://… — or ALLOW_INSECURE_AUTH_URL=true for http://localhost only
SMTP_HOSTSet (or EMAIL_TRANSPORT=outbox for local testing)
CRON_SECRETAt least 24 characters, if set

Database and migrations

ProblemWhat to do
migrate failed and the app never starteddocker compose logs migrate. Usually the database isn't reachable or the credentials are wrong. Fix it and run docker compose up -d.
migrate waits forever, or "service postgres is required"With a managed database, DATABASE_URL must be set and db removed from COMPOSE_PROFILES. With the bundled one, keep db and set POSTGRES_PASSWORD.
/api/health/ready answers 503The database is down or not migrated: docker compose run --rm migrate.
"Can't reach database server" with a managed databaseAllow the server's address in the database firewall and add ?sslmode=require.
Special characters break DATABASE_URLURL-encode the password (@ → %40, # → %23).

Sign-in and HTTPS

ProblemWhat to do
Sign-in loops back to the sign-in pageAUTH_URL doesn't match the address in the browser, or the proxy doesn't forward the host.
Everyone was signed out after a restartAUTH_SECRET changed. Put the old value back.
Certificate errorsDNS doesn't point at the server yet (dig +short <your-domain>), ports 80/443 are closed, or KIVO_DOMAIN is wrong. docker compose logs caddy shows why.
Rate limits hit everyone at onceTRUSTED_PROXY_HOPS is wrong — 1 for one proxy, 2 with a CDN in front of a load balancer.

Email

ProblemWhat to do
Connection timeoutsYour cloud blocks the SMTP port. Azure, AWS and Google Cloud block 25; use 465 or 587. DigitalOcean may block more — try 2525.
TLS errorsPort 465 needs SMTP_SECURE=true; 587 needs SMTP_SECURE=false.
Authentication failedWrong username or password. Gmail and Google Workspace need an app password.
Rejected senderSMTP_FROM_EMAIL must be verified with your provider (for example in Amazon SES).

License activation

ProblemWhat to do
"Kivo Control couldn't be reached."Test from the server: curl -fsS https://kivo-control.invicly.com/api/v1/licensing/keys. Allow outbound HTTPS, and check KIVO_CONTROL_URL.
"…signed with a key this installation doesn't know."Set KIVO_LICENSE_PUBLIC_KEYS="lic-2026-09:MCowBQYDK2VwAyEAzWdTL0qB3C7ZDkfbdcn0u4MADyzGFR9suPCuNkf8mbQ=" and restart Kivo.
"…already activated on as many workspaces as it allows."Free a slot in your portal.

Still stuck? Email inviclytech@gmail.com with the output of docker compose ps and the relevant log lines.