Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run npx supabase db reset in newly initialized project #2250

Closed
Silur opened this issue May 7, 2024 · 5 comments
Closed

Cannot run npx supabase db reset in newly initialized project #2250

Silur opened this issue May 7, 2024 · 5 comments

Comments

@Silur
Copy link

Silur commented May 7, 2024

Environment: Arch linux x64, supabase-cli 1.165.0

docker system prune -a # to reset all volumes and download latest images
mkdir /tmp/newproject
cd $_
npm install supabase
npx supabase init
npx supabase start
# services run successfully, realtime service healthcheck positive
npx supabase db reset --debug

Running an empty db reset as above results with the following:

** (ArgumentError) errors were found at the given arguments:

  * 1st argument: the table identifier does not refer to an existing ETS table

    (stdlib 4.3) :ets.lookup(:cachex_overseer_table, Realtime.Tenants.Cache)
    (cachex 3.4.0) lib/cachex/services/overseer.ex:89: Cachex.Services.Overseer.retrieve/1
    (cachex 3.4.0) lib/cachex.ex:676: Cachex.fetch/4
    (realtime 2.28.32) lib/realtime/context_cache.ex:12: Realtime.ContextCache.apply_fun/3
    (realtime 2.28.32) lib/realtime/tenants.ex:59: Realtime.Tenants.health_check/1
    nofile:1: (file)
error running container: exit 1

@Silur
Copy link
Author

Silur commented Jun 2, 2024

issue still present in version 1.172.2

@sweatybridge
Copy link
Contributor

What's the output from supabase services?

@timobehrens
Copy link

I have a similar issue: I cannot clear my hosted DB using npx supabase db reset --linked. The databases are not deleted at all.

@sweatybridge
Copy link
Contributor

I cannot clear my hosted DB using npx supabase db reset --linked

@timobehrens this sounds like a separate issue with hosted project. Could you file a support ticket so we can take a closer look?

@sweatybridge
Copy link
Contributor

closing as not reproducible.

@sweatybridge sweatybridge closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants