Commit Graph

12 Commits

Author SHA1 Message Date
ViolinKaine
0681955bd8 Address Docker regression: detect container mode for aria2 path remapping
In Docker, aria2 runs in a separate container with only mounted paths
visible (e.g. /models, /custom_nodes), not host absolute paths. Detect
Docker via /.dockerenv or COMFYUI_ARIA2_CONTAINER_PATHS=true env var and
remap to container-relative paths in that case. On bare-metal, use the
full absolute path so aria2 can locate the directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:51:51 +02:00
ViolinKaine
857b4534f1 Fix aria2 path handling for local (non-Docker) installations
The previous logic stripped the ComfyUI base path prefix and sent a
root-relative path (e.g. /custom_nodes) to aria2 via RPC, causing a
permission error when aria2 tried to create that directory at the
filesystem root.

Use the full absolute path when model_dir is absolute; fall back to
/models/<dir> only for relative paths (Docker-style setups).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 20:44:01 +02:00
Dr.Lt.Data
552c6da0cc modified: download_url - provide more informative error messages
https://github.com/Comfy-Org/ComfyUI-Manager/issues/2016
2025-07-24 02:30:07 +09:00
Dr.Lt.Data
ad1b4a9a86 feat: reverse proxy
https://github.com/ltdrdata/ComfyUI-Manager/pull/795/files
2025-02-18 23:41:44 +09:00
Dr.Lt.Data
559c011420 feat: support huggingface snapshot downloader
fixed: An issue where JS did not properly handle model download errors.
fixed: better security message for model downloading
2025-02-10 02:24:08 +09:00
HuangYongliang
9a5c7c10de
print raw download url for convenience (#1478)
* print raw download url for convenience

* print raw download url for convenience
2025-01-26 18:09:03 +09:00
Robin Huang
f63205f86c
Use requests library to resolve SSL errors. (#1450) 2025-01-15 07:20:45 +09:00
Dr.Lt.Data
e058140bac Merge branch 'main' into feat/cnr 2024-12-21 18:11:14 +09:00
learningpro
c7511c7aa9
both aria2 and torchvision.datasets.utils.download_url use HF_ENDPOINT (#1355)
both aria2 and torchvision.datasets.utils.download_url use HF_ENDPOINT to speed up
2024-12-21 17:54:34 +09:00
Dr.Lt.Data
a44d1fbd37 fix: mismatches caused by manager-core integration 2024-12-19 09:29:30 +09:00
dishuostec
96dbc71ad4
fix parse aria2 host (#829) 2024-07-01 20:51:16 +09:00
dishuostec
7b9292fbd4
support download via aria2 (#797) 2024-06-22 22:11:57 +09:00