cli icon indicating copy to clipboard operation
cli copied to clipboard

Supabase CLI failing to start local env on MacOS 15.0.1

Open HamadiSan opened this issue 8 months ago • 0 comments

Describe the bug Unable to start the local environment on MacOS M3 Chip. When running supabase start i get the following error:

supabase start --create-ticket WARNING: analytics requires mounting default docker socket: /var/run/docker.sock supabase_rest_attendance-tracker container logs: postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short postgrest: error while loading shared libraries: /lib/aarch64-linux-gnu/libz.so.1: file too short Stopping containers...

To Reproduce Steps to reproduce the behavior:

  1. Create a new project using the supabase init command
  2. Start the local env using supabase start

Expected behavior The local supabase env to startup successfully.

Screenshots If applicable, add screenshots to help explain your problem.

System information Rerun the failing command with --create-ticket flag.

  • Ticket ID: af3978511d584f1baf05ff815d2ed9a3

  • Version of OS: MacOS 15.0.1

  • Arch: arm64

  • CPU: Apple M3

  • Version of CLI: 2.24.3

  • Version of Docker: 27.5.1

  • Versions of services:

    SERVICE IMAGE | LOCAL | LINKED ------------------------|------------------------|-------- supabase/postgres | 15.8.1.085 | -
    supabase/gotrue | v2.174.0 | -
    postgrest/postgrest | v12.2.12 | -
    supabase/realtime | v2.36.7 | -
    supabase/storage-api | v1.23.0 | -
    supabase/edge-runtime | v1.67.4 | -
    supabase/studio | 2025.06.02-sha-8f2993d | -
    supabase/postgres-meta | v0.89.3 | -
    supabase/logflare | 1.12.0 | -
    supabase/supavisor | 2.5.1 | -

Additional context I have also tried to manually delete and pull the postgrest image, but i still got the same issue.

HamadiSan avatar Jun 11 '25 02:06 HamadiSan