a year 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.
Pinned Solution
a year ago
Yes. Here’s the official instructions from Chatwoot to migrate to V4:
https://www.chatwoot.com/docs/self-hosted/runbooks/upgrade-to-chatwoot-v4/
I suggest you rebuild the new template into your old project (basically add the same services and connect them the same way).
10 Replies
a year 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?
a year 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.
samgordon
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?
a year ago
Thanks for responding, this is what I get:
este es el log:
rails aborted!
ActiveRecord::ConnectionNotEstablished: connection to server at "2600:1f16:1cd0:3300:7f40:1ea5:21bb:1c0f", port 5432 failed: Network unreachable (ActiveRecord::ConnectionNotEstablished)
Is the server running on that host and accepting TCP/IP connections?
Caused by:
PG::ConnectionBad: connection to server at "2600:1f16:1cd0:3300:7f40:1ea5:21bb:1c0f", port 5432 failed: Network unreachable (PG::ConnectionBad)
Is the server running on that host and accepting TCP/IP connections?
Tasks: TOP => db:prepare
(See full trace by running task with --trace)
Attachments
a year 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?
a year 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>
a year 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?
a year 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/>
a year ago
I try rollback, but every time get failed, I try rollback and redeploy to versions until November 2024... Failed looking for pgvector 🤷🏽♂️
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>
a year ago
I'm trying to update it, is it possible to use the new template while keeping the previous information?
I'm trying to update it, is it possible to use the new template while keeping the previous information?
a year ago
Yes. Here’s the official instructions from Chatwoot to migrate to V4:
https://www.chatwoot.com/docs/self-hosted/runbooks/upgrade-to-chatwoot-v4/
I suggest you rebuild the new template into your old project (basically add the same services and connect them the same way).
Status changed to Solved chandrika • about 1 year ago