comfyanonymous / ComfyUI

The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.
GNU General Public License v3.0
40.96k stars 4.36k forks source link

Getting error as of 24 hours ago: Error starting the server: startup_server() missing 1 required positional argument: 'port' #3382

Open gonzalu opened 2 months ago

gonzalu commented 2 months ago

Getting this error suddenly

Starting server

To see the GUI go to: http://127.0.0.1:8188
To see the GUI go to: https://127.0.0.1:8189
Error starting the server: startup_server() missing 1 required positional argument: 'port'
FETCH DATA from: E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json

However, clicking the link does work...

edwardsdigital commented 2 months ago

I got the same error with the same outcome after an update yesterday. I haven’t had a chance to look into the cause myself yet.

gonzalu commented 2 months ago

...and now my xformers seems to have broken startup :(

gonzalu commented 2 months ago

OK fixed the xformers problem... but the auto-launch is still broken :(

moh777 commented 2 months ago

I have the same problem

oktetopython commented 2 months ago

Error starting the server: startup_server() missing 1 required positional argument: 'port'

YUMEORIGINS commented 2 months ago

same here : Error starting the server: startup_server() missing 1 required positional argument: 'port' and no link to click so comfyui dead for the moment

ltdrdata commented 2 months ago

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned.

goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

YUMEORIGINS commented 2 months ago

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned.

goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

ltdrdata commented 2 months ago

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

YUMEORIGINS commented 2 months ago

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

it's not working at all : stuck at this error message and not opening

gonzalu commented 2 months ago

Updated just now (10:40pm Eastern Time) and the error is gone. ComfyUI starts and opens the web browser automatically like it did before.

Thank you all !!

ltdrdata commented 2 months ago

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

it's not working at all : stuck at this error message and not opening

It seems like a good idea to disable all custom nodes and try running it.

YUMEORIGINS commented 2 months ago

Your symptoms seem to indicate that the versions of the files in the comfy repository are not properly aligned. goto ComfyUI dir in cmd and execute this.

git reset --hard
git pull

And also make sure that the above command is applied properly without any error messages.

when i do git reset --hard in the dir Comfyui i have this : HEAD is now at f81a6fa Fix some edge cases with samplers and arrays with a single sigma

Is ComfyUI working properly? Are you still seeing the same error (startup_server ... )? If it's the latter, it means something is interfering with the normal operation of ComfyUI.

it's not working at all : stuck at this error message and not opening

It seems like a good idea to disable all custom nodes and try running it.

i have reinstalled on an another hdd and the simple version work fine ! Now i have to install thes rest ( custom, models, loras .... ) 😂

AugmentedRealityCat commented 2 months ago

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: https://github.com/shadowcz007/comfyui-mixlab-nodes/issues/209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

YUMEORIGINS commented 2 months ago

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

Ok thanks works for me too !!

Suka4GitHub commented 2 months ago

Update of MixLab nodes as above worked for me 2 :-)

jvm27 commented 2 months ago

How can I update the nodes if I cant start comfyui? Maybe it's possible without start the interface. I'm not a programmer .

ltdrdata commented 2 months ago

How can I update the nodes if I cant start comfyui? Maybe it's possible without start the interface. I'm not a programmer .

goto custom_nodes/comfyui-mixlab-nodes in cmd and execute git pull

gxground commented 1 month ago

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

works ,thanks a lot

Jackyzp0307 commented 1 month ago

上述 MixLab 节点的更新对我有用 2 :-)

GonDesign commented 1 month ago
Snipaste_2024-05-06_15-20-13 Snipaste_2024-05-06_15-20-24
GonDesign commented 1 month ago

This problem was solved by adjusting the kernel and mixlab plugin versions to version 20240420.

Njnngame commented 1 month ago

This problem was solved by adjusting the kernel and mixlab plugin versions to version 20240420.

May I know how can I do this? I'm a noob to this.

liricooo commented 1 month ago

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

thx~~

jhmorel commented 2 days ago

The solution for me was to update MixLab nodes. https://github.com/shadowcz007/comfyui-mixlab-nodes

There is a thread about it in the Issues tab for that repo: shadowcz007/comfyui-mixlab-nodes#209

Updating ComfyUI itself did not change or solve anything - I was still getting the same error message. But now that I have updated MixLab nodes, everything is working again like it should.

Thank you, it worked for me!!!!