cli icon indicating copy to clipboard operation
cli copied to clipboard

Can't start local environment: exec /usr/bin/postgrest: exec format error

Open lionelrudaz opened this issue 8 months ago • 4 comments

Describe the bug I've created a new Supabase project yesterday. Since then, despite all my attempts, I've never been able to run the local environment.

I first encountered issues with the images downloaded for the version 17.4.1.043, which is unhealthy.

Following the advices here: https://github.com/supabase/cli/issues/3632#issuecomment-2972060217, I've tried to work with 17.4.1.038. (and other versions, they all fail with the same issue)

To Reproduce Steps to reproduce the behavior:

  1. supabase link
  2. Change /supabase/.temp/postgres-version to 17.4.1.038
  3. supabase stop --no-backup
  4. supabase start --debug Here's the full log:
lionel@MacBook-Air-de-Lionel mobile % supabase start --debug
Supabase CLI 2.24.3
2025/06/14 08:49:46 HTTP GET: https://api.supabase.com/v1/projects/gssckammgfvciduxezxb/api-keys
2025/06/14 08:49:46 HTTP GET: https://api.supabase.com/v1/projects
2025/06/14 08:49:46 HTTP GET: https://gssckammgfvciduxezxb.supabase.co/auth/v1/health
2025/06/14 08:49:46 HTTP GET: https://gssckammgfvciduxezxb.supabase.co/rest/v1/
WARNING: You are running different service versions locally than your linked project:
supabase/postgres:17.4.1.038 => 17.4.1.043
Run supabase link to update them.
17.4.1.038: Pulling from supabase/postgres
d7b2da2b90b7: Pulling fs layer
3c683c049295: Pulling fs layer
2b915892f9b7: Pulling fs layer
8343180620c5: Pulling fs layer
f1bda21569c3: Pulling fs layer
c7d2a2a0a3ae: Pulling fs layer
7308ee03c54e: Pulling fs layer
d9c6e95ca508: Pulling fs layer
c1d7af138150: Pulling fs layer
f4b74ec66d37: Pulling fs layer
8c769bf04ec9: Pulling fs layer
4f4fb700ef54: Pulling fs layer
466636cda092: Pulling fs layer
7e6ea8756824: Pulling fs layer
fdb0d649ac8f: Pulling fs layer
ef62e2eef7bf: Pulling fs layer
c55dab4d09c5: Pulling fs layer
e8679d2d3f2f: Pulling fs layer
0455e08ba650: Pulling fs layer
4f4fb700ef54: Pulling fs layer
dc652b0a91dc: Pulling fs layer
b91c49675a81: Pulling fs layer
2e1249c14490: Pulling fs layer
8bf080fba060: Pulling fs layer
8343180620c5: Pull complete
7dc9a9ed706a: Pull complete
a115a0b45932: Pull complete
419f96ce4615: Pull complete
bbb4e4967c41: Pull complete
989b4d562cda: Pull complete
c21a23552f6e: Pull complete
8b903388744c: Pull complete
0bd23db242d3: Pull complete
a9156b6bf354: Pull complete
588683f1ba77: Pull complete
ebcbd63159fe: Pull complete
8acf85b51d4f: Pull complete
908d95ee2fa2: Pull complete
75036bb4ca01: Pull complete
68c413ee9c4e: Pull complete
c666346bb3cb: Pull complete
5f69d0c3f705: Pull complete
95517474a83b: Pull complete
73d30e33eb02: Pull complete
75a87585fe68: Pull complete
a64e8d1d2ff8: Pull complete
b2c6f94349fa: Pull complete
ad5e05c62e3f: Pull complete
Digest: sha256:ecba70edec484695bad9ed42e2687e9a39d7bdbae37ea3edddb753dc3bdc08f7
Status: Downloaded newer image for public.ecr.aws/supabase/postgres:17.4.1.038
2025/06/14 08:51:12 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres"}}
2025/06/14 08:51:12 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]}
2025/06/14 08:51:12 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=569/Bk4ZupRQ4ZS3f9xSyG7L"}
2025/06/14 08:51:12 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=569/Bk4ZupRQ4ZS3f9xSyG7Li/RXcdOTDBFnmguaLBEnSAjs,s=U/hKZqUu+1N4Aq1qeDqygw==,i=4096"}
2025/06/14 08:51:12 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=569/Bk4ZupRQ4ZS3f9xSyG7Li/RXcdOTDBFnmguaLBEnSAjs,p=rYoDjjbHLHLhobmxabxBEidCUiryvEJg/+t6sReGVuY="}
2025/06/14 08:51:12 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"v=Wc6ZAGq1DNewtyozd49ilmVrYhPYRZqVk+3WDRFnrMw="}
2025/06/14 08:51:12 PG Recv: {"Type":"AuthenticationOK"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"in_hot_standby","Value":"off"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"integer_datetimes","Value":"on"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"TimeZone","Value":"UTC"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"IntervalStyle","Value":"postgres"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"is_superuser","Value":"off"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"application_name","Value":""}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"default_transaction_read_only","Value":"off"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"scram_iterations","Value":"4096"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"DateStyle","Value":"ISO, MDY"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"standard_conforming_strings","Value":"on"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"session_authorization","Value":"postgres"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"client_encoding","Value":"UTF8"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"server_version","Value":"17.4"}
2025/06/14 08:51:12 PG Recv: {"Type":"ParameterStatus","Name":"server_encoding","Value":"UTF8"}
2025/06/14 08:51:12 PG Recv: {"Type":"BackendKeyData","ProcessID":204,"SecretKey":2906046565}
2025/06/14 08:51:12 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
v2.36.7: Pulling from supabase/realtime
f7d44ebaf81c: Pull complete
b9ffe20784da: Pull complete
6d29a096dd42: Pull complete
85b4676f4ce7: Pull complete
4369f95717ae: Pull complete
d84ac33f2c8c: Pull complete
5945c79d6f76: Pull complete
4040bcf04e5b: Pull complete
Digest: sha256:8c90870adf863f226f50fc57a6e64ea9d073dbe19afe899b0b3c2999895e02e3
Status: Downloaded newer image for public.ecr.aws/supabase/realtime:v2.36.7
+ ulimit -ning schema...
+ '[' '!' -z '' ']'
+ export ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ '[' false = true ']'
+ echo 'Running migrations'
+ sudo -E -u nobody /app/bin/migrate
+ '[' true = true ']'...
+ echo 'Seeding selfhosted Realtime'
+ sudo -E -u nobody /app/bin/realtime eval 'Realtime.Release.seeds(Realtime.Repo)'
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
+ echo 'Starting Realtime'
+ ulimit -n
+ exec /app/bin/realtime eval '{:ok, _} = Application.ensure_all_started(:realtime)
{:ok, _} = Realtime.Tenants.health_check("realtime-dev")'
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
v1.23.0: Pulling from supabase/storage-api
c42e0ec15513: Pull complete
9db6a8dc3682: Pull complete
c719a81ee9cb: Pull complete
6e771e15690e: Pull complete
24fa2d11b3d5: Pull complete
c43c7c703fd5: Pull complete
360040fe0b50: Pull complete
467245f22bbb: Pull complete
91790af40a51: Pull complete
a8178abaf56a: Pull complete
Digest: sha256:71d566d9d5b9ba3e9e75c631c988ba9bfca631dde8a657894ddae42ac7a8122e
Status: Downloaded newer image for public.ecr.aws/supabase/storage-api:v1.23.0
v2.176.1: Pulling from supabase/gotrue
b3ab98f6489c: Pull complete
4c366c0ef998: Pull complete
96d07657508f: Pull complete
5470710cf1e8: Pull complete
d69d4d41cfe2: Pull complete
7075c9fc76e8: Pull complete
Digest: sha256:b8590355813890308ca43cbd4716bd936933720a3905724c4c63bb4b63854095
Status: Downloaded newer image for public.ecr.aws/supabase/gotrue:v2.176.1
Seeding globals from roles.sql...
WARN: no files matched pattern: supabase/seed.sql
2025/06/14 08:51:50 PG Send: {"Type":"Terminate"}
1.12.0: Pulling from supabase/logflare
4108f4a8b425: Pull complete
b3c56a24ca32: Pull complete
06306c23c651: Pull complete
879729c41b8b: Pull complete
17be6016990a: Pull complete
a90e9d7bf2da: Pull complete
264b65632647: Pull complete
8b3bbbebb971: Pull complete
ff813a5d27f6: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:84d0cda731e1fe43c24531003660c7f5e82c460b80b48493041701381ec0eeee
Status: Downloaded newer image for public.ecr.aws/supabase/logflare:1.12.0
WARNING: analytics requires mounting default docker socket: /var/run/docker.sock
0.28.1-alpine: Pulling from supabase/vector
4f4fb700ef54: Pull complete
5b4d8c7e225f: Pull complete
441655651244: Pull complete
6bb05e259e43: Pull complete
6f0e733d82e2: Pull complete
885405f2b3ce: Pull complete
Digest: sha256:4bc04aca94a44f04b427a490f346e7397ef7ce61fe589d718f744f7d92cb5c80
Status: Downloaded newer image for public.ecr.aws/supabase/vector:0.28.1-alpine
2.8.1: Pulling from supabase/kong
d8380bfcbd9b: Pull complete
7fd91e922960: Pull complete
9b18e9b68314: Pull complete
450997ae687c: Pull complete
Digest: sha256:1b53405d8680a09d6f44494b7990bf7da2ea43f84a258c59717d4539abf09f6d
Status: Downloaded newer image for public.ecr.aws/supabase/kong:2.8.1
v1.22.3: Pulling from supabase/mailpit
4ec5de7477d8: Pull complete
e697e66ccba0: Pull complete
Digest: sha256:f7f7c31de4de59540ad6515a0ca057a77525bca2069b6e747d873ca66c10fe08
Status: Downloaded newer image for public.ecr.aws/supabase/mailpit:v1.22.3
v12.2.3: Pulling from supabase/postgrest
Digest: sha256:729bf65c733b73f5b52777f0e4b853f22ed73aa67a22d38269d289779b0a8401
Status: Downloaded newer image for public.ecr.aws/supabase/postgrest:v12.2.3
v1.67.4: Pulling from supabase/edge-runtime
d9b636547744: Pull complete
17c847e14013: Pull complete
3eb42ea7b89e: Pull complete
390c6c02e77a: Pull complete
4f3bc34325ec: Pull complete
11ad58c2d59f: Pull complete
Digest: sha256:358930e39ff36e0130c3afe3808a5c8f8322f7ff9c42624406dacce859ed0e24
Status: Downloaded newer image for public.ecr.aws/supabase/edge-runtime:v1.67.4
v0.89.3: Pulling from supabase/postgres-meta
4263bcb94304: Pull complete
b95017258750: Pull complete
d6ffc30b3e7f: Pull complete
67a7fd61ced4: Pull complete
d18903236a1c: Pull complete
1edd80719c8d: Pull complete
96432eac497b: Pull complete
094b3aeac49d: Pull complete
1caf008c79f3: Pull complete
b16f1b166780: Pull complete
Digest: sha256:8af5e9c9c336cb713c8fa32532b1d0767e151f6389ef5798fdebbce767e7f0fc
Status: Downloaded newer image for public.ecr.aws/supabase/postgres-meta:v0.89.3
2025.06.02-sha-8f2993d: Pulling from supabase/studio
19952fd4ea22: Pull complete
9628e3d74b64: Pull complete
b6e9fef719bb: Pull complete
5b13295c4982: Pull complete
30c2b1117967: Pull complete
487971f06fdc: Pull complete
Digest: sha256:8ace6e32e26d30a352b55170ff9953b554baa831d7ab61cd0520316793cb3de1
Status: Downloaded newer image for public.ecr.aws/supabase/studio:2025.06.02-sha-8f2993d
2025/06/14 08:53:42 HTTP GET: http://127.0.0.1:54321/storage/v1/bucket
2025/06/14 08:53:42 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:42 HTTP HEAD: http://127.0.0.1:54321/functions/v1/_internal/health
2025/06/14 08:53:43 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:44 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:45 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:46 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:47 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:48 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:49 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:50 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:51 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:52 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:53 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:54 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:55 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:56 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:57 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:58 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:53:59 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:00 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:01 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:02 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:03 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:04 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:05 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:06 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:07 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:08 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:09 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:10 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:11 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
2025/06/14 08:54:12 HTTP HEAD: http://127.0.0.1:54321/rest-admin/v1/ready
supabase_rest_mobile container logs:
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
Stopping containers...
Pruned containers: [0e50c5695604c7cd0190a2b537ce0487fe79fa263e52edd6164aa46884debda0 e6464feb2e24d3388e20bd37f9dff911058007b34a7d97ed875a3668567c25c7 8019c77168753c24d2dd1e09bfdebe6bf9d1f8e8befc3b329c3b662301f5ed7d 68d0ae9078e26029275b701f7311eb72b5b491a9cad24d3ccad7cd7199a56ede 479ff4852c95fb3749a4edbb73cabc7f35891322ec20d3bccc1c36c814b3802d a528e0025791d69711b774e48459f66b60ad30c6f4c86d1efa705127d551ca7d 6dfeec5b07567dca6745daf40aad40d21f6acc27dd01888d6bbdf8260b0eea25 3931487b11f0fcdfb62640e8c88e5d526d5112a708447c51819f5f55fc56e3f6 66673c631a5fe57b06a0016eef6ca039fe7e0c35c04d441d7397115600993619 0eb4677fde3eba2da69d0fd0d7d033ee2221295be960ce951cec50ba34abf0e9 1b6678042fa33812e159abf8d6b5f3204c8fe862b36382b4d17490c72c5e0916]
Pruned volumes: [supabase_db_mobile supabase_config_mobile supabase_storage_mobile]
Pruned network: [supabase_network_mobile]
Error status 503:

