Skip to content

supabase-vector can't find /etc/vector/vector.yml (current main branch) #3282

Closed
supabase/supabase
#33603

Description

@skamansam

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The supabase-vector image exited with code 78, and a log was printed saying it was unable to find the vector.yml file.

 /s/s/docker   master  sudo docker-compose up
[+] Running 14/14
 ✔ Network supabase_default                  Created                                                                                                                                                          0.0s 
 ✔ Container supabase-vector                 Created                                                                                                                                                          0.2s 
 ✔ Container supabase-imgproxy               Created                                                                                                                                                          0.2s 
 ✔ Container supabase-db                     Created                                                                                                                                                          0.1s 
 ✔ Container supabase-analytics              Created                                                                                                                                                          0.1s 
 ✔ Container supabase-meta                   Created                                                                                                                                                          0.3s 
 ✔ Container supabase-kong                   Created                                                                                                                                                          0.2s 
 ✔ Container supabase-pooler                 Created                                                                                                                                                          0.2s 
 ✔ Container supabase-studio                 Created                                                                                                                                                          0.2s 
 ✔ Container supabase-edge-functions         Created                                                                                                                                                          0.2s 
 ✔ Container supabase-auth                   Created                                                                                                                                                          0.4s 
 ✔ Container realtime-dev.supabase-realtime  Created                                                                                                                                                          0.3s 
 ✔ Container supabase-rest                   Created                                                                                                                                                          0.1s 
 ✔ Container supabase-storage                Created                                                                                                                                                          0.1s 
Attaching to realtime-dev.supabase-realtime, supabase-analytics, supabase-auth, supabase-db, supabase-edge-functions, supabase-imgproxy, supabase-kong, supabase-meta, supabase-pooler, supabase-rest, supabase-storage, supabase-studio, supabase-vector
supabase-vector                 | 2025-02-10T01:11:40.592358Z  INFO vector::app: Internal log rate limit configured. internal_log_rate_secs=10
supabase-vector                 | 2025-02-10T01:11:40.592670Z  INFO vector::app: Log level is enabled. level="vector=info,codec=info,vrl=info,file_source=info,tower_limit=trace,rdkafka=info,buffers=info,lapin=info,kube=info"
supabase-vector                 | 2025-02-10T01:11:40.592794Z ERROR vector::config::loading: Config file not found in path. path="/etc/vector/vector.yml"
supabase-imgproxy               | WARNING [2025-02-10T01:11:40Z] No keys defined, so signature checking is disabled 
supabase-imgproxy               | WARNING [2025-02-10T01:11:40Z] No salts defined, so signature checking is disabled 
supabase-imgproxy               | WARNING [2025-02-10T01:11:40Z] Exposing root via IMGPROXY_LOCAL_FILESYSTEM_ROOT is unsafe 
supabase-imgproxy               | INFO    [2025-02-10T01:11:40Z] Starting server at :5001 
supabase-imgproxy               | INFO    [2025-02-10T01:11:40Z] Started /health  request_id=V2qCp5ASa5DwE6UOPZ3i- method=GET client_ip=127.0.0.1
supabase-imgproxy               | INFO    [2025-02-10T01:11:40Z] Completed in 51.414µs /health  request_id=V2qCp5ASa5DwE6UOPZ3i- method=GET status=200 client_ip=127.0.0.1
supabase-vector exited with code 78
supabase-vector exited with code 0
supabase-vector exited with code 0
supabase-vector exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container supabase-vector had unexpected health status "reset"

To Reproduce

Steps to reproduce the behavior:

  1. follow the instructions at https://dev.to/zakariachahboun/supabase-self-hosting-with-podman-1mhl

Expected behavior

The docker compose up step should bring all the containers up, including supabase-vector.

System information

  • OS: Fedora Linux 41
  • podman version: 5.3.2
  • supabase version: latest main branch

Additional context

The docker compose yaml file does not give an error that the vector.yml file can't be found/mounted. (I changed it to verify that it does issue a warning.)

Starting from a clean repo download, in main branch, pulled on february 9th, 2025 at 19:00, I followed the instructions at https://dev.to/zakariachahboun/supabase-self-hosting-with-podman-1mhl to make sure podman/docker compatability was setup correctly, then ran sudo docker-compose up. Every other container started fine, just not the vector one.

Activity

  1. added
    bug
    on Feb 10, 2025
  2. transferred this issue fromsupabase/supabaseon Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions