Comfy-Org / Comfy-Org/ComfyUI

When I tried to update ComfyUI using Manager, it failed and gave the error message "Failed to checkout 'master' branch."

Open
#7,994 11 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Expected Behavior

Use Manager to update comfyUI

### Actual Behavior

Update failed. The error message is "Failed to check out 'master' branch."

### Steps to Reproduce

In the Manager, click on "Update ComfyUI", and then it prompts a failure.

![Image](https://github.com/user-attachments/assets/1027749a-4de1-45a3-8d1c-3ad5570de9d2)

### Debug Logs

```powershell
D:\AI\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
Adding extra search path checkpoints D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\Stable-diffusion
Adding extra search path configs D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\Stable-diffusion
Adding extra search path vae D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\VAE
Adding extra search path loras D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\Lora
Adding extra search path loras D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\LyCORIS
Adding extra search path upscale_models D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\ESRGAN
Adding extra search path upscale_models D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\RealESRGAN
Adding extra search path upscale_models D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\SwinIR
Adding extra search path embeddings D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\embeddings
Adding extra search path hypernetworks D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\hypernetworks
Adding extra search path controlnet D:\AI\ComfyUI_windows_portable\ComfyUI\path\to\stable-diffusion-webui\models\ControlNet
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-05-08 14:04:22.137
** Platform: Windows
** Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
** Python executable: D:\AI\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: D:\AI\ComfyUI_windows_portable\ComfyUI
** ComfyUI Base Folder Path: D:\AI\ComfyUI_windows_portable\ComfyUI
** User directory: D:\AI\ComfyUI_windows_portable\ComfyUI\user
** ComfyUI-Manager config path: D:\AI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: D:\AI\ComfyUI_windows_portable\ComfyUI\user\comfyui.log

Prestartup times for custom nodes:
2.0 seconds: D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager

Checkpoint files will always be loaded safely.
Total VRAM 16376 MB, total RAM 65268 MB
pytorch version: 2.7.0+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
Using pytorch attention
Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
ComfyUI version: 0.3.31
ComfyUI frontend version: 1.18.6
[Prompt Server] web root: D:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static
### Loading: ComfyUI-Manager (V3.31.13)
[ComfyUI-Manager] network_mode: public
### ComfyUI Revision: 150 [76899171] *DETACHED | Released on '2025-05-03'

Import times for custom nodes:
0.0 seconds: D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
0.4 seconds: D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager

Starting server

To see the GUI go to: http://127.0.0.1:8188
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
FETCH ComfyRegistry Data: 5/84
FETCH ComfyRegistry Data: 10/84
FETCH ComfyRegistry Data: 15/84
FETCH ComfyRegistry Data: 20/84
FETCH ComfyRegistry Data: 25/84
FETCH ComfyRegistry Data: 30/84
FETCH ComfyRegistry Data: 35/84
FETCH ComfyRegistry Data: 40/84
FETCH ComfyRegistry Data: 45/84
FETCH ComfyRegistry Data: 50/84
FETCH ComfyRegistry Data: 55/84
FETCH ComfyRegistry Data: 60/84
FETCH ComfyRegistry Data: 65/84
FETCH ComfyRegistry Data: 70/84
FETCH ComfyRegistry Data: 75/84
FETCH ComfyRegistry Data: 80/84
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
[ComfyUI-Manager] Failed to checkout 'master' branch.
repo_path=D:\AI\ComfyUI_windows_portable\ComfyUI
Available branches:
backup_branch_2025-05-08_13_44_02
backup_branch_2025-05-08_14_03_30
backup_branch_2025-05-08_14_04_09
ComfyUI update failed

[ComfyUI-Manager] Queued works are completed.
{'update-comfyui': 1}

After restarting ComfyUI, please refresh the browser.
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.