Hello,
I have been using the ComfyUI desktop version, and I recently noticed a notification in the Manager indicating that updates were needed. After updating both the custom nodes and ComfyUI, I can no longer access the desktop version. It continuously prompts me to reinstall.
Could you please help me understand what might have gone wrong and provide a solution? Although the WebUI version works well on the Chrome browser, I primarily rely on the local desktop application, so I would appreciate a quick resolution to this issue.
Thank you for your support!
log is here !
[2025-01-17 09:33:38.995] [error] Adding extra search path checkpoints C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\checkpoints\
[2025-01-17 09:33:38.996] [error] Adding extra search path classifiers C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\classifiers
Adding extra search path clip C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\clip
Adding extra search path clip_vision C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\clip_vision
Adding extra search path configs C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\configs
Adding extra search path controlnet C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\controlnet
Adding extra search path diffusers C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\diffusers
Adding extra search path diffusion_models C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\diffusion_models
Adding extra search path embeddings C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\embeddings
Adding extra search path gligen C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\gligen
Adding extra search path hypernetworks C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\hypernetworks
Adding extra search path loras C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\loras
Adding extra search path photomaker C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\photomaker
Adding extra search path style_models C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\style_models
Adding extra search path unet C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\unet
Adding extra search path upscale_models C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\upscale_models
Adding extra search path vae C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\vae
Adding extra search path vae_approx C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\vae_approx
Adding extra search path animatediff_models C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_models
Adding extra search path animatediff_motion_lora C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_motion_lora
Adding extra search path animatediff_video_formats C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\animatediff_video_formats
Adding extra search path ipadapter C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\ipadapter
Adding extra search path liveportrait C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\liveportrait
Adding extra search path insightface C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\insightface
Adding extra search path layerstyle C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\layerstyle
Adding extra search path LLM C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\LLM
Adding extra search path Joy_caption C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\Joy_caption
Adding extra search path sams C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\sams
Adding extra search path blip C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\blip
Adding extra search path CogVideo C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\CogVideo
Adding extra search path xlabs C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\xlabs
Adding extra search path instantid C:\Users\USER\Documents\Junwan_Kim\comfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\models\instantid
Adding extra search path checkpoints C:\Users\USER\Documents\ComfyUI\models\checkpoints
Adding extra search path classifiers C:\Users\USER\Documents\ComfyUI\models\classifiers
Adding extra search path clip C:\Users\USER\Documents\ComfyUI\models\clip
Adding extra search path clip_vision C:\Users\USER\Documents\ComfyUI\models\clip_vision
Adding extra search path configs C:\Users\USER\Documents\ComfyUI\models\configs
Adding extra search path controlnet C:\Users\USER\Documents\ComfyUI\models\controlnet
Adding extra search path diffusers C:\Users\USER\Documents\ComfyUI\models\diffusers
Adding extra search path diffusion_models C:\Users\USER\Documents\ComfyUI\models\diffusion_models
Adding extra search path embeddings C:\Users\USER\Documents\ComfyUI\models\embeddings
Adding extra search path gligen C:\Users\USER\Documents\ComfyUI\models\gligen
Adding extra search path hypernetworks C:\Users\USER\Documents\ComfyUI\models\hypernetworks
Adding extra search path loras C:\Users\USER\Documents\ComfyUI\models\loras
Adding extra search path photomaker C:\Users\USER\Documents\ComfyUI\models\photomaker
Adding extra search path style_models C:\Users\USER\Documents\ComfyUI\models\style_models
Adding extra search path unet C:\Users\USER\Documents\ComfyUI\models\unet
Adding extra search path upscale_models C:\Users\USER\Documents\ComfyUI\models\upscale_models
Adding extra search path vae C:\Users\USER\Documents\ComfyUI\models\vae
Adding extra search path vae_approx C:\Users\USER\Documents\ComfyUI\models\vae_approx
Adding extra search path animatediff_models C:\Users\USER\Documents\ComfyUI\models\animatediff_models
Adding extra search path animatediff_motion_lora C:\Users\USER\Documents\ComfyUI\models\animatediff_motion_lora
Adding extra search path animatediff_video_formats C:\Users\USER\Documents\ComfyUI\models\animatediff_video_formats
Adding extra search path ipadapter C:\Users\USER\Documents\ComfyUI\models\ipadapter
Adding extra search path liveportrait C:\Users\USER\Documents\ComfyUI\models\liveportrait
Adding extra search path insightface C:\Users\USER\Documents\ComfyUI\models\insightface
Adding extra search path layerstyle C:\Users\USER\Documents\ComfyUI\models\layerstyle
Adding extra search path LLM C:\Users\USER\Documents\ComfyUI\models\LLM
Adding extra search path Joy_caption C:\Users\USER\Documents\ComfyUI\models\Joy_caption
Adding extra search path sams C:\Users\USER\Documents\ComfyUI\models\sams
Adding extra search path blip C:\Users\USER\Documents\ComfyUI\models\blip
Adding extra search path CogVideo C:\Users\USER\Documents\ComfyUI\models\CogVideo
Adding extra search path xlabs C:\Users\USER\Documents\ComfyUI\models\xlabs
Adding extra search path instantid C:\Users\USER\Documents\ComfyUI\models\instantid
Adding extra search path custom_nodes C:\Users\USER\Documents\ComfyUI\custom_nodes/
Adding extra search path download_model_base C:\Users\USER\Documents\ComfyUI\models
Setting output directory to: C:\Users\USER\Documents\ComfyUI\output
Setting input directory to: C:\Users\USER\Documents\ComfyUI\input
Setting user directory to: C:\Users\USER\Documents\ComfyUI\user
[2025-01-17 09:33:42.012] [info] [START] Security scan
[DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time:
[2025-01-17 09:33:42.013] [info] 2025-01-17 09:33:42.012
** Platform: Windows
** Python version: 3.12.8 (main, Dec 6 2024, 18:10:20) [MSC v.1942 64 bit (AMD64)]
** Python executable: C:\Users\USER\Documents\ComfyUI.venv\Scripts\python.exe
** ComfyUI Path: C:\Users\USER\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI
** User directory: C:\Users\USER\Documents\ComfyUI\user
** ComfyUI-Manager config path: C:\Users\USER\Documents\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: C:\Users\USER\Documents\ComfyUI\user\comfyui.log
[2025-01-17 09:33:42.805] [info] [START] Security scan
[2025-01-17 09:33:43.396] [info] [DONE] Security scan
[2025-01-17 09:33:43.397] [error] Failed to execute startup-script: C:\Users\USER\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py / type object ‘datetime.datetime’ has no attribute ‘datetime’
[2025-01-17 09:33:43.398] [error] object address : 000002677CB550E0
object refcount : 3
object type : 00007FF8B7632270
object type name: AttributeError
object repr : AttributeError(“type object ‘datetime.datetime’ has no attribute ‘datetime’”)
lost sys.stderr
Hi there, can you please check your main.log
, or upload it?
The solution for that user was:
Have reviewed the logs - it is almost certainly being caused by a custom nodes.
If you search for the exact string [info] ERROR: Restoring in the main.log you sent, you should find 4 instances - each one naming an extension that failed to be restored.
There were some other errors, but this is the easiest starting point. You can simply disable those four by moving their directories out of the custom_nodes directory in your install location.
main.log (1023.7 KB)
hello. Thank you for your kind reply. I will share the main logfile with you. I’m not sure how to check it as I don’t have basic knowledge of the code… Thanks for your help.
It seems that one of your extensions is blocking server startup. Can you please try moving all the custom node packs out of the custom nodes directory, then loading the app? This should narrow down if we should be looking a the desktop code, or if we just need to find which extension is causing the issue.
1 Like
I had the same error. Just replaced the ComfyUI Manager custom node and startup was fine again.
1 Like
skyral
February 2, 2025, 10:36am
7
HI there,
i don’t know if i should make another thread or post it here, since i get the same error but not after an update. I tried installing for the first time i got some nvidia driver errors, then i updated and run the installation again, then it asked for the git, i installed again and then i got the same error as Magatone. As i see it doesn’t let me upload here my main.log because i am new here…any help would be appreciated.
Please do make another post. Generally for support forums, you should always make a post for your own error. Reference or link to the existing one that you believe is related.
You may simply watch another post to get updates on it. Doing this avoids pinging everyone else that is already subscribed to it.
Please do mention if you’re still unable to upload a log in a new post.
I can’t see any mention of having tried the troubleshooting steps I laid out in this thread - if you have not, I am kind of curious why, but please try that first.
Thanks, I solved, have a nice day
Thank you so much. Resolved.
1 Like
system
Closed
February 4, 2025, 5:26am
11
This topic was automatically closed 5 hours after the last reply. New replies are no longer allowed.