I've also tried this:

  1. rm -rf supabase/.temp
  2. supabase stop --no-backup
  3. supabase start --debug

In this case, the Studio loads and everything goes fine, but my local environment is not linked 😅

It downloads the v15 of Postgres in this case.

I've also noticed that config.toml is not created anymore, despite having the following logs when running supabase link

lionel@MacBook-Air-de-Lionel mobile % supabase link --create-ticket
Selected project: gssckammgfvciduxezxb
Enter your database password (or leave blank to skip):
Connecting to remote database...
NOTICE (42P06): schema "supabase_migrations" already exists, skipping
NOTICE (42P07): relation "schema_migrations" already exists, skipping
NOTICE (42701): column "statements" of relation "schema_migrations" already exists, skipping
NOTICE (42701): column "name" of relation "schema_migrations" already exists, skipping
NOTICE (42P06): schema "supabase_migrations" already exists, skipping
NOTICE (42P07): relation "seed_files" already exists, skipping
Finished supabase link.
WARNING: Local config differs from linked project. Try updating supabase/config.toml
diff supabase/config.toml gssckammgfvciduxezxb
--- supabase/config.toml
+++ gssckammgfvciduxezxb
@@ -13,7 +13,7 @@
 [db]
 port = 54322
 shadow_port = 54320
