Open localjo opened 1 month ago
Can you inspect the logs from the Supabase Docker containers (using Docker Desktop or otherwise) and see their error logs? Are they restarting in loops?
I see some errors. In supabase_db_jep:
2024-07-16 13:53:40 172.22.0.3 2024-07-16 06:53:40.114 UTC [57] supabase_admin@postgres ERROR: duplicate key value violates unique constraint "users_lower_email_index"
2024-07-16 13:53:40 172.22.0.3 2024-07-16 06:53:40.114 UTC [57] supabase_admin@postgres DETAIL: Key (lower(email::text))=(default@logflare.app) already exists.
2024-07-16 13:53:40 172.22.0.3 2024-07-16 06:53:40.114 UTC [57] supabase_admin@postgres STATEMENT: INSERT INTO "users" ("admin","api_key","api_quota","billing_enabled","email","email_me_product","email_preferred","endpoints_beta","name","provider","provider_uid","token","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14) RETURNING "id"
In supabase_vector_jep:
2024-07-16 13:53:40 2024-07-16T06:53:40.104937Z ERROR transform{component_kind="transform" component_id=db_logs component_type=remap component_name=db_logs}: vector::internal_events::remap: Mapping failed with event. error="function call error for \"upcase\" at (476:516): expected string, got null" error_type="conversion_failed" stage="processing" internal_log_rate_limit=true
2024-07-16 13:53:40 2024-07-16T06:53:40.105093Z ERROR transform{component_kind="transform" component_id=db_logs component_type=remap component_name=db_logs}: vector::internal_events::remap: Internal log [Mapping failed with event.] is being rate limited.
2024-07-16 13:53:47 2024-07-16T06:53:47.423120Z INFO source{component_kind="source" component_id=docker_host component_type=docker_logs component_name=docker_host}: vector::internal_events::docker_logs: Started watching for container logs. container_id=277d27065e98e8676fa1f04f82473994e287bd520dd90c2411c9cfbd1b1cc161
2024-07-16 13:53:47 2024-07-16T06:53:47.426663Z ERROR transform{component_kind="transform" component_id=rest_logs component_type=remap component_name=rest_logs}: vector::internal_events::remap: Mapping failed with event. error="function call error for \"to_timestamp\" at (140:166): No matching timestamp format found for \"16/Jul/2024:06:53:47 +0000: Attempting to connect to the database...16/Jul/2024:06:53:47 +0000\"" error_type="conversion_failed" stage="processing" internal_log_rate_limit=true
2024-07-16 13:53:47 2024-07-16T06:53:47.758234Z INFO source{component_kind="source" component_id=docker_host component_type=docker_logs component_name=docker_host}: vector::internal_events::docker_logs: Started watching for container logs. container_id=b17fd707041de64fe7467c5e9503ca6e447ca05d4c5d551ab83ee1e15039b147
I will try to reproduce with a fresh install and get back to you
I tried following the instructions for local development, but something isn't working. After running
npm run db:start
, when I runnpx supabase status
it just returns:I tried creating a new Supabase project online and setting
SUPABASE_URL
,SUPABASE_ANON_KEY
, andSUPABASE_SERVICE_ROLE_KEY
from that. And I tried running thenpx supabase link
command.I wasn't able to get the local Supabase dashboard running. http://localhost:54323/ doesn't have anything running on it.
And after running
npx run dev
, and opening the app, I getJWSError JWSInvalidSignature
.So I think there are some steps missing for getting the dev environment set up.