[GH-ISSUE #1220] 安装了桌面版的comfyui点开软件启动需要2-3分钟才能进入,重装系统重新安装也是老样子,以下是启动日志和截图,请问如何解决? #342

Closed
opened 2026-10-31 22:11:47 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @kenny00968 on GitHub (Jul 11, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1220

Adding extra search path custom_nodes C:\Users\zhang\Documents\ComfyUI\custom_nodes
Adding extra search path download_model_base C:\Users\zhang\Documents\ComfyUI\models
Adding extra search path custom_nodes C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes
Setting output directory to: C:\Users\zhang\Documents\ComfyUI\output
Setting input directory to: C:\Users\zhang\Documents\ComfyUI\input
Setting user directory to: C:\Users\zhang\Documents\ComfyUI\user
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-07-11 22:42:02.527
** Platform: Windows
** Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
** Python executable: C:\Users\zhang\Documents\ComfyUI\.venv\Scripts\python.exe
** ComfyUI Path: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI
** ComfyUI Base Folder Path: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI
** User directory: C:\Users\zhang\Documents\ComfyUI\user
** ComfyUI-Manager config path: C:\Users\zhang\Documents\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: C:\Users\zhang\Documents\ComfyUI\user\comfyui.log
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
expected str, bytes or os.PathLike object, not NoneType

Prestartup times for custom nodes:
   4.5 seconds: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 8188 MB, total RAM 14029 MB
pytorch version: 2.7.0+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync
Using pytorch attention
Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
ComfyUI version: 0.3.44
[Prompt Server] web root: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
[Crystools INFO] Crystools version: 1.25.2
[Crystools INFO] Platform release: 11
[Crystools INFO] JETSON: Not detected.
[Crystools INFO] CPU: 13th Gen Intel(R) Core(TM) i9-13900HX - Arch: AMD64 - OS: Windows 11
[Crystools INFO] pynvml (NVIDIA) initialized.
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce RTX 4060 Laptop GPU
[Crystools INFO] NVIDIA Driver: 576.49
[ComfyUI-Easy-Use] server: v1.3.1 Loaded
[ComfyUI-Easy-Use] web root: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded
ComfyUI-GGUF: Partial torch compile only, consider updating pytorch
### Loading: ComfyUI-Impact-Pack (V8.19.1)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Inspire-Pack (V1.20)
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider
------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------
[C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False
[C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
》===>====>========>Fk_Server:OK!<========<====<===《

[rgthree-comfy] Loaded 47 magnificent nodes. 🎉

WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `C:\Users\zhang\Documents\ComfyUI\custom_nodes\was-ns\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 220 nodes successfully.

        "Art is not a thing; it is a way." - Elbert Hubbard

### Loading: ComfyUI-Manager (V3.30.4)
[ComfyUI-Manager] network_mode: public
### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)

Import times for custom nodes:
   0.0 seconds: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-show-text
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_ttp_toolset
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-wd14-tagger
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\aigodlike-comfyui-translation
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\ComfyUI-GGUF
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-dev-utils
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_fk_server
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_ipadapter_plus
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\onebuttonprompt
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
   0.0 seconds: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
   0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux
   0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-inspire-pack
   0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\ComfyUI-Crystools
   0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-impact-pack
   0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-kjnodes
   0.2 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-florence2
   0.3 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-kynode
   0.3 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\rgthree-comfy
   0.5 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-supir
   1.3 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-easy-use
   1.8 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\was-ns

Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
Starting server

To see the GUI go to: http://127.0.0.1:8000
[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/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
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
Disable Log Console. client id: 4f4aff1e9b7f4df7a933faa5b10792b7, console id: 52914ef6-fdaf-4ceb-8a39-2966ff6f9b25
FETCH ComfyRegistry Data: 5/91
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE]
[ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
nightly_channel: 
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.jsonFETCH ComfyRegistry Data: 10/91
 [DONE]
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extras.json [DONE]
FETCH ComfyRegistry Data: 15/91
FETCH ComfyRegistry Data: 20/91
FETCH ComfyRegistry Data: 25/91
FETCH ComfyRegistry Data: 30/91
FETCH ComfyRegistry Data: 35/91
FETCH ComfyRegistry Data: 40/91
FETCH ComfyRegistry Data: 45/91
FETCH ComfyRegistry Data: 50/91
FETCH ComfyRegistry Data: 55/91
FETCH ComfyRegistry Data: 60/91
FETCH ComfyRegistry Data: 65/91
FETCH ComfyRegistry Data: 70/91
FETCH ComfyRegistry Data: 75/91
FETCH ComfyRegistry Data: 80/91
FETCH ComfyRegistry Data: 85/91
FETCH ComfyRegistry Data: 90/91
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
nightly_channel: 
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
Image

┆Issue is synchronized with this Notion page by Unito

Originally created by @kenny00968 on GitHub (Jul 11, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1220 ``` Adding extra search path custom_nodes C:\Users\zhang\Documents\ComfyUI\custom_nodes Adding extra search path download_model_base C:\Users\zhang\Documents\ComfyUI\models Adding extra search path custom_nodes C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes Setting output directory to: C:\Users\zhang\Documents\ComfyUI\output Setting input directory to: C:\Users\zhang\Documents\ComfyUI\input Setting user directory to: C:\Users\zhang\Documents\ComfyUI\user [START] Security scan [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2025-07-11 22:42:02.527 ** Platform: Windows ** Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)] ** Python executable: C:\Users\zhang\Documents\ComfyUI\.venv\Scripts\python.exe ** ComfyUI Path: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI ** ComfyUI Base Folder Path: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI ** User directory: C:\Users\zhang\Documents\ComfyUI\user ** ComfyUI-Manager config path: C:\Users\zhang\Documents\ComfyUI\user\default\ComfyUI-Manager\config.ini ** Log path: C:\Users\zhang\Documents\ComfyUI\user\comfyui.log [ComfyUI-Manager] Failed to restore comfyui-frontend-package expected str, bytes or os.PathLike object, not NoneType Prestartup times for custom nodes: 4.5 seconds: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager Checkpoint files will always be loaded safely. Total VRAM 8188 MB, total RAM 14029 MB pytorch version: 2.7.0+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : cudaMallocAsync Using pytorch attention Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)] ComfyUI version: 0.3.44 [Prompt Server] web root: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app [Crystools INFO] Crystools version: 1.25.2 [Crystools INFO] Platform release: 11 [Crystools INFO] JETSON: Not detected. [Crystools INFO] CPU: 13th Gen Intel(R) Core(TM) i9-13900HX - Arch: AMD64 - OS: Windows 11 [Crystools INFO] pynvml (NVIDIA) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 4060 Laptop GPU [Crystools INFO] NVIDIA Driver: 576.49 [ComfyUI-Easy-Use] server: v1.3.1 Loaded [ComfyUI-Easy-Use] web root: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded ComfyUI-GGUF: Partial torch compile only, consider updating pytorch ### Loading: ComfyUI-Impact-Pack (V8.19.1) [Impact Pack] Wildcards loading done. ### Loading: ComfyUI-Inspire-Pack (V1.20) no module 'xformers'. Processing without... no module 'xformers'. Processing without... (pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider (pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider ------------------------------------------ Comfyroll Studio v1.76 : 175 Nodes Loaded ------------------------------------------ ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki ------------------------------------------ [C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False [C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly") 》===>====>========>Fk_Server:OK!<========<====<===《 [rgthree-comfy] Loaded 47 magnificent nodes. 🎉 WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `C:\Users\zhang\Documents\ComfyUI\custom_nodes\was-ns\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 220 nodes successfully. "Art is not a thing; it is a way." - Elbert Hubbard ### Loading: ComfyUI-Manager (V3.30.4) [ComfyUI-Manager] network_mode: public ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository) Import times for custom nodes: 0.0 seconds: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-show-text 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_ttp_toolset 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-wd14-tagger 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\aigodlike-comfyui-translation 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\ComfyUI-GGUF 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-dev-utils 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_fk_server 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_ipadapter_plus 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\onebuttonprompt 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes 0.0 seconds: C:\Users\zhang\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager 0.0 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-inspire-pack 0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\ComfyUI-Crystools 0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-impact-pack 0.1 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-kjnodes 0.2 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-florence2 0.3 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-kynode 0.3 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\rgthree-comfy 0.5 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-supir 1.3 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\comfyui-easy-use 1.8 seconds: C:\Users\zhang\Documents\ComfyUI\custom_nodes\was-ns Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file (Background on this error at: https://sqlalche.me/e/20/e3q8) Starting server To see the GUI go to: http://127.0.0.1:8000 [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/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 [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json Disable Log Console. client id: 4f4aff1e9b7f4df7a933faa5b10792b7, console id: 52914ef6-fdaf-4ceb-8a39-2966ff6f9b25 FETCH ComfyRegistry Data: 5/91 FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE] [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used. nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.jsonFETCH ComfyRegistry Data: 10/91 [DONE] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extras.json [DONE] FETCH ComfyRegistry Data: 15/91 FETCH ComfyRegistry Data: 20/91 FETCH ComfyRegistry Data: 25/91 FETCH ComfyRegistry Data: 30/91 FETCH ComfyRegistry Data: 35/91 FETCH ComfyRegistry Data: 40/91 FETCH ComfyRegistry Data: 45/91 FETCH ComfyRegistry Data: 50/91 FETCH ComfyRegistry Data: 55/91 FETCH ComfyRegistry Data: 60/91 FETCH ComfyRegistry Data: 65/91 FETCH ComfyRegistry Data: 70/91 FETCH ComfyRegistry Data: 75/91 FETCH ComfyRegistry Data: 80/91 FETCH ComfyRegistry Data: 85/91 FETCH ComfyRegistry Data: 90/91 FETCH ComfyRegistry Data [DONE] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] [ComfyUI-Manager] All startup tasks have been completed. ``` <img width="2576" height="1440" alt="Image" src="https://github.com/user-attachments/assets/e08bfb04-b126-4949-931f-f56af0be3bd2" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1220-comfyui-2-3-22d6d73d3650815a9fa1f9f005c6bf8c) by [Unito](https://www.unito.io)
Author
Owner

@dosubot[bot] commented on GitHub (Jul 11, 2025):

Hi @kenny00968! I'm Dosu and I’m helping the desktop team.

你的启动日志显示 ComfyUI 桌面端启动缓慢,主要可能由以下几个方面导致:

  1. 自定义节点过多或有冲突:日志显示加载了大量 custom_nodes,部分节点(如 comfyui-easy-use、was-ns)加载耗时较长。社区反馈自定义节点冲突或异常会显著拖慢启动,建议尝试临时禁用所有 custom_nodes,确认是否启动变快。如果变快,再逐步排查是哪个节点导致卡顿。相关讨论

  2. 依赖或虚拟环境异常:日志有 Failed to restore comfyui-frontend-package 和 Failed to initialize database 报错,说明依赖或数据库初始化有问题。可以尝试删除 ComfyUI 安装目录下的 .venv 文件夹,然后重启桌面端让其自动重建虚拟环境并重新安装依赖。相关建议

  3. 配置文件损坏或路径错误:部分社区案例显示 config.json、extra_model_config.yaml 配置损坏或路径异常也会导致启动慢或卡死。可尝试备份并删除这些配置文件,重启桌面端让其自动生成新配置。相关案例

  4. 数据库初始化失败:日志中的 sqlite3 报错目前不会阻断启动,但未来可能影响功能和性能。确保没有权限或磁盘占用问题,必要时清理 user 目录下的数据库相关文件。

  5. 依赖缺失警告:如 xformers、onnxruntime 缺失会导致部分节点降级为 CPU 推理,虽然不直接影响启动速度,但建议补全依赖以避免后续推理慢。

  6. 外部环境影响:杀毒软件、磁盘IO慢、网络不畅也可能拖慢启动,建议排查是否有安全软件拦截、磁盘空间不足或网络异常。

如果上述方法无效,建议升级到最新版 ComfyUI 桌面端和依赖,近期有多次依赖和虚拟环境相关的更新,可能已修复部分启动慢的问题。依赖更新PR

如需进一步定位,可逐步排查 custom_nodes、依赖、配置文件,或提供更详细的日志。

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about desktop Share Dosu with your team

<!-- gh-comment-id:3062649469 --> @dosubot[bot] commented on GitHub (Jul 11, 2025): <!-- Greeting --> Hi @kenny00968! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the desktop team. <!-- Answer --> 你的启动日志显示 ComfyUI 桌面端启动缓慢,主要可能由以下几个方面导致: 1. **自定义节点过多或有冲突**:日志显示加载了大量 custom_nodes,部分节点(如 comfyui-easy-use、was-ns)加载耗时较长。社区反馈自定义节点冲突或异常会显著拖慢启动,建议尝试临时禁用所有 custom_nodes,确认是否启动变快。如果变快,再逐步排查是哪个节点导致卡顿。[相关讨论](https://github.com/Comfy-Org/desktop/issues/1216) 2. **依赖或虚拟环境异常**:日志有 `Failed to restore comfyui-frontend-package` 和 `Failed to initialize database` 报错,说明依赖或数据库初始化有问题。可以尝试删除 ComfyUI 安装目录下的 `.venv` 文件夹,然后重启桌面端让其自动重建虚拟环境并重新安装依赖。[相关建议](https://github.com/Comfy-Org/desktop/issues/836) 3. **配置文件损坏或路径错误**:部分社区案例显示 config.json、extra_model_config.yaml 配置损坏或路径异常也会导致启动慢或卡死。可尝试备份并删除这些配置文件,重启桌面端让其自动生成新配置。[相关案例](https://github.com/Comfy-Org/desktop/issues/687) 4. **数据库初始化失败**:日志中的 sqlite3 报错目前不会阻断启动,但未来可能影响功能和性能。确保没有权限或磁盘占用问题,必要时清理 user 目录下的数据库相关文件。 5. **依赖缺失警告**:如 xformers、onnxruntime 缺失会导致部分节点降级为 CPU 推理,虽然不直接影响启动速度,但建议补全依赖以避免后续推理慢。 6. **外部环境影响**:杀毒软件、磁盘IO慢、网络不畅也可能拖慢启动,建议排查是否有安全软件拦截、磁盘空间不足或网络异常。 如果上述方法无效,建议升级到最新版 ComfyUI 桌面端和依赖,近期有多次依赖和虚拟环境相关的更新,可能已修复部分启动慢的问题。[依赖更新PR](https://github.com/Comfy-Org/desktop/pull/1198) 如需进一步定位,可逐步排查 custom_nodes、依赖、配置文件,或提供更详细的日志。 <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=Comfy-Org%2Fdesktop).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=Comfy-Org%2Fdesktop). [![Leave Feedback](https://img.shields.io/badge/Leave%20Feedback-555555?style=flat)](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=Comfy-Org%2Fdesktop#message_id=3f363296-73bd-40a5-96a4-64d0443c6861) [![Ask Dosu about desktop](https://img.shields.io/badge/Ask%20Dosu%20about%20desktop-2f7b3f?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODYiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCA4NiA4OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4yOTIzNiAxMi43OTI4TDE3Ljc1OTMgNi42ODE4OFY3Mi41NjY3TDUuMjkyMzYgODQuMDYxOFYxMi43OTI4WiIgZmlsbD0iI0I0QkI5MSIvPjxwYXRoIGQ9Ik0xOC4yNTc1IDczLjExOTZMNTkuMTMyOSA3Mi43NDhMNTEuNzAxMSA4Mi40MDk1TDI5LjAzMzggODYuMjkxTDYuMjM5NjIgODUuMTU1NEwxOC4yNTc1IDczLjExOTZaIiBmaWxsPSIjN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IiBzdHJva2Utd2lkdGg9IjcuNjkxNjEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxwYXRoIGQ9Ik0wLjM0ODYzMyA4NS40OTQ2QzAuMzQ4NjMzIDg1LjQ5NDYgMjkuNDg1NiA4NS44MzA5IDM0LjgwOSA4NS42OThDNDQuODMzNyA4NS40NDc3IDUxLjI4NzIgODQuNDAyIDU3LjUyNjkgNzguOTcyNEM2Mi44MTI5IDc0LjM3MjcgNzUuMTM0MiA1OS42ODM2IDc1LjEzNDIgNTkuNjgzNiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI2LjE2NDgyIi8%2BPC9zdmc%2B)](https://github.dosu.com/Comfy-Org/desktop?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=Comfy-Org%2Fdesktop) [![Share Dosu with your team](https://img.shields.io/badge/Share%20Dosu%20with%20your%20team-1f6feb?style=flat)](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=Comfy-Org%2Fdesktop)
Author
Owner

@webfiltered commented on GitHub (Jul 11, 2025):

Hi there, the logs you've posted start after the screenshot you're showing. Please upload main.log:

https://docs.comfy.org/installation/desktop/windows#feedback-installation-failure

<!-- gh-comment-id:3063810774 --> @webfiltered commented on GitHub (Jul 11, 2025): Hi there, the logs you've posted start after the screenshot you're showing. Please upload main.log: https://docs.comfy.org/installation/desktop/windows#feedback-installation-failure
Author
Owner

@kenny00968 commented on GitHub (Aug 3, 2025):

comfyui.log_2025-08-01T16-03-51-986Z.log @webfiltered

<!-- gh-comment-id:3147462138 --> @kenny00968 commented on GitHub (Aug 3, 2025): [comfyui.log_2025-08-01T16-03-51-986Z.log](https://github.com/user-attachments/files/21564345/comfyui.log_2025-08-01T16-03-51-986Z.log) @webfiltered
Author
Owner

@webfiltered commented on GitHub (Oct 4, 2025):

Sincere apologies, it appears notifications & bot both acted a little strangely, here. That log shows ComfyUI taking ~25sec to start up, but also contains no custom nodes. It is very likely that you were experiencing was caused by the extensions/custom nodes. For this kind of issue, it helps to disable them to determine which is acting up (you can temporarily move them from the custom_nodes dir).

<!-- gh-comment-id:3368028294 --> @webfiltered commented on GitHub (Oct 4, 2025): Sincere apologies, it appears notifications & bot both acted a little strangely, here. That log shows ComfyUI taking ~25sec to start up, but also contains no custom nodes. It is very likely that you were experiencing was caused by the extensions/custom nodes. For this kind of issue, it helps to disable them to determine which is acting up (you can temporarily move them from the custom_nodes dir).
Author
Owner

@dosubot[bot] commented on GitHub (Jan 3, 2026):

Hi, @kenny00968. I'm Dosu, and I'm helping the desktop team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that ComfyUI desktop takes 2-3 minutes to start with errors about failing to restore the comfyui-frontend-package.
  • Logs indicate delays related to loading custom nodes, suggesting problematic or too many custom nodes might be the cause.
  • Possible causes discussed include dependency or virtual environment issues, corrupted config files, database initialization errors, missing dependencies, or external factors like antivirus or disk I/O.
  • Another user confirmed that startup is much faster (~25 seconds) without custom nodes, pointing to extensions/custom nodes as the likely source of the slowdown.
  • The issue remains unresolved with no recent updates or fixes provided.

Next Steps:

  • Please check if this issue still occurs with the latest version of the desktop app and if it remains relevant to your setup.
  • If it is still a problem, feel free to comment here to keep the discussion open; otherwise, I will automatically close this issue in 7 days.

Thanks for your understanding and contribution!

<!-- gh-comment-id:3707157295 --> @dosubot[bot] commented on GitHub (Jan 3, 2026): Hi, @kenny00968. I'm [Dosu](https://dosu.dev), and I'm helping the desktop team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that ComfyUI desktop takes 2-3 minutes to start with errors about failing to restore the comfyui-frontend-package. - Logs indicate delays related to loading custom nodes, suggesting problematic or too many custom nodes might be the cause. - Possible causes discussed include dependency or virtual environment issues, corrupted config files, database initialization errors, missing dependencies, or external factors like antivirus or disk I/O. - Another user confirmed that startup is much faster (~25 seconds) without custom nodes, pointing to extensions/custom nodes as the likely source of the slowdown. - The issue remains unresolved with no recent updates or fixes provided. **Next Steps:** - Please check if this issue still occurs with the latest version of the desktop app and if it remains relevant to your setup. - If it is still a problem, feel free to comment here to keep the discussion open; otherwise, I will automatically close this issue in 7 days. Thanks for your understanding and contribution!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#342
No description provided.