Closed ricardomatias closed 2 months ago
Do you confirm that your docker settings match this screenshot? Particularly requires Allow the default Docker socket ...
Do you confirm that your docker settings match this screenshot? Particularly requires
Allow the default Docker socket ...
Yes. They look like this:
Could you also show the docker engine config?
I'm unable to reproduce on my macOS. Not sure if this helps, but it might be worth closing any studio browser tabs before supabase start
.
Could you also show the docker engine config?
I'm unable to reproduce on my macOS. Not sure if this helps, but it might be worth closing any studio browser tabs before
supabase start
.
I changed "experimental" to true and the problem persists. I also had all browser windows closed.
I see the following errors from the Studio in the Developer Tools' console window:
I am having the same issue since updating the CLI to the last version on Windows 11, before all was working without issues
same warning
WARNING: analytics requires mounting default docker socket: /var/run/docker.sock
and the error in the vector container
2024-07-11T07:06:07.904242Z ERROR source{component_kind="source" component_id=docker_host component_type=docker_logs component_name=docker_host}: vector::sources::docker_logs: Listing currently running containers failed. error=error trying to connect: Connection refused (os error 111)
2024-07-11 15:06:07 2024-07-11T07:06:07.904258Z INFO vector: Vector has started. debug="false" version="0.28.1" arch="x86_64" revision="ff15924 2023-03-06"
2024-07-11 15:06:07 2024-07-11T07:06:07.911842Z INFO vector::internal_events::api: API server running. address=0.0.0.0:9001 playground=http://0.0.0.0:9001/playground
2024-07-11 15:06:07 2024-07-11T07:06:07.911869Z INFO vector::app: All sources have finished.
2024-07-11 15:06:07 2024-07-11T07:06:07.911873Z INFO vector: Vector has stopped.
SERVICE IMAGE │ LOCAL │ LINKED
─────────────────────────┼──────────────────┼────────────
supabase/postgres │ 15.1.1.73 │ 15.1.1.73
supabase/gotrue │ v2.154.2 │ v2.154.2
postgrest/postgrest │ v12.2.1 │ v12.2.1
supabase/realtime │ v2.29.15 │ -
supabase/storage-api │ v1.6.8 │ v1.6.8
supabase/edge-runtime │ v1.54.10 │ -
supabase/studio │ 20240701-05dfbec │ -
supabase/postgres-meta │ v0.83.2 │ -
supabase/logflare │ 1.4.0 │ -
supabase/supavisor │ 1.1.56 │ -
darthsim/imgproxy │ v3.8.0 │ -
all other containers run, but the /vector container for the analytics tries to start and shuts down
On windows it is not possible to allow the docker Desktop socket to be used without a docker business subscription. Settings need to be configured via settings manager, There is are no advanced settings in the desktop app
https://docs.docker.com/desktop/hardened-desktop/enhanced-container-isolation/config/
https://docs.docker.com/desktop/hardened-desktop/settings-management/configure/
which is only available to business customers according to their docs unless i am missing something. I tried to to create a config and docker locks me out of my account and shuts down docker desktop unless i remove the config to get it to start up again.
Hello, it seems there are a few open issues about this so, in an effort to clean up, we will consolidate to this one here.
The issue is mostly solved and a fix for the frontend query is coming soon.
For the issues with sockets and docker configs, those are outside of the Supabase scope and can be resolved by either:
@SebasScript I can successfully setup tcp daemon socket on docker CE without a business subscription. could you try the docker settings here https://github.com/supabase/cli/issues/2538#issuecomment-2246855270
@sweatybridge thanks for letting me know.
Describe the bug When trying to view the Postgres logs in the Supabase Studio there's this error:
I've changed enabled to "true" under [analytics] in config.toml.
When I execute
supabase start
I get the following:If I execute with
supabase start
withDOCKER_HOST="unix:///var/run/docker.sock"
, the warning from the analytics container disappears, but I still get the same errors in Supabase Studio when trying to view the logs.The following logs are from the
supabase_analytics_database
container:Expected behavior Can see the logs.
System information Rerun the failing command with
--create-ticket
flag.supabase services
command]