-major_version = 15
+major_version = 17
 root_key = ""
 [db.pooler]
 enabled = false
@@ -53,8 +53,8 @@

 [auth]
 enabled = true
-site_url = "http://127.0.0.1:3000"
-additional_redirect_urls = ["https://127.0.0.1:3000"]
+site_url = "http://localhost:3000"
+additional_redirect_urls = []
 jwt_expiry = 3600
 enable_refresh_token_rotation = true
 refresh_token_reuse_interval = 10
@@ -95,9 +95,9 @@
 [auth.email]
 enable_signup = true
 double_confirm_changes = true
-enable_confirmations = false
+enable_confirmations = true
 secure_password_change = false
-max_frequency = "1s"
+max_frequency = "1m0s"
 otp_length = 6
 otp_expiry = 3600
 [auth.email.template]

Expected behavior A running local environment of Supabase.

System information Crash ID: d611d5556b4c4c04869fc000c84d5b87

Additional context Supabase CLI: 2.24.3

lionelrudaz avatar Jun 14 '25 07:06 lionelrudaz

Why are you running PostgREST 12.2.3? The latest pinned version is 12.2.12

v12.2.3: Pulling from supabase/postgrest
...

Please delete supabase/.temp/rest-version.

sweatybridge avatar Jun 14 '25 08:06 sweatybridge

