Newbie Question, How to Debug? Failed to Deploy
i'm new in docker stuff, so i failed to Deploy Twenty with one click docker compose deployment, the only error that i get is
dependency failed to start: container twenty-server-1 is unhealthy
but i still don't know what to do.
OS : Ubuntu 22
RAM : 8GB (avg. 60% usage)
CPU : 4 core (avg. 60% usage)6 Replies
okay solved, it turns out just restart the container ;))
great!
i have the same problem with one line install script.
aws - ubuntu 22.04, 2gb ram
i can see this in docker logs: Error: connect ECONNREFUSED 127.0.0.1:6379
Take a look at your container logs π
same error which i shared above
[Nest] 1 - 10/18/2024, 4:47:39 AM LOG [InstanceLoader] FileUploadModule dependencies initialized +0ms
[Nest] 1 - 10/18/2024, 4:47:39 AM LOG [InstanceLoader] FileModule dependencies initialized +0ms
[Nest] 1 - 10/18/2024, 4:47:39 AM ERROR [ExceptionHandler] connect ECONNREFUSED 127.0.0.1:6379
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)
i followed this fix: added REDIS_HOST in docker https://github.com/twentyhq/twenty/issues/7768#issuecomment-2420531637
and it seems to work. please fix the issue in one line script. Thanks
ah no, the webpage is just a white blank screen π
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3000/graphql. (Reason: CORS request did not succeed). Status code: (null).
Edit: fixed, but getting bad gateway requests when going to few pages, also no webhook events are generated.
ok, we seems to have inconsistency in our docker-compose on main (expecting REDIS_URL) vs the latest image version of twenty (expecting REDIS_HOST). Adding the REDIS_HOST to the docker-compose was the right thing to do
Regarding the bad gateway requests, could you share more? what pages specifically?