✘ Container twenty-server-1 Error 70.8s
I run bash <(curl -sL https://git.new/20) but due to precedent installations I was not able to clear I suppose the password is not correct but I cannot find how to fix it?
I got this error
[+] Running 6/6
✔ Network twenty_default Created 0.1s
✔ Container twenty-db-1 Healthy 8.4s
✔ Container twenty-change-vol-ownership-1 Exited 2.5s
✔ Container twenty-redis-1 Started 1.9s
✘ Container twenty-server-1 Error 70.8s
✔ Container twenty-worker-1 Created 0.0s
dependency failed to start: container twenty-server-1 is unhealthy
❌ Something went wrong, exiting: 1
Any help?
Thanks 🙌
Git.new – Free GitHub Link Shortener
Shorten your GitHub URLs or links with git.new – a free, branded GitHub URL shortener powered by Dub.co
8 Replies
docker logs twenty-server-1
[Nest] 1 - 01/19/2025, 10:53:37 PM ERROR [TypeOrmModule] Unable to connect to the database (metadata). Retrying (9)...
error: password authentication failed for user "postgres"
at Parser.parseErrorMessage (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:283:98)
at Parser.handlePacket (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:122:29)
at Parser.parse (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:35:38)
at Socket.<anonymous> (/app/node_modules/pg/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
[Nest] 1 - 01/19/2025, 10:53:37 PM ERROR [ExceptionHandler] password authentication failed for user "postgres"
error: password authentication failed for user "postgres"
at Parser.parseErrorMessage (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:283:98)
at Parser.handlePacket (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:122:29)
at Parser.parse (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:35:38)
at Socket.<anonymous> (/app/node_modules/pg/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
Db Password fixed but still getting the error.
And was never reachable at localhost:3000
Can you share your docker ENV?
It's hard to tell otherwise.
root@dazzling-hawking:~# docker info
Client: Docker Engine - Community
Version: 27.5.1
Context: default
Debug Mode: false
Plugins:
compose: Docker Compose (Docker Inc.)
Version: v2.32.4
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 6
Running: 5
Paused: 0
Stopped: 1
Images: 5
Server Version: 27.5.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc version: v1.2.4-0-g6c52b3f
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.8.0-52-generic
Operating System: Ubuntu 24.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.812GiB
Name: dazzling-hawking.66-179-210-156.plesk.page
ID: 5f215f82-3cfa-40e8-a218-c2de42119138
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
root@dazzling-hawking:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
452194b70110 twentycrm/twenty:latest "/app/entrypoint.sh …" 14 hours ago Up 22 minutes
twenty-worker-1
9cf5da9b6f2b twentycrm/twenty:latest "/app/entrypoint.sh …" 14 hours ago Up 9 minutes (healthy) 0.0.0.0:3000-3001->3000-3001/tcp, :::3000-3001->3000-3001/tcp twenty-server-1
82719d3344ab twentycrm/twenty-postgres-spilo:latest "/bin/sh /launch.sh …" 14 hours ago Up 22 minutes (healthy) 5432/tcp, 8008/tcp, 8080/tcp twenty-db-1
f2e6ca86fde5 redis "docker-entrypoint.s…" 14 hours ago Up 22 minutes 6379/tcp twenty-redis-1
abd2a47f7fa9 ubuntu "bash -c ' chown -R …" 14 hours ago Exited (0) 14 hours ago
twenty-change-vol-ownership-1
d229a8a3b0bc portainer/portainer-ce:lts "/portainer --admin-…" 17 hours ago Up 22 minutes 8000/tcp, 9443/tcp, 127.0.0.1:9000->9000/tcp plesk-portainer
Is this sufficient to hav efurther inshight? Thanks

Is this information enough? Do you need any further detail?
Thanks a lot!
password authentication failed for user "postgres"
did you set the env variables?
I was not able to isolate the single issue, but I started a fresh instalation from scratch and it worked