mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
511 stars 137 forks source link

How to solve "Fooocus exists but remote URL will be updated.Fooocus exists, but not a git repo. " #189

Closed daquangao closed 4 months ago

daquangao commented 5 months ago
2024-01-23 193636

Unable to start. How to solve the problem? thanks!

konieshadow commented 5 months ago

@daquangao Did you copy to the repositories/Fooocus folder from other place? Or could you check if where is a '.git' folder under repositories/Fooocus?

mrhan1993 commented 5 months ago

do not use Download ZIP, use git clone, or level repositories dir empty, app will process all things. if you have models, you can move it out, and then run app, when it finished, copy models back

miklosme commented 5 months ago

I had this problem because I was eager and git cloned the repo before starting the Docker. The right order is first to make the repositories folder and leave it empty, start Docker, let it clone, and after that you can copy the models.

My guess is it's a compatibility mismatch between the host systems's git version and the one used by the container. I was trying to use git version 2.43.0.windows.1.