Package Details: comfyui 0.27.0-1

Git Clone URL: https://aur.archlinux.org/comfyui.git (read-only, click to copy)
Package Base: comfyui
Description: The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface
Upstream URL: https://github.com/Comfy-Org/ComfyUI
Licenses: GPL-3.0-only
Submitter: sim590
Maintainer: sim590
Last Packager: sim590
Votes: 2
Popularity: 1.07
First Submitted: 2026-04-28 09:26 (UTC)
Last Updated: 2026-07-11 11:35 (UTC)

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:

sudo systemctl start comfyui

Then visit http://localhost:8188 in your browser. To start it automatically on boot:

sudo systemctl enable --now comfyui

Do NOT run comfyui directly from your terminal as your regular user. The application files in /opt/comfyui are owned by the comfy system user. Running it as your own user will result in PermissionError: Permission denied on directories like /opt/comfyui/user, /opt/comfyui/temp, or /opt/comfyui/venv.

If you need to run it manually (e.g., for debugging), use:

sudo -u comfy comfyui

"Permission denied" on /var/lib/comfyui/input/3d:

This means the data directories were not created with proper ownership. Run:

sudo systemd-tmpfiles --create comfyui.conf

If the initial installation failed (e.g., PyTorch download interrupted):

The post-install setup may not have completed. Reinstall the package (through pacman -U or 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:

env _prefix=/my/path makepkg -si

See also the README file in the repo

Latest Comments

« First ‹ Previous 1 2

sim590 commented on 2026-05-25 13:05 (UTC) (edited on 2026-05-25 13:24 (UTC) by sim590)

The installed directories by the package should be under the user/group ownership 'comfy:comfy'. If they're not it's because installation didn't complete correctly. You should try reinstalling the package. Make sure you have enough space for the download (rocm and equivalent dependencies are particularly heavy).

You should then start the comfyui service through systemd and visit localhost:8188 to use the software.

Have you tried proceeding this way?

Also, if you want to install the program at a given location (for space concerns), you use:

env _prefix=/my/own/directory makepkg

to make the package. This will install the whole venv part of ComfyUI in the directory you selected. However, make sure the comfyui.install file is clean according to Git when you do this. Otherwise, sed instructions might fail.

Jawzper commented on 2026-05-25 07:01 (UTC) (edited on 2026-05-25 07:49 (UTC) by Jawzper)

When I try to run it I get an error,

Traceback (most recent call last):
  File "/opt/comfyui/main.py", line 530, in <module>
    event_loop, _, start_all_func = start_comfyui()
                                    ~~~~~~~~~~~~~^^
  File "/opt/comfyui/main.py", line 471, in start_comfyui
    prompt_server = server.PromptServer(asyncio_loop)
  File "/opt/comfyui/server.py", line 207, in __init__
    self.user_manager = UserManager()
                        ~~~~~~~~~~~^^
  File "/opt/comfyui/app/user_manager.py", line 42, in __init__
    os.makedirs(user_directory, exist_ok=True)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen os>", line 236, in makedirs
PermissionError: [Errno 13] Permission denied: '/opt/comfyui/user'

I tried sudo chmod -R 775 /opt/comfyui but this did not help. Can anyone help?

[edit] Ok, I have worked around the problem by setting a custom --base-directory with custom_nodes, input, models, output, temp, and user directories. But I am still getting errors:

Error while calling comfy_entrypoint in /opt/comfyui/comfy_extras/nodes_load_3d.py: [Errno 13] Permission denied: '/var/lib/comfyui/input/3d'
WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.

IMPORT FAILED: nodes_load_3d.py

And I can't install custom nodes:

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/opt/comfyui/venv/lib/python3.14/site-packages/uv'
Check the permissions.

## [ERROR] ComfyUI-Manager: Attempting to reinstall dependencies using an alternative method.
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
## [ERROR] ComfyUI-Manager: Failed to install the GitPython package in the correct Python environment. Please install it manually in the appropriate environment. (You can seek help at https://app.element.io/#/room/%23comfyui_space%3Amatrix.org)