Containers not starting after installation script
i ran the installation script as root and it worked fine.
however when i go to the url shown in the logs, it is not reachable.
Then i see the running containers with "docker ps" and i see only one container running: "dokploy/dokploy:latest"
and its logs are these:
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Default middlewares already exists
Network is already initilized
Main config already exists
Default traefik config already exists
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Postgres Not Found: Starting ✅
Traefik Not Found: Starting ✅
Redis Not Found: Starting ✅
Setting up cron jobs....
Migration failed Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
i am using a basic ubuntu 24 vps on ovh cloud.
it seems like it cannot find dokploy-postgres, but it was never started4 Replies
(commenting so I will see the solution if someone has it)
I agree. It looks like Postgres isn’t starting. You can always try destroying the VPS and trying again
Hmm I haven't tried ovh, but it shouldn't be any issue
Same issue here! I'm thinking it might be a race condition of some sort? I'm running it on a 1 core - 2GB VPS. Any clue as if there's a fix?