qdrant icon indicating copy to clipboard operation
qdrant copied to clipboard

Windows: qdrant did not load / read the configuration file

Open Cijay22 opened this issue 11 months ago • 2 comments

Current Behavior

When I start qdrant.exe the config file is not loaded and the settings are not applied

Steps to Reproduce

1.Download qdrant and unzip 2. Create new folder config 3. Create new file config.yaml and development.yaml 4. Start qdrant: start screen showing no error but for example the port chang is not applied

Sample config:

log_level: INFO storage: storage_path: "./storage" snapshot_path: "./snapshots" quantization: scalar: type: int8 quantile: 0.99 always_ram: true performance: max_search_threads: 8 server: http_port: 6333 grpc_port: 6334 enable_tls: false telemetry_disabled: false service: api_port: 6333

Expected Behavior

Settings from the config file should be applied to the server settings.

Possible Solution

  1. Ensure that Qdrant is correctly looking for the configuration file in the expected directory.
  2. Verify if Qdrant requires an explicit --config-path argument when starting the server.
  3. Check for permission issues that might prevent Qdrant from reading the config files.
  4. Confirm that the configuration file format follows the required syntax and structure.

Context (Environment)

This issue prevents me from customizing Qdrant settings, such as changing the default port, modifying storage settings, and configuring logging options. As a result, the server does not run with the expected configuration.

Possible Implementation

  1. Add a log message indicating whether a configuration file was successfully loaded or not.
  2. Implement a validation step that warns users if the config file is ignored or contains syntax errors.

Cijay22 avatar Feb 10 '25 16:02 Cijay22

What does your directory/file structure look like? It may just have been placed incorrectly.

Note that config/config.yaml should be used, as development.yaml is not picked up by default.

The --config-path config/configuration.yaml can indeed be used to provide an explicit configuration.

timvisee avatar Feb 12 '25 09:02 timvisee

Same here, another garbage software and waste of my time. Maybe devs should consider some simpler job, like digging a holes on construction sites or something.

PawSan avatar Nov 27 '25 17:11 PawSan