Why are you running PostgREST 12.2.3? The latest pinned version is 12.2.12

I didn't set it up this way. It's the file that I get when I run supabase link.

In my attempts, I've deleted the .temp folder many times, it always went back to this situation.

It works if I change the version in supabase/.temp/rest-version

lionelrudaz avatar Jun 14 '25 12:06 lionelrudaz

Ah ic, thanks for the context about supabase link.

It turns out the platform is still running PostgREST 12.2.3 and when you run supabase link, that version gets pulled down locally.

I will ping our teams to bump the hosted version since it hasn't been updated for almost a year.

sweatybridge avatar Jun 14 '25 14:06 sweatybridge

Thanks @sweatybridge that's very kind of you.

lionelrudaz avatar Jun 14 '25 21:06 lionelrudaz

I am experiencing the same problem but with postgREST version 12.2.12 and the latest Supabase CLI version. It is just a local project, i have not yet linked it.

Here is my output of supabase start:

➜  supabase git:(Database-rework) ✗ supabase start --debug 
Using workdir.../database
Supabase CLI 2.30.4
17.4.1.048: Pulling from supabase/postgres
ecd83b6c3544: Pull complete 
38ba22f544f7: Pull complete 
4f4fb700ef54: Pull complete 
3c45f0a52596: Pull complete 
bb80abe55de0: Pull complete 
84c3b34c6da4: Pull complete 
c279ecdb2b8f: Pull complete 
d4f70bdf51aa: Pull complete 
2f45f410a340: Pull complete 
98467a164a0a: Pull complete 
7e070c51b4db: Pull complete 
6634e32483c0: Pull complete 
8a4c798237e9: Pull complete 
22268327727a: Pull complete 
afcd2f445eea: Pull complete 
e56ec0850cb5: Pull complete 
eabac56aca4a: Pull complete 
e4f8e3ecf97d: Pull complete 
ef6d054108ce: Pull complete 
cd3ed211492b: Pull complete 
32d3159d2537: Pull complete 
07845a62ec5b: Pull complete 
f3bed86d96b4: Pull complete 
0970cc74c9d3: Pull complete 
f5f238b78563: Pull complete 
bb892dc73688: Pull complete 
e80dedb4c928: Pull complete 
73756ba28895: Pull complete 
53b474fcb2d8: Pull complete 
29621551f5c1: Pull complete 
787b71aaf10a: Pull complete 
f1a000a7acd4: Pull complete 
26cdb77cfa18: Pull complete 
878a8ec29122: Pull complete 
f4c8f3f58a72: Pull complete 
c765c7d97d9a: Pull complete 
a15c1f37f9c1: Pull complete 
6c83464decc1: Pull complete 
669059ea1d76: Pull complete 
96d91996cca6: Pull complete 
3e299f2be25a: Pull complete 
b12d4f802294: Pull complete 
56cbd5e1f8a2: Pull complete 
c60175a1566c: Pull complete 
44efa3c3e263: Pull complete 
9c0b2891ed76: Pull complete 
a0390f37fae6: Pull complete 
745df7993b7d: Pull complete 
65770d82d311: Pull complete 
Digest: sha256:2fd1dab043d70a51022e5c1ccba009865ab8cfa5d30e1ac18d7c447a65121724
Status: Downloaded newer image for public.ecr.aws/supabase/postgres:17.4.1.048
2025/07/03 14:39:02 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres"}}
2025/07/03 14:39:02 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]}
2025/07/03 14:39:02 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=YldxOIofXqDUPEZNET5CN8GS"}
2025/07/03 14:39:02 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=YldxOIofXqDUPEZNET5CN8GSRphymi/RpM0CNEw2qgs+uC3B,s=96Yj8n1qnUI/2wkLSJkUVQ==,i=4096"}
2025/07/03 14:39:02 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=YldxOIofXqDUPEZNET5CN8GSRphymi/RpM0CNEw2qgs+uC3B,p=ydKHPCUAzebC8cVEF98eal4r0lMQE1BnPZqwIsord/4="}
2025/07/03 14:39:02 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"v=Wvrn2qCqkqXf7O+IdOiQe1H2Bff7Gxhv6EYiH+P+HG8="}
2025/07/03 14:39:02 PG Recv: {"Type":"AuthenticationOK"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"in_hot_standby","Value":"off"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"integer_datetimes","Value":"on"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"TimeZone","Value":"UTC"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"IntervalStyle","Value":"postgres"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"is_superuser","Value":"off"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"application_name","Value":""}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"default_transaction_read_only","Value":"off"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"scram_iterations","Value":"4096"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"DateStyle","Value":"ISO, MDY"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"standard_conforming_strings","Value":"on"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"session_authorization","Value":"postgres"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"client_encoding","Value":"UTF8"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"server_version","Value":"17.4"}
2025/07/03 14:39:02 PG Recv: {"Type":"ParameterStatus","Name":"server_encoding","Value":"UTF8"}
2025/07/03 14:39:02 PG Recv: {"Type":"BackendKeyData","ProcessID":209,"SecretKey":3082014682}
2025/07/03 14:39:02 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
v2.38.0: Pulling from supabase/realtime
1471feae874b: Pull complete 
a7a5953e7af5: Pull complete 
312a70b1fda8: Pull complete 
4f1ab9b5c125: Pull complete 
e3d587882d53: Pull complete 
712b54b2d941: Pull complete 
6d29a096dd42: Pull complete 
895e0aca1e80: Pull complete 
Digest: sha256:474fad723f12972f30dab91060f732f44742f58e43eb37016cab7c36c1cf14a3
Status: Downloaded newer image for public.ecr.aws/supabase/realtime:v2.38.0
+ ulimit -ning schema...
+ '[' '!' -z '' ']'
+ export ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ ERL_CRASH_DUMP=/tmp/erl_crash.dump
+ '[' false = true ']'
+ echo 'Running migrations'
+ sudo -E -u nobody /app/bin/migrate
+ '[' true = true ']'...
+ echo 'Seeding selfhosted Realtime'
+ sudo -E -u nobody /app/bin/realtime eval 'Realtime.Release.seeds(Realtime.Repo)'
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed
+ echo 'Starting Realtime'
+ ulimit -n
+ exec /app/bin/realtime eval '{:ok, _} = Application.ensure_all_started(:realtime)
{:ok, _} = Realtime.Tenants.health_check("realtime-dev")'
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
v1.24.7: Pulling from supabase/storage-api
febc2dc7f908: Pull complete 
8eb5f688291f: Pull complete 
bb77b30103fe: Pull complete 
6e771e15690e: Pull complete 
ae3124cb77ae: Pull complete 
360040fe0b50: Pull complete 
2744b8484436: Pull complete 
467245f22bbb: Pull complete 
9db6a8dc3682: Pull complete 
e5570d5c6c4b: Pull complete 
Digest: sha256:1facacb9904119c6c4bca9018f5bf7e5f4c15bd626d9f29aaaa197795f1d6392
Status: Downloaded newer image for public.ecr.aws/supabase/storage-api:v1.24.7
v2.176.1: Pulling from supabase/gotrue
b3ab98f6489c: Pull complete 
4c366c0ef998: Pull complete 
d69d4d41cfe2: Pull complete 
96d07657508f: Pull complete 
5470710cf1e8: Pull complete 
7075c9fc76e8: Pull complete 
Digest: sha256:b8590355813890308ca43cbd4716bd936933720a3905724c4c63bb4b63854095
Status: Downloaded newer image for public.ecr.aws/supabase/gotrue:v2.176.1
Seeding globals from roles.sql...
Skipping migration meta... (file name must match pattern "<timestamp>_name.sql")
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"SET lock_timeout = '4s'","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"CREATE SCHEMA IF NOT EXISTS supabase_migrations","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"CREATE TABLE IF NOT EXISTS supabase_migrations.schema_migrations (version text NOT NULL PRIMARY KEY)","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"ALTER TABLE supabase_migrations.schema_migrations ADD COLUMN IF NOT EXISTS statements text[]","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"ALTER TABLE supabase_migrations.schema_migrations ADD COLUMN IF NOT EXISTS name text","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Sync"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"SET"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE SCHEMA"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
Applying migration 0000_bizarre_black_cat.sql...
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"CREATE TABLE \"users\" (\n\t\"id\" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name \"users_id_seq\" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1),\n\t\"name\" varchar(255) NOT NULL,\n\t\"age\" integer NOT NULL,\n\t\"email\" varchar(255) NOT NULL,\n\tCONSTRAINT \"users_email_unique\" UNIQUE(\"email\")\n)","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"INSERT INTO supabase_migrations.schema_migrations(version, name, statements) VALUES($1, $2, $3)","ParameterOIDs":[25,25,1009]}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":[0,0,1],"Parameters":[{"text":"0000"},{"text":"bizarre_black_cat"},{"binary":"00000001000000000000001900000001000000010000013b435245415445205441424c45202275736572732220280a092269642220696e7465676572205052494d415259204b45592047454e45524154454420414c57415953204153204944454e54495459202873657175656e6365206e616d65202275736572735f69645f7365712220494e4352454d454e542042592031204d494e56414c55452031204d415856414c55452032313437343833363437205354415254205749544820312043414348452031292c0a09226e616d652220766172636861722832353529204e4f54204e554c4c2c0a09226167652220696e7465676572204e4f54204e554c4c2c0a0922656d61696c2220766172636861722832353529204e4f54204e554c4c2c0a09434f4e53545241494e54202275736572735f656d61696c5f756e697175652220554e495155452822656d61696c22290a29"}],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Sync"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"INSERT 0 1"}
2025/07/03 14:39:38 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
Applying migration 0001_sturdy_namorita.sql...
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"ALTER TABLE \"users\" ADD COLUMN \"username\" varchar(255) NOT NULL","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"--\u003e statement-breakpoint\nALTER TABLE \"users\" ADD COLUMN \"favoriteColor\" varchar(255) NOT NULL","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"--\u003e statement-breakpoint\nALTER TABLE \"users\" ADD CONSTRAINT \"users_username_unique\" UNIQUE(\"username\")","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"INSERT INTO supabase_migrations.schema_migrations(version, name, statements) VALUES($1, $2, $3)","ParameterOIDs":[25,25,1009]}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":[0,0,1],"Parameters":[{"text":"0001"},{"text":"sturdy_namorita"},{"binary":"00000001000000000000001900000003000000010000003f414c544552205441424c4520227573657273222041444420434f4c554d4e2022757365726e616d652220766172636861722832353529204e4f54204e554c4c0000005d2d2d3e2073746174656d656e742d627265616b706f696e740a414c544552205441424c4520227573657273222041444420434f4c554d4e20226661766f72697465436f6c6f722220766172636861722832353529204e4f54204e554c4c000000662d2d3e2073746174656d656e742d627265616b706f696e740a414c544552205441424c4520227573657273222041444420434f4e53545241494e54202275736572735f757365726e616d655f756e697175652220554e495155452822757365726e616d652229"}],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Sync"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"INSERT 0 1"}
2025/07/03 14:39:38 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
Applying migration 0002_chilly_firestar.sql...
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"CREATE TABLE \"organization_members\" (\n\t\"id\" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name \"organization_members_id_seq\" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1),\n\t\"organizationId\" integer NOT NULL,\n\t\"userId\" integer NOT NULL,\n\t\"role\" text DEFAULT 'member' NOT NULL\n)","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"--\u003e statement-breakpoint\nCREATE TABLE \"organizations\" (\n\t\"id\" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name \"organizations_id_seq\" INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 START WITH 1 CACHE 1),\n\t\"name\" varchar(255) NOT NULL,\n\t\"description\" varchar(1000)\n)","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"--\u003e statement-breakpoint\nALTER TABLE \"organization_members\" ADD CONSTRAINT \"organization_members_organizationId_organizations_id_fk\" FOREIGN KEY (\"organizationId\") REFERENCES \"public\".\"organizations\"(\"id\") ON DELETE no action ON UPDATE no action","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"--\u003e statement-breakpoint\nALTER TABLE \"organization_members\" ADD CONSTRAINT \"organization_members_userId_users_id_fk\" FOREIGN KEY (\"userId\") REFERENCES \"public\".\"users\"(\"id\") ON DELETE no action ON UPDATE no action","ParameterOIDs":null}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Parse","Name":"","Query":"INSERT INTO supabase_migrations.schema_migrations(version, name, statements) VALUES($1, $2, $3)","ParameterOIDs":[25,25,1009]}
2025/07/03 14:39:38 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":[0,0,1],"Parameters":[{"text":"0002"},{"text":"chilly_firestar"},{"binary":"000000010000000000000019000000040000000100000137435245415445205441424c4520226f7267616e697a6174696f6e5f6d656d626572732220280a092269642220696e7465676572205052494d415259204b45592047454e45524154454420414c57415953204153204944454e54495459202873657175656e6365206e616d6520226f7267616e697a6174696f6e5f6d656d626572735f69645f7365712220494e4352454d454e542042592031204d494e56414c55452031204d415856414c55452032313437343833363437205354415254205749544820312043414348452031292c0a09226f7267616e697a6174696f6e49642220696e7465676572204e4f54204e554c4c2c0a09227573657249642220696e7465676572204e4f54204e554c4c2c0a0922726f6c652220746578742044454641554c5420276d656d62657227204e4f54204e554c4c0a29000001172d2d3e2073746174656d656e742d627265616b706f696e740a435245415445205441424c4520226f7267616e697a6174696f6e732220280a092269642220696e7465676572205052494d415259204b45592047454e45524154454420414c57415953204153204944454e54495459202873657175656e6365206e616d6520226f7267616e697a6174696f6e735f69645f7365712220494e4352454d454e542042592031204d494e56414c55452031204d415856414c55452032313437343833363437205354415254205749544820312043414348452031292c0a09226e616d652220766172636861722832353529204e4f54204e554c4c2c0a09226465736372697074696f6e2220766172636861722831303030290a29000000f52d2d3e2073746174656d656e742d627265616b706f696e740a414c544552205441424c4520226f7267616e697a6174696f6e5f6d656d62657273222041444420434f4e53545241494e5420226f7267616e697a6174696f6e5f6d656d626572735f6f7267616e697a6174696f6e49645f6f7267616e697a6174696f6e735f69645f666b2220464f524549474e204b45592028226f7267616e697a6174696f6e49642229205245464552454e43455320227075626c6963222e226f7267616e697a6174696f6e7322282269642229204f4e2044454c455445206e6f20616374696f6e204f4e20555044415445206e6f20616374696f6e000000d52d2d3e2073746174656d656e742d627265616b706f696e740a414c544552205441424c4520226f7267616e697a6174696f6e5f6d656d62657273222041444420434f4e53545241494e5420226f7267616e697a6174696f6e5f6d656d626572735f7573657249645f75736572735f69645f666b2220464f524549474e204b45592028227573657249642229205245464552454e43455320227075626c6963222e22757365727322282269642229204f4e2044454c455445206e6f20616374696f6e204f4e20555044415445206e6f20616374696f6e"}],"ResultFormatCodes":[]}
2025/07/03 14:39:38 PG Send: {"Type":"Describe","ObjectType":"P","Name":""}
2025/07/03 14:39:38 PG Send: {"Type":"Execute","Portal":"","MaxRows":0}
2025/07/03 14:39:38 PG Send: {"Type":"Sync"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"}
2025/07/03 14:39:38 PG Recv: {"Type":"ParseComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"BindComplete"}
2025/07/03 14:39:38 PG Recv: {"Type":"NoData"}
2025/07/03 14:39:38 PG Recv: {"Type":"CommandComplete","CommandTag":"INSERT 0 1"}
2025/07/03 14:39:38 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
WARN: no files matched pattern: supabase/seed.sql
2025/07/03 14:39:38 PG Send: {"Type":"Terminate"}
1.14.2: Pulling from supabase/logflare
acb788bd2b52: Pull complete 
6da7ae7d6ef3: Pull complete 
70560fae019a: Pull complete 
7befdd820808: Pull complete 
b3c56a24ca32: Pull complete 
9c780468ebb2: Pull complete 
01474ee36f32: Pull complete 
06a7d37f890e: Pull complete 
4f4fb700ef54: Pull complete 
fc517a41922f: Pull complete 
Digest: sha256:4fe22c67b305d8e03110ad77354d688c3183ccf92c8508ffd0f7ab12b75b20f6
Status: Downloaded newer image for public.ecr.aws/supabase/logflare:1.14.2
WARNING: analytics requires mounting default docker socket: /var/run/docker.sock
0.28.1-alpine: Pulling from supabase/vector
4f4fb700ef54: Pull complete 
6f0e733d82e2: Pull complete 
6bb05e259e43: Pull complete 
5b4d8c7e225f: Pull complete 
885405f2b3ce: Pull complete 
441655651244: Pull complete 
Digest: sha256:4bc04aca94a44f04b427a490f346e7397ef7ce61fe589d718f744f7d92cb5c80
Status: Downloaded newer image for public.ecr.aws/supabase/vector:0.28.1-alpine
2.8.1: Pulling from supabase/kong
d8380bfcbd9b: Pull complete 
9b18e9b68314: Pull complete 
7fd91e922960: Pull complete 
450997ae687c: Pull complete 
Digest: sha256:1b53405d8680a09d6f44494b7990bf7da2ea43f84a258c59717d4539abf09f6d
Status: Downloaded newer image for public.ecr.aws/supabase/kong:2.8.1
v1.22.3: Pulling from supabase/mailpit
e697e66ccba0: Pull complete 
4ec5de7477d8: Pull complete 
Digest: sha256:f7f7c31de4de59540ad6515a0ca057a77525bca2069b6e747d873ca66c10fe08
Status: Downloaded newer image for public.ecr.aws/supabase/mailpit:v1.22.3
v12.2.12: Pulling from supabase/postgrest
Digest: sha256:5f4ce744539bbba786b4e24dbbd95bdb2a956dcf568c5374995a0ff4a68f5bd2
Status: Downloaded newer image for public.ecr.aws/supabase/postgrest:v12.2.12
v1.67.4: Pulling from supabase/edge-runtime
390c6c02e77a: Pull complete 
4f3bc34325ec: Pull complete 
d9b636547744: Pull complete 
11ad58c2d59f: Pull complete 
3eb42ea7b89e: Pull complete 
17c847e14013: Pull complete 
Digest: sha256:358930e39ff36e0130c3afe3808a5c8f8322f7ff9c42624406dacce859ed0e24
Status: Downloaded newer image for public.ecr.aws/supabase/edge-runtime:v1.67.4
v0.89.3: Pulling from supabase/postgres-meta
4263bcb94304: Pull complete 
b16f1b166780: Pull complete 
1caf008c79f3: Pull complete 
b95017258750: Pull complete 
1edd80719c8d: Pull complete 
96432eac497b: Pull complete 
d18903236a1c: Pull complete 
67a7fd61ced4: Pull complete 
094b3aeac49d: Pull complete 
d6ffc30b3e7f: Pull complete 
Digest: sha256:8af5e9c9c336cb713c8fa32532b1d0767e151f6389ef5798fdebbce767e7f0fc
Status: Downloaded newer image for public.ecr.aws/supabase/postgres-meta:v0.89.3
2025.06.30-sha-6f5982d: Pulling from supabase/studio
7208e9ea7132: Pull complete 
530ffbdffd14: Pull complete 
8c40f8ebde10: Pull complete 
17b802d77d91: Pull complete 
b6656d461472: Pull complete 
16eda016b235: Pull complete 
928187011ba2: Pull complete 
5bf4ae3cb7b2: Pull complete 
4175d635fdbe: Pull complete 
34ef2a75627f: Pull complete 
b77a0ca239ad: Pull complete 
Digest: sha256:5f97d0ce3919b4d62b05beab5d65061045cd9184d8a7df10ff4b7c39e5e5541d
Status: Downloaded newer image for public.ecr.aws/supabase/studio:2025.06.30-sha-6f5982d
2025/07/03 14:41:33 HTTP GET: http://127.0.0.1:64321/storage/v1/bucket
2025/07/03 14:41:33 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:33 HTTP HEAD: http://127.0.0.1:64321/functions/v1/_internal/health
2025/07/03 14:41:34 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:35 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:36 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:37 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:38 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:39 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:40 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:41 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:42 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:43 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:44 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:45 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:46 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:47 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:48 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:49 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:50 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:51 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:52 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:53 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:54 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:55 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:56 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:57 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:58 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:41:59 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:42:00 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:42:01 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:42:02 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
2025/07/03 14:42:03 HTTP HEAD: http://127.0.0.1:64321/rest-admin/v1/ready
supabase_rest_database container logs:
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
exec /usr/bin/postgrest: exec format error
Stopping containers...
Pruned containers: [a3b5d095a505a2651131cf749ce0e9691b8c1b5b45bc63af7a90bb591d23d0e6 23315c3259b20a0f95b49acea8c634e663a5ca7761fa3b6f87f9fbbbb8984b68 3d1600effcdb2aaab4cbf9f96fbf5906e075f5004d75ceaeea6771ae387ee956 06f74bf25b5be87f572dbc2a67ae580f1ee8e6668aa80e6e719edcc486e7bc8a 6406eb0084366f74d3be96876deb0a62d64952e3ef47ee1d3be89a17e5d07856 35732a58849e5e9aedc6c14d649d9777fb95b635edbde21180af6c9e4b2ef01c fccc503815b08879a18110b649d46b74a9821020b6588fa43e2fcc81721d3feb 1ea3070b312203d6d9053c3bacdf2199104619fedd94bf8a56293c395f4c3037 32144ea5e8137a05bd5c81f4e494b9829a41612c90c1c1ced4cd656e89539a57 5b087d91106fb28c5557684cb9cf83b065610f164a9989e01f779134626d856c a1a5df9f9efb9d9a54228a51549d14da713ee46a0cf632a391464eb5cbe988bd]
Pruned volumes: [supabase_db_database supabase_config_database supabase_storage_database]
Pruned network: [supabase_network_database]
Error status 503: 

BenVae avatar Jul 03 '25 12:07 BenVae

Same issue as @BenVae's.

Azzerty23 avatar Jul 08 '25 17:07 Azzerty23

We have released PostgREST 12.2.12 on platform. You can fix this issue by upgrading your project https://supabase.com/dashboard/project/_/settings/infrastructure and rerun supabase link.

sweatybridge avatar Jul 24 '25 06:07 sweatybridge