v0.21.1-7: Changed how build() handles the comfyui.install scriptlet when using a custom _prefix. Previously, sed replaced _PREFIX_ markers directly in $startdir, which meant the template had to be manually restored (git checkout comfyui.install) before rebuilding with a different prefix. build() now saves a no-clobber backup (.orig) and always generates from it, making repeated builds with different _prefix values work without manual intervention.
Some user instructions in comfyui.install file were also fixed (for instance where pacman -S was said to be used to reinstall, irrelevant for AUR).
Pinned Comments
sim590 commented on 2026-05-25 20:02 (UTC) (edited on 2026-05-29 23:26 (UTC) by sim590)
Quick Start & Troubleshooting
How to run ComfyUI:
ComfyUI is packaged as a systemd service. The recommended way to run it is:
Then visit
http://localhost:8188in your browser. To start it automatically on boot:Do NOT run
comfyuidirectly from your terminal as your regular user. The application files in/opt/comfyuiare owned by thecomfysystem user. Running it as your own user will result inPermissionError: Permission deniedon directories like/opt/comfyui/user,/opt/comfyui/temp, or/opt/comfyui/venv.If you need to run it manually (e.g., for debugging), use:
"Permission denied" on
/var/lib/comfyui/input/3d:This means the data directories were not created with proper ownership. Run:
If the initial installation failed (e.g., PyTorch download interrupted):
The post-install setup may not have completed. Reinstall the package (through
pacman -Uor your preferred wrapper tool like yay or paru). This will re-run the setup, install dependencies, and apply correct ownership.Custom install location:
To install ComfyUI to a different directory (e.g., a separate drive), build the package with:
See also the README file in the repo