Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comfyui won't start due to :rshared #45

Open
lee-b opened this issue Sep 30, 2024 · 0 comments
Open

comfyui won't start due to :rshared #45

lee-b opened this issue Sep 30, 2024 · 0 comments

Comments

@lee-b
Copy link

lee-b commented Sep 30, 2024

Not sure what the purpose of rshared is in the comfy ui config -- multiple instances? I got the following error with it:

$ harbor up comfyui
WARN[0000] Found orphan containers ([harbor.plandex-server harbor.plandex-db harbor.plandex]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Running 2/3
 ⠧ Container harbor.comfyui  Starting                                                                                                                                                              1.1s
 ✔ Container harbor.ollama   Running                                                                                                                                                               0.0s
 ✔ Container harbor.webui    Started                                                                                                                                                               0.9s
Error response from daemon: path /mnt/nvme1/home/lb/AI/harbor/comfyui/workspace is mounted on /mnt/nvme1 but it is not a shared mount

This patch fixes it:

diff --git a/compose.comfyui.yml b/compose.comfyui.yml
index 895508f..d97cd43 100644
--- a/compose.comfyui.yml
+++ b/compose.comfyui.yml
@@ -33,7 +33,7 @@ services:
       - ${HARBOR_COMFYUI_PORTAL_HOST_PORT}:${HARBOR_COMFYUI_PORTAL_HOST_PORT}
       - ${HARBOR_COMFYUI_SYNCTHING_HOST_PORT}:${HARBOR_COMFYUI_SYNCTHING_HOST_PORT}
     volumes:
-      - ./comfyui/workspace:/workspace:rshared
+      - ./comfyui/workspace:/workspace
       # - ./comfyui/storage:/storage
     networks:
       - harbor-network

But may break some other goal.

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

No branches or pull requests

1 participant