Skip to content

[Bug]: Setting Alternate Download Model Path #1699

@blakemccawe

Description

@blakemccawe

App Version

0.8.35

Expected Behavior

Configuring an alternate model download path to an external drive should allow downloading.

Actual Behavior

Model fails to download with cancelled error.
Code is failing on

log.error(`Save path ${localSavePath} is not in models directory ${this.modelsDirectory}`);

Steps to Reproduce

Added custom config to extra_models_config.yaml

# ComfyUI extra_model_paths.yaml for win32
comfyui_desktop:
  base_path: C:\Users\Me\Documents\ComfyUI
  custom_nodes: custom_nodes/

desktop_extensions:
  custom_nodes: C:\Users\Me\AppData\Local\Programs\ComfyUI\resources\ComfyUI\custom_nodes

custom_config:
  is_default: "true"
  base_path: D:\ComfyUI
  download_model_base: models
  checkpoints: models/checkpoints
  text_encoders: models/text_encoders
  vae: models/vae
  loras: models/loras
  controlnet: models/controlnet
  clip_vision: models/clip_vision
  gligen: models/gligen
  upscale_models: models/upscale_models
  embeddings: models/embeddings
  diffusion_models: models/diffusion_models
  • Clicking download model from with the desktop UI
  • Download errors
  • Check main.log for error

Debug Logs

Save path D:\ComfyUI\models\vae\ae.safetensors is not in models directory C:\Users\Me\Documents\ComfyUI\models
Download progress [ae.safetensors]: 0, status: error, message: Save path is not in models directory

Browser Logs

No response

Settings JSON

No response

Other

No response

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions