cli icon indicating copy to clipboard operation
cli copied to clipboard

Cannot run edge functions locally with podman

Open rienheuver opened this issue 5 months ago • 3 comments

Describe the bug When trying to run supabase functions serve locally while using podman instead of docker, the following error is thrown as soon as an edge function is called:

InvalidWorkerCreation: worker boot error: failed to bootstrap runtime: failed to determine entrypoint

To Reproduce Steps to reproduce the behavior:

  1. Run a supabase project on podman instead of docker
  2. Create an edge function
  3. Run the edge function server (supabase functions serve)
  4. Call the edge funcion

System information Rerun the failing command with --create-ticket flag. I tried this, nothing was output, so I don't have a ticket I think?

  • Ticket ID:

  • Version of OS: Fedora 42

  • Version of CLI: 21.3.11

  • Version of Docker: Podman (!) 5.6.1

  • Versions of services:

    SERVICE IMAGE | LOCAL | LINKED ------------------------|------------------------|-------- supabase/postgres | 15.8.1.085 | -
    supabase/gotrue | v2.179.0 | -
    postgrest/postgrest | v13.0.6 | -
    supabase/realtime | v2.47.0 | -
    supabase/storage-api | v1.26.5 | -
    supabase/edge-runtime | v1.69.8 | -
    supabase/studio | 2025.09.08-sha-67c1421 | -
    supabase/postgres-meta | v0.91.6 | -
    supabase/logflare | 1.18.4 | -
    supabase/supavisor | 2.6.2 | -

rienheuver avatar Sep 22 '25 14:09 rienheuver

Same issue ! i get these errors :

 worker boot error: failed to bootstrap runtime: Failed reading lockfile at '/Users/supabase/functions/deno.lock': Unsupported lockfile version '5'. Try upgrading Deno or recreating the lockfile
2025-11-24T07:03:26.733063210Z worker boot error: failed to bootstrap runtime: Failed reading lockfile at '/Users/supabase/functions/deno.lock': Unsupported lockfile version '5'. Try upgrading Deno or recreating the lockfile
2025-11-24T07:03:26.748730627Z InvalidWorkerCreation: worker boot error: failed to bootstrap runtime: Failed reading lockfile at '/Users/supabase/functions/deno.lock': Unsupported lockfile version '5'. Try upgrading Deno or recreating the lockfile
2025-11-24T07:03:26.748762210Z     at async Function.create (ext:user_workers/user_workers.js:155:29)
2025-11-24T07:03:26.748764002Z     at async Object.handler (file:///var/tmp/sb-compile-edge-runtime/root/index.ts:158:22)
2025-11-24T07:03:26.748765252Z     at async mapped (ext:runtime/http.js:231:18) {
2025-11-24T07:03:26.748766377Z   name: "InvalidWorkerCreation"
2025-11-24T07:03:26.748767752Z }

Ge6ben avatar Nov 24 '25 07:11 Ge6ben

Hi @rienheuver did you fix it?

Ge6ben avatar Nov 24 '25 07:11 Ge6ben

I saw this for a moment + redeploying the edge function fixed it.

jerdmeyer avatar Nov 25 '25 17:11 jerdmeyer