D
Dokployβ€’3mo ago
Pandy.

Unable to install Dokploy on Ubuntu 24.04.2

Hello, I am unable to install dockploy on a fresh install of Ubuntu 24.04.02. After the execution of the automated install script, with curl i get an connection refused. All containers seems to be running. Looking into the dockpoy container it seems that it can't connect to the database.
# curl http://0.0.0.0:3000
curl: (56) Recv failure: Connection reset by peer
-
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Network is already initilized
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118: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: connect ECONNREFUSED 10.0.1.5:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '10.0.1.5',
port: 5432
}
Main Server Error Error: connect ECONNREFUSED 10.0.1.5:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '10.0.1.5',
port: 5432
}
# curl http://0.0.0.0:3000
curl: (56) Recv failure: Connection reset by peer
-
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Network is already initilized
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dokploy-postgres'
}
Error: getaddrinfo ENOTFOUND dokploy-postgres
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118: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: connect ECONNREFUSED 10.0.1.5:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '10.0.1.5',
port: 5432
}
Main Server Error Error: connect ECONNREFUSED 10.0.1.5:5432
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '10.0.1.5',
port: 5432
}
Hope you can give me hint in a direction πŸ™‚
6 Replies
Vishal
Vishalβ€’3mo ago
which service provider are you using
Pandy.
Pandy.OPβ€’3mo ago
Hetzner
Vishal
Vishalβ€’3mo ago
do you have root access try to run the script again
Pandy.
Pandy.OPβ€’3mo ago
sh: 0: getcwd() failed: No such file or directory Error: something is already running on port 80 already tried to uninstall and reinstall still no luck :/
DJKnaeckebrot
DJKnaeckebrotβ€’3mo ago
netstat-tulpn | grep 80 Should show what’s running on the port
Pandy.
Pandy.OPβ€’3mo ago
it was trafik from dokploy so nothing to worry

Did you find this page helpful?