Skip to content

opt/ComfyUI not copying to workspace dir? #135

Open
@iandoesallthethings

Description

@iandoesallthethings

I'm having trouble setting up persistent storage for checkpoints, outputs, nodes, etc. For reference, I'm trying to set this up on TrueNAS Scale (based on debian) as a custom app using the new docker setup. So it's just pulling the built image, injecting environment variables, and mounting some of the directories inside to persistent storage.

My understanding of this image is that the ComfyUI directory is supposed to be copied over to the workspace directory and used as the working directory of the app. Then we're supposed to set up any network mounts for custom_nodes, output, models/checkpoints, etc to point to that location. But when I run the image and poke inside the container, outputs and anything I download via the manager is going straight into /opt/ComfyUI and /opt/storage/stable_diffusion just has the empty folders where I set up my network mounts. I also tried setting $WORKSPACE to /workspace, and still nothing was copied over.

Unless I'm misunderstanding and I should be persisting the folders directly in /opt/ComfyUI. And in that case when I add those network shares, I run into permissions issues that might be ultra specific to whatever wacky thing truenas is doing with docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions