Closed tyou0 closed 5 months ago
Hey @tyou0, thanks for opening!
Could you please stop and remove the running containers from your machine and ensure there are no cached volumes?
If you have no critical data, you can clear the volumes (and stopped containers) with docker system prune --volumes -a
Please also ensure the pulled images match the versions in the docker-compose file.
Are you also able to run the image on its own?
This was my first time installing it, but I will give it a try again.
Somehow, now I can't get it working with gRPC fuse without the virtualization framework. So now I am using the default setting VirtioFS with the virtualization framework enabled Docker version
That being said, I am still getting the same results.
BTW what do you mean by "Are you also able to run the image on its own?" Do you mean instead of using docker compose use one individual item at a time?
Thanks for trying it again and for the additional debug info.
I am testing with Orbstack and podman (due to Docker's licensing) I am afraid so any "docker" specific issues I will be unable to help with.
BTW what do you mean by "Are you also able to run the image on its own?" I meant: are you able to pull the
meta
image on its own and run it?
Also, as you cannot access the studio via localhost, are you able to access it using the local
or network
URLs printed?
Confirmed. I'm facing the exact same problem.
It's a fresh install, and here's what I'm getting when I run supabase start
...
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
service not healthy: [supabase_pg_meta_<project name> supabase_studio_<project name>]
I'm using Mac OS Sonoma 14.1
Did podman works then i can use podman if that resolves this problem.
Also, as you cannot access the studio via localhost, are you able to access it using the local or network URLs printed?
I am just using localhost or 127.0.0.1 since ports are forwarded on the docker compose.
Podman works for me so please try that but it seems like a bug in general if multiple people are experiencing this; let me see if someone can reproduce using docker and report back
@encima Do you have any progress? Is there anything i can help? if there is a way to setup a dev env I can try to troubleshoot this.
@tyou0 I cannot reproduce using Docker on OSX or Podman on Ubuntu.
Does it only happen in the repo? What is you install the latest CLI and run "supabase start"?
I didn't use the CLI; I simply followed the instructions on the website.
@tyou0 can you try creating a new folder and using the supabase cli, running supabase start
and ensuring that works? The stack itself is similar enough so let us know if that starts up ok!
Yes with the cli it works but it is using older version also it works on the ubuntu
actually I was wrong even on ubuntu I am getting
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
realtime-dev.supabase-realtime supabase/realtime:v2.25.50 "/usr/bin/tini -s -g…" realtime 8 minutes ago Up 8 minutes (healthy)
supabase-analytics supabase/logflare:1.4.0 "sh run.sh" analytics 8 minutes ago Up 8 minutes (healthy) 0.0.0.0:4000->4000/tcp, :::4000->4000/tcp
supabase-auth supabase/gotrue:v2.132.3 "auth" auth 8 minutes ago Up 8 minutes (healthy)
supabase-db supabase/postgres:15.1.0.147 "docker-entrypoint.s…" db 8 minutes ago Up 8 minutes (healthy) 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp
supabase-edge-functions supabase/edge-runtime:v1.29.1 "edge-runtime start …" functions 8 minutes ago Up 8 minutes
supabase-imgproxy darthsim/imgproxy:v3.8.0 "imgproxy" imgproxy 8 minutes ago Up 8 minutes (healthy) 8080/tcp
supabase-kong kong:2.8.1 "bash -c 'eval \"echo…" kong 8 minutes ago Up 8 minutes (healthy) 8001/tcp, 8444/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp, 0.0.0.0:8888->8000/tcp, :::8888->8000/tcp
supabase-meta supabase/postgres-meta:v0.75.0 "docker-entrypoint.s…" meta 8 minutes ago Up 8 minutes (healthy) 8080/tcp
supabase-rest postgrest/postgrest:v12.0.1 "postgrest" rest 8 minutes ago Up 8 minutes 3000/tcp
supabase-storage supabase/storage-api:v0.43.11 "docker-entrypoint.s…" storage 8 minutes ago Up 8 minutes (healthy) 5000/tcp
supabase-studio supabase/studio:20240101-8e4a094 "docker-entrypoint.s…" studio 8 minutes ago Up 8 minutes (unhealthy) 3000/tcp
supabase-vector timberio/vector:0.28.1-alpine "/usr/local/bin/vect…" vector 8 minutes ago Up 8 minutes (healthy)
supabase-studio supabase/studio:20240101-8e4a094 "docker-entrypoint.s…" studio 8 minutes ago Up 8 minutes (unhealthy)
Also when I do able to see the UI and create a schema I get an error
Failed to create schema: Connection string is required
similar to add an user
Failed to create user: An error has occurred: Failed to fetch
I am running this under proxmox ubuntu VM with sse4_2 enabled.
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: GenuineIntel
Model name: Intel Core Processor (Skylake)
CPU family: 6
Model: 94
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 1
Stepping: 3
BogoMIPS: 8015.96
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat ps
e36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc r
ep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 fma
cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes x
save avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_faul
t invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid r
tm rdseed adx smap xsaveopt xsavec xgetbv1 arat
Virtualization features:
Hypervisor vendor: KVM
Virtualization type: full
Caches (sum of all):
L1d: 256 KiB (8 instances)
L1i: 256 KiB (8 instances)
L2: 32 MiB (8 instances)
L3: 16 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-7
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: KVM: Mitigation: VMX unsupported
L1tf: Mitigation; PTE Inversion
Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host stat
e unknown
Meltdown: Mitigation; PTI
Mmio stale data: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host stat
e unknown
Retbleed: Vulnerable
Spec rstack overflow: Not affected
Spec store bypass: Vulnerable
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not
affected
Srbds: Unknown: Dependent on hypervisor status
Tsx async abort: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host stat
e unknown
incase you need this info
Facing the same issue:
supabase start
doesn't work, because health checks failing: Segmentation Fault
:
DEBUG Snapshot already up to date. Skipping pending resolution.
DEBUG Opening cache /root/.cache/deno/dep_analysis_cache_v1...
DEBUG Opening cache /root/.cache/deno/node_analysis_cache_v1...
DEBUG Opening cache /root/.cache/deno/dep_analysis_cache_v1...
DEBUG Opening cache /root/.cache/deno/node_analysis_cache_v1...
DEBUG Opening cache /root/.cache/deno/node_analysis_cache_v1...
Segmentation fault
2024/02/19 09:16:11 Sent Header: Host [api.moby.localhost]
2024/02/19 09:16:11 Sent Header: User-Agent [Docker-Client/unknown-version (darwin)]
2024/02/19 09:16:11 Send Done
2024/02/19 09:16:11 Recv First Byte
supabase_pg_meta_my-app container logs:
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
(node:19) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
Segmentation fault
> @supabase/postgres-meta@0.0.0-automated start
> node dist/server/server.js
Segmentation fault
2024/02/19 09:16:11 Sent Header: Host [api.moby.localhost]
2024/02/19 09:16:11 Sent Header: User-Agent [Docker-Client/unknown-version (darwin)]
2024/02/19 09:16:11 Send Done
2024/02/19 09:16:11 Recv First Byte
supabase_studio_my-app container logs:
▲ Next.js 13.5.6
- Local: http://localhost:3000
- Network: http://0.0.0.0:3000
✓ Ready in 893ms
▲ Next.js 13.5.6
- Local: http://localhost:3000
- Network: http://0.0.0.0:3000
✓ Ready in 742ms
▲ Next.js 13.5.6
- Local: http://localhost:3000
- Network: http://0.0.0.0:3000
✓ Ready in 623ms
▲ Next.js 13.5.6
- Local: http://localhost:3000
- Network: http://0.0.0.0:3000
✓ Ready in 415ms
▲ Next.js 13.5.6
- Local: http://localhost:3000
- Network: http://0.0.0.0:3000
✓ Ready in 1124ms
Pruned containers: [7a0e2a195d419046cd35f942a37cb5c2ff05a95a77e58594c5f8b3bc16f6f33d e4ac2c257d0855ba91b598054aa3bb80ac86383b77f80f90607b1572f92b5ac2 d764e3111d7ca516f9649a96be7e38fd1dc8396b33cfbfd0f38098aeadc7f2bb 281904c9b04dffceea077754363d98c0c243f49bb72cf77d7d95debb709dc7d1 bff72ddd88ce1643b25c211feb57bbdda873b0ad5d44153e89ac914f872e20fe 62faa611466e8f780fd4940bc29433e60fd93f0e65d99db9004fc9a99157156c 05184d423b7ab2a9ba7df8e3aae97bd40151917eb8be39c133fcb0ef05791a1b 8a88b7839c4ae914a78852aa99193ab7adf8cf2f209bea33275d43a0769f24e7 fb173c2c0f09f1ed1696e6e4bb38902bd755d0b2c71a2a235d0a18c8cbcb826f]
Pruned network: [supabase_network_my-app]
I used the Instructions here: https://supabase.com/docs/guides/cli/getting-started
My version of supbase is: 1.142.2
My System is:
MacBook Pro
macOS Sonoma (Version 14.3.1 (23D60))
2,3 GHz Quad-Core Intel Core i7
16 GB 3733 MHz LPDDR4X
This is also happening for me on Mac OS Ventura 13.0 (intel) with Supabase client 1.142.2.
My Docker.raw file is on an external SSD drive connected via USB: I am not sure if that should make a difference.
Has anyone managed to resolve this?
This is also happening for me on Mac OS Ventura 13.0 (intel) with Supabase client 1.142.2.
My Docker.raw file is on an external SSD drive connected via USB: I am not sure if that should make a difference.
Has anyone managed to resolve this?
No absolute paths are used so the location of the file is not an issue. The Intel chip may be though,try using dockerx to cross compile
thanks @encima Got it working by turning off the virtualization framework.
Hey everyone! I got similar problem while trying to run on my local Macbook (Air/M2), I cannot turn off virtualization framework due to M2. I'm writing down my system and docker info below, plus steps that I follow.
Edit: I don't if it will be helfull but I clone the repo into my external SSD.
Software:
System Software Overview:
System Version: macOS 14.4.1 (23E224)
Kernel Version: Darwin 23.4.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Hardware:
Hardware Overview:
Model Name: MacBook Air
Model Identifier: Mac14,2
Chip: Apple M2
Memory: 16 GB
Client:
Version: 26.0.0
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.13.1-desktop.1
compose: Docker Compose (Docker Inc.)
Version: v2.26.1-desktop.1
debug: Get a shell into any image or container. (Docker Inc.)
Version: 0.0.27
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.23
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.4
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.1.0
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
scout: Docker Scout (Docker Inc.)
Version: v1.6.3
# Get the code
git clone --depth 1 https://github.com/supabase/supabase
# Go to the docker folder
cd supabase/docker
# Copy the fake env vars
cp .env.example .env
# Pull the latest images
docker compose pull
docker compose up -d
WARN[0000] /Users/copland/copland/projects/supabase/docker/docker-compose.yml: `version` is obsolete
[+] Running 14/14
✔ Network supabase_default Created 0.0s
✔ Volume "supabase_db-config" Created 0.0s
✔ Container supabase-imgproxy Started 0.0s
✔ Container supabase-vector Healthy 0.0s
✔ Container supabase-db Healthy 0.0s
✘ Container supabase-analytics Error 0.0s
✔ Container realtime-dev.supabase-realtime Created 0.0s
✔ Container supabase-kong Created 0.0s
✔ Container supabase-meta Created 0.0s
✔ Container supabase-rest Created 0.0s
✔ Container supabase-edge-functions Created 0.0s
✔ Container supabase-auth Created 0.0s
✔ Container supabase-studio Created 0.0s
✔ Container supabase-storage Created 0.0s
dependency failed to start: container supabase-analytics is unhealthy
docker compose logs | grep 'supabase-analytics'
WARN[0000] /Users/copland/copland/projects/supabase/docker/docker-compose.yml: `version` is obsolete
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:39:38.898 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:39:41.110 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:39:41.183 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:39:41.279 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:39:41.280 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:39:41.295 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:39:41.306 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:39:41.317 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:39:41.326 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 59, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:39:41.329 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:39:41.333 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:39:41.355 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 62,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 62,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Qu
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:39:43.790 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:39:45.958 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:39:46.023 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:39:46.127 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:39:46.127 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:39:46.185 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:39:46.190 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 75, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:39:46.190 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:39:46.191 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:39:46.194 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:39:46.204 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:39:46.227 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 81,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 81,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Qu
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:39:48.773 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:39:50.933 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:39:51.000 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:39:51.096 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:39:51.096 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:39:51.121 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:39:51.149 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:39:51.162 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:39:51.166 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 102, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:39:51.169 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:39:51.178 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:39:51.198 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 97,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 97,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Qu
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:39:54.046 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:39:56.216 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:39:56.289 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:39:56.382 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:39:56.382 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:39:56.401 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:39:56.407 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:39:56.444 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:39:56.455 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 117, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:39:56.455 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:39:56.460 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:39:56.484 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 118,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 118,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Q
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:39:59.715 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:40:01.848 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:40:01.919 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:40:02.026 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:40:02.026 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:40:02.045 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:40:02.060 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:40:02.065 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:40:02.069 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 137, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:40:02.071 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:40:02.080 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:40:02.101 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 143,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 143,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Q
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:40:06.090 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:40:08.252 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:40:08.319 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:40:08.414 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:40:08.414 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:40:08.456 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:40:08.465 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:40:08.468 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:40:08.471 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 160, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:40:08.471 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:40:08.485 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:40:08.501 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 161,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 161,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Q
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:40:14.146 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:40:16.336 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:40:16.407 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:40:16.501 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:40:16.501 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:40:16.516 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:40:16.518 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:40:16.523 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:40:16.553 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 191, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:40:16.555 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:40:16.560 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:40:16.583 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 191,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 191,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Q
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:40:25.378 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:40:27.551 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:40:27.619 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:40:27.720 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:40:27.720 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:40:27.735 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:40:27.737 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:40:27.739 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:40:27.767 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 220, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:40:27.770 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:40:27.775 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:40:27.801 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 221,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 221,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Q
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
supabase-analytics | LOGFLARE_NODE_HOST is: 127.0.0.1
supabase-analytics |
supabase-analytics | 16:40:43.019 [info] Starting migration
supabase-analytics | ** (ArgumentError) could not call Module.put_attribute/3 because the module Logflare.Repo.Migrations.AddUsersTable is already compiled
supabase-analytics | (elixir 1.14.4) lib/module.ex:2504: Module.assert_not_readonly!/2
supabase-analytics | (elixir 1.14.4) lib/module.ex:2201: Module.__put_attribute__/5
supabase-analytics | /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20181212220417_create_sources.exs:2: (module)
supabase-analytics | nofile:1: (file)
supabase-analytics |
supabase-analytics | 16:40:45.146 [notice] :alarm_handler: {:set, {:system_memory_high_watermark, []}}
supabase-analytics |
supabase-analytics | 16:40:45.223 [info] Elixir.Logflare.SigtermHandler is being initialized...
supabase-analytics |
supabase-analytics | 16:40:45.355 [info] Table counters started!
supabase-analytics |
supabase-analytics | 16:40:45.356 [info] Rate counter table started!
supabase-analytics |
supabase-analytics | 16:40:45.387 [info] Running LogflareWeb.Endpoint with cowboy 2.10.0 at 0.0.0.0:4000 (http)
supabase-analytics |
supabase-analytics | 16:40:45.400 [info] Going Down - {%Postgrex.Error{message: nil, postgres: %{code: :undefined_table, file: "parse_relation.c", line: "1392", message: "relation \"sources\" does not exist", pg_code: "42P01", position: "480", routine: "parserOpenTable", severity: "ERROR", unknown: "ERROR"}, connection_id: 266, query: "SELECT s0.\"id\", s0.\"name\", s0.\"token\", s0.\"public_token\", s0.\"favorite\", s0.\"bigquery_table_ttl\", s0.\"api_quota\", s0.\"webhook_notification_url\", s0.\"slack_hook_url\", s0.\"bq_table_partition_type\", s0.\"custom_event_message_keys\", s0.\"log_events_updated_at\", s0.\"notifications_every\", s0.\"lock_schema\", s0.\"validate_schema\", s0.\"drop_lql_filters\", s0.\"drop_lql_string\", s0.\"v2_pipeline\", s0.\"suggested_keys\", s0.\"user_id\", s0.\"notifications\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"sources\" AS s0 WHERE (s0.\"log_events_updated_at\" > $1) ORDER BY s0.\"log_events_updated_at\""}, [{Ecto.Adapters.SQL, :raise_sql_call_error, 1, [file: 'lib/ecto/adapters/sql.ex', line: 913, error_info: %{module: Exception}]}, {Ecto.Adapters.SQL, :execute, 6, [file: 'lib/ecto/adapters/sql.ex', line: 828]}, {Ecto.Repo.Queryable, :execute, 4, [file: 'lib/ecto/repo/queryable.ex', line: 229]}, {Ecto.Repo.Queryable, :all, 3, [file: 'lib/ecto/repo/queryable.ex', line: 19]}, {Logflare.Source.Supervisor, :handle_continue, 2, [file: 'lib/logflare/source/supervisor.ex', line: 52]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :loop, 7, [file: 'gen_server.erl', line: 865]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]} - Elixir.Logflare.Source.Supervisor
supabase-analytics |
supabase-analytics | 16:40:45.401 [info] Access LogflareWeb.Endpoint at http://localhost:4000
supabase-analytics |
supabase-analytics | 16:40:45.401 [error] GenServer Logflare.Source.Supervisor terminating
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "sources" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."name", s0."token", s0."public_token", s0."favorite", s0."bigquery_table_ttl", s0."api_quota", s0."webhook_notification_url", s0."slack_hook_url", s0."bq_table_partition_type", s0."custom_event_message_keys", s0."log_events_updated_at", s0."notifications_every", s0."lock_schema", s0."validate_schema", s0."drop_lql_filters", s0."drop_lql_string", s0."v2_pipeline", s0."suggested_keys", s0."user_id", s0."notifications", s0."inserted_at", s0."updated_at" FROM "sources" AS s0 WHERE (s0."log_events_updated_at" > $1) ORDER BY s0."log_events_updated_at"
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (logflare 1.4.0) lib/logflare/source/supervisor.ex:52: Logflare.Source.Supervisor.handle_continue/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:1123: :gen_server.try_dispatch/4
supabase-analytics | (stdlib 4.3.1) gen_server.erl:865: :gen_server.loop/7
supabase-analytics | (stdlib 4.3.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
supabase-analytics | Last message: {:continue, :boot}
supabase-analytics |
supabase-analytics | 16:40:45.406 [info] Running LogflareGrpc.Endpoint with Cowboy using http://0.0.0.0:50051
supabase-analytics |
supabase-analytics | 16:40:45.417 [notice] Application logflare exited: Logflare.Application.start(:normal, []) returned an error: shutdown: failed to start child: Logflare.SystemMetricsSup
supabase-analytics | ** (EXIT) shutdown: failed to start child: Logflare.SystemMetrics.AllLogsLogged
supabase-analytics | ** (EXIT) an exception was raised:
supabase-analytics | ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "system_metrics" does not exist
supabase-analytics |
supabase-analytics | query: SELECT s0."id", s0."all_logs_logged", s0."node", s0."inserted_at", s0."updated_at" FROM "system_metrics" AS s0 WHERE (s0."node" = $1)
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
supabase-analytics | (ecto_sql 3.10.1) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
supabase-analytics | (ecto 3.10.3) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3
supabase-analytics | (logflare 1.4.0) lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex:20: Logflare.SystemMetrics.AllLogsLogged.init/1
supabase-analytics | (stdlib 4.3.1) gen_server.erl:851: :gen_server.init_it/2
supabase-analytics | (stdlib 4.3.1) gen_server.erl:814: :gen_server.init_it/6
supabase-analytics |
supabase-analytics | 16:40:45.440 [notice] :alarm_handler: {:clear, :system_memory_high_watermark}
supabase-analytics | {"Kernel pid terminated",application_controller,"{application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 263,message => nil,postgres => #{code => undefined_table,file => <<\"parse_relation.c\">>,line => <<\"1392\">>,message => <<\"relation \\"system_metrics\\" does not exist\">>,pg_code => <<\"42P01\">>,position => <<\"89\">>,routine => <<\"parserOpenTable\">>,severity => <<\"ERROR\">>,unknown => <<\"ERROR\">>},query => <<\"SELECT s0.\\"id\\", s0.\\"all_logs_logged\\", s0.\\"node\\", s0.\\"inserted_at\\", s0.\\"updated_at\\" FROM \\"system_metrics\\" AS s0 WHERE (s0.\\"node\\" = $1)\">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,\"lib/ecto/adapters/sql.ex\"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,\"lib/ecto/adapters/sql.ex\"},{line,828}]},{'Elixir.Ecto.Repo.Queryable',execute,4,[{file,\"lib/ecto/repo/queryable.ex\"},{line,229}]},{'Elixir.Ecto.Repo.Queryable',all,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,19}]},{'Elixir.Ecto.Repo.Queryable',one,3,[{file,\"lib/ecto/repo/queryable.ex\"},{line,151}]},{'Elixir.Logflare.SystemMetrics.AllLogsLogged',init,1,[{file,\"lib/logflare/system_metrics/all_logs_logged/all_logs_logged.ex\"},{line,20}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,851}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,814}]}]}}}}},{'Elixir.Logflare.Application',start,[normal,[]]}}}"}
supabase-analytics | Kernel pid terminated (application_controller) ({application_start_failure,logflare,{{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetricsSup',{shutdown,{failed_to_start_child,'Elixir.Logflare.SystemMetrics.AllLogsLogged',{#{'__exception__' => true,'__struct__' => 'Elixir.Postgrex.Error',connection_id => 263,message => nil,postgres => #{code => undefined_table,file => <<"parse_relation.c">>,line => <<"1392">>,message => <<"relation \"system_metrics\" does not exist">>,pg_code => <<"42P01">>,position => <<"89">>,routine => <<"parserOpenTable">>,severity => <<"ERROR">>,unknown => <<"ERROR">>},query => <<"SELECT s0.\"id\", s0.\"all_logs_logged\", s0.\"node\", s0.\"inserted_at\", s0.\"updated_at\" FROM \"system_metrics\" AS s0 WHERE (s0.\"node\" = $1)">>},[{'Elixir.Ecto.Adapters.SQL',raise_sql_call_error,1,[{file,"lib/ecto/adapters/sql.ex"},{line,913},{error_info,#{module => 'Elixir.Exception'}}]},{'Elixir.Ecto.Adapters.SQL',execute,6,[{file,"lib/ecto/adapters/sql.ex"},{line,828}]},{'Elixir.Ecto.Repo.Q
supabase-analytics |
supabase-analytics | Crash dump is being written to: erl_crash.dump...done
Bug report
When I run the docker compose up -d docker will initialize all the images but it will fail to run.
specially meta and studio.
then on the browser I will get
meta docker log
studio docker log
Describe the bug
Won't run with initial setup
To Reproduce
Expected behavior
Able to see the landing page with localhost:8000
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
I am using docker desktop version 4.26.1 (131620) Using virtualization framework with gRPC FUSE(got this from one of git issue tread)