Skip to content

user provisioned custom nodes downloaded into the correct target folder - #6

Closed
nprabhakar wants to merge 1 commit into
vast-ai:mainfrom
nprabhakar:patch-1
Closed

nprabhakar wants to merge 1 commit into
vast-ai:mainfrom
nprabhakar:patch-1

Conversation

@nprabhakar

Copy link
Copy Markdown

in the default provisioning script, the user-configured, custom nodes were getting downloaded into the parent folder, and not getting activated

…getting activated

in the default provisioning script, the user-configured, custom nodes were getting downloaded into the parent folder, and not getting activated
@robballantyne

Copy link
Copy Markdown
Collaborator

Thank you — and apologies for the long silence. Your diagnosis was correct and the bug was still on main until today: ${COMFYUI_DIR}custom_nodes/ resolved to /workspace/ComfyUIcustom_nodes/ because COMFYUI_DIR carries no trailing slash, so provisioned nodes landed beside ComfyUI instead of inside it — exactly as your title says.

Fixed in #236, which credits you as co-author and extends the same fix to flux.sh and hunyuan3d.sh. Closing in favour of that.

robballantyne added a commit that referenced this pull request Aug 6, 2026
…e it (#236)

COMFYUI_DIR is ${WORKSPACE}/ComfyUI with no trailing slash, so
"${COMFYUI_DIR}custom_nodes/${dir}" resolved to /workspace/ComfyUIcustom_nodes/ —
a sibling directory ComfyUI never scans. Every custom node a user listed in NODES
was cloned somewhere it could not be loaded from, and because the [[ -d $path ]]
guard never matched, each provisioning run re-cloned the lot.

Remaining in default.sh, flux.sh and hunyuan3d.sh; the same line was already
correct in lora.sh, image-tools.sh, ltx-video.sh and text_to_video_wan.sh, which
is why it survived this long.

Reported independently in #5 (amgad-naiem) and #6 (nprabhakar) in March 2025.

Co-authored-by: amgad-naiem <amgad.naiem@gmail.com>
Co-authored-by: nprabhakar <nprabhakar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants