Troubleshooting the install
Fixes for common problems when installing Zelvynta CRM.
Run every command here from inside the zelvynta-platform folder.
See what is running
docker compose -f infra/compose/docker-compose.yml psTo read one service's log, add its name. For example, for the app:
docker compose -f infra/compose/docker-compose.yml logs webOther service names are worker, mongodb, redis, caddy and updater.
"A setup token already exists for this installation"
A setup token was already created for this database. It is shown only once, when it is created. There is no built-in way to show it again yet.
"Invalid setup token."
The token you entered doesn't match. Paste it again with no extra spaces before or after it.
"This installation has already been set up."
The Owner account already exists. Go to /login on your domain and sign in.
"Installation is not ready yet."
No setup token has been created yet. Follow Create the setup token.
getaddrinfo ENOTFOUND mongodb when creating the token
The command used the database address from .env, which only works inside Docker. Run the command exactly as shown
in Create the first admin account, with directConnection=true in the address.
HTTPS certificate is not issued
Caddy can only get a certificate when all of these are true:
- Your domain's A record points to this server's public IP address.
- Ports 80 and 443 are open to the internet.
SITE_ADDRESSin.envis your domain, withouthttps://.
Read Caddy's log to see the exact error:
docker compose -f infra/compose/docker-compose.yml logs caddyAfter you fix the cause, restart Caddy:
docker compose -f infra/compose/docker-compose.yml up -d --force-recreate caddy