supabase-community / chatgpt-your-files

Production-ready MVP for securely chatting with your documents using pgvector
https://youtu.be/ibzlEQmgPPY
335 stars 116 forks source link

service not healthy: [supabase_vector_chatgpt-your-files] #42

Open Gourav-21 opened 3 months ago

Gourav-21 commented 3 months ago

Bug report

it doesnt start at all when ever i try to run it locally it says service not healthy

Describe the bug

$ npx supabase start
0.28.1-alpine: Pulling from supabase/vector
d261077062b2: Pull complete
2babd04ec7b1: Pull complete
6bbeea27f58c: Pull complete
2b092e92b1a0: Pull complete
9ced58d1ef15: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:4bc04aca94a44f04b427a490f346e7397ef7ce61fe589d718f744f7d92cb5c80
                                                                               Status: Downloaded newer image for public.ecr.aws/supabase/vector:0.28.1-alpine
supabase_vector_chatgpt-your-files container logs:
                                                  2024-07-01T09:52:25.868166Z  INFO vector::app: Internal log rate limit configured. internal_log_rate_secs=10
                                                                                                                                                              2024-07-01T09:52:25.868467Z  INFO vector::app: Log level is enabled. level="vector=info,codec=info,vrl=info,file_source=info,tower_limit=trace,rdkafka=info,buffers=info,lapin=info,kube=info"
                                                                                                                                                                             2024-07-01T09:52:25.869380Z  INFO vector::app: Loading configs. paths=["/etc/vector/vector.yaml"]
                                                                                                2024-07-01T09:52:25.889166Z  WARN vector::config::loading: Transform "kong_err" has no consumers
                  2024-07-01T09:52:25.889218Z  WARN vector::config::loading: Transform "router._unmatched" has no consumers
                                                                                                                           2024-07-01T09:52:26.019487Z  INFO vector::topology::running: Running healthchecks.
                               2024-07-01T09:52:26.019924Z  INFO vector::topology::builder: Healthcheck passed.
                                                                                                               2024-07-01T09:52:26.019936Z  INFO vector::topology::builder: Healthcheck passed.
                 2024-07-01T09:52:26.019939Z  INFO vector::topology::builder: Healthcheck passed.
                                                                                                 2024-07-01T09:52:26.019942Z  INFO vector::topology::builder: Healthcheck passed.
   2024-07-01T09:52:26.019944Z  INFO vector::topology::builder: Healthcheck passed.
                                                                                   2024-07-01T09:52:26.019947Z  INFO vector::topology::builder: Healthcheck passed.
                                                                                                                                                                   2024-07-01T09:52:26.019949Z  INFO vector::topology::builder: Healthcheck passed.
                                                                     2024-07-01T09:52:26.020132Z  INFO source{component_kind="source" component_id=docker_syslog component_type=syslog component_name=docker_syslog}: vector::sources::util::net::tcp: Listening. addr=0.0.0.0:9000
                                                                                                     2024-07-01T09:52:26.020207Z  INFO vector: Vector has started. debug="false" version="0.28.1" arch="x86_64" revision="ff15924 2023-03-06"
                                                               2024-07-01T09:52:26.027480Z  INFO vector::internal_events::api: API server running. address=0.0.0.0:9001 playground=http://0.0.0.0:9001/playground
                                   service not healthy: [supabase_vector_chatgpt-your-files]
Try rerunning the command with --debug to troubleshoot the error.

A clear and concise description of what the bug is.

To Reproduce

npx supabase start

Expected behavior

it should run

Screenshots

If applicable, add screenshots to help explain your problem.

System information

gregnr commented 3 months ago

Hey @Gourav-21. Sorry to hear you're facing this - this is the first I've heard of this issue. Confirming that you are working from a clean clone of the repo on the main branch with no existing docker containers running prior to npx supabase start?

Gourav-21 commented 3 months ago

@gregnr yes there was a supabase docker running but i stopped it before starting this one but it didnt work. then i thought maybe it was because of the prev docker that i was running so i factory reset the docker and started it again but still it didnt work

so i did it in cloud

and just so you know the chat edge function also doesnt work, i had to create the api in next js then it worked

DuncanLHS commented 2 months ago

@Gourav-21 I too have had this issue and have discussed and attempted to troubleshoot with a couple of other users in the Supabase discord but it doesn't seem to be affecting everyone. I haven't seen a fix I'm afraid but turning analytics off appears to be a good workaround for now. You can disable it in the config.toml. The problem seems to stem from an update to some of the supabase docker images around a week ago but I can't be sure.

andymcbee commented 16 hours ago

Just dropping this here for future travelers.

I ran into the same issue when following the tutorial running npm install and npx supabase start from with the step-1 branch.

I got it running fine by switching the main and installing dependencies and then starting with npx supabase start as instructed.

If I have time I'll dig a bit deeper and see why it's failing in the step-1 branch, but at least this can get the full app live.