Closed samtay closed 4 months ago
Update: the core issues (1) and (2) above were solved by connecting to a different wifi network, so those are likely duplicates of #2455 . If it helps narrow things down, I also noticed some strange behavior before switching wifi networks: the CLI would have very long pauses. Even supabase --help
would print help and then the command wouldn't actually finish executing for another 10s or so - perhaps it is trying to do something with a network connection by default?
The other bits above IMO are still relevant - improved logging and error reporting, option to persist containers, and not requiring a realtime
container if -x realtime
is passed. Feel free to close at your discretion.
Even supabase --help would print help and then the command wouldn't actually finish executing for another 10s or so
This is because the cli checks for any updates on startup. I can probably reduce the timeout here to make it respond faster.
not requiring a realtime container if -x realtime is passed
The realtime container still needs to run to apply schema migrations, even if it's not started. This is ensure your local schema matches hosted project.
The logs display issue seems to happen randomly for me. I will take a closer look at that.
Could you also report which shell you are using? This is to help me reproduce the login issue.
Sure: zsh 5.9 (x86_64-pc-linux-gnu)
Updates on this issue:
supabase/config.toml
.The problem with --help
taking a long time when offline is also resolved in beta release, ie. npx supabase@beta start
.
Describe the bug I just started using supabase, and my experience with this CLI has been inauspicious.
supabase login
doesn't work for me.. I get the browser opened up with a success message, but back in the terminal I'm stuck onYour token is now being generated and securely encrypted. Waiting for it to arrive...
. I was able to get around this by manually creaking a token in the dashboard and supplying it viasupabase login --token
.supabase start
fails as well (with no error messages). Running with--debug
I can see some logs but they are really terribly formatted:docker container ps
before the containers get automatically removed I was able todocker container attach
to see thisrealtime
error:-x realtime
.--create-ticket
did not output the sys info required below.To Reproduce Steps to reproduce the behavior:
Expected behavior Things should just work. If they don't, appropriate errors should be visible.
System information Rerun the failing command with
--create-ticket
flag.1.178.2
and the beta1.179.3
.26.1.4
Additional context If applicable, add any other context about the problem here.
Firefox