I'm having trouble with my Chatwoot account.

AnonymousHOBBY

4 days ago

I'm having trouble with my Chatwoot account. I'm getting "Application failed to respond" and "Request ID:

74OZT4X9QAijR7ROvLKlrw."

Internally, I'm having trouble starting Network › Healthcheck.

Can you please help me? I've tried everything, and nothing works. This is the link to my project: chatwoot-production-60db.up.railway.app.

$20 Bounty

8 Replies

3 days ago

I'm going to assume you're using the Docker image.

Have you set the required environmental variables, as shown here?

https://www.chatwoot.com/docs/self-hosted/configuration/environment-variables/

If you have, can you share your deployment logs?


3 days ago

https://www.chatwoot.com/docs/self-hosted/deployment/docker

Setting this up seems quite complex. You'll have to create a service for each of the pieces in the Docker compose, and configure them manually to use each other.


loudbook

I'm going to assume you're using the Docker image.Have you set the required environmental variables, as shown here?https://www.chatwoot.com/docs/self-hosted/configuration/environment-variables/If you have, can you share your deployment logs?

AnonymousHOBBY

3 days ago

Thanks for responding, this is what I get:

este es el log:

rails aborted!

May 21 11:42:53

ActiveRecord::ConnectionNotEstablished: connection to server at "2600:1f16:1cd0:3300:7f40:1ea5:21bb:1c0f", port 5432 failed: Network unreachable (ActiveRecord::ConnectionNotEstablished)

May 21 11:42:53

Is the server running on that host and accepting TCP/IP connections?

May 21 11:42:53

May 21 11:42:53

May 21 11:42:53

Caused by:

May 21 11:42:53

PG::ConnectionBad: connection to server at "2600:1f16:1cd0:3300:7f40:1ea5:21bb:1c0f", port 5432 failed: Network unreachable (PG::ConnectionBad)

May 21 11:42:53

Is the server running on that host and accepting TCP/IP connections?

May 21 11:42:53

May 21 11:42:53

Tasks: TOP => db:prepare

May 21 11:42:53

(See full trace by running task with --trace)

Attachments


3 days ago

Okay, that clearly says your PG database isn't reachable. Do you have a Postgres DB running and can you connect to it externally?


testuser123PRO

3 days ago

Man, this happened to me several months ago and it was pain in the ass.

Is it your first chatwoot deploy or are you just updating the version? Regardless, make sure to use THE NEW template because it requires a Postgres extension (PG Vector) that was just recently made available in Railway:

https://railway.com/new/template/chatwoot?teamId=05a499c8-74f9-4a9f-b4a1-8e5779e4ca20


testuser123

Man, this happened to me several months ago and it was pain in the ass.Is it your first chatwoot deploy or are you just updating the version? Regardless, make sure to use THE NEW template because it requires a Postgres extension (PG Vector) that was just recently made available in Railway: https://railway.com/new/template/chatwoot?teamId=05a499c8-74f9-4a9f-b4a1-8e5779e4ca20

john-henriqueHOBBY

3 days ago

I have a chatwoot working for months, but I need update with pg vector, how to update without lose data?


john-henrique

I have a chatwoot working for months, but I need update with pg vector, how to update without lose data?

testuser123PRO

3 days ago

First use the rollback to restore functionality if it's critical. Then back up your database.

Then you can recreate the template manually on your current project (add the Valkey service) and connect it like the template. Configure the variables like your old db (13 env variables).

For reference here's chatwoot official documentation on v4 upgrade: https://www.chatwoot.com/docs/self-hosted/runbooks/upgrade-to-chatwoot-v4/


testuser123

First use the rollback to restore functionality if it's critical. Then back up your database.Then you can recreate the template manually on your current project (add the Valkey service) and connect it like the template. Configure the variables like your old db (13 env variables).For reference here's chatwoot official documentation on v4 upgrade: https://www.chatwoot.com/docs/self-hosted/runbooks/upgrade-to-chatwoot-v4/

john-henriqueHOBBY

3 days ago

I try rollback, but every time get failed, I try rollback and redeploy to versions until November 2024... Failed looking for pgvector 🤷🏽‍♂️