Error while cloning Space repository
Hello Everyone,The following build error appears when I open my space app. How to fix this?Thanks,Build error
Error while cloning Space repository
Build logs:

Step 1/29 : ARG PYTHON_VERSION
Step 2/29 : FROM python:${PYTHON_VERSION}
 ---> dd4ac8dff24c
Step 3/29 : RUN apt-get update && apt-get install -y git-lfs
 ---> Using cache
 ---> 8df2f50f96b4
Step 4/29 : RUN git lfs install
 ---> Using cache
 ---> d1c1c68c631a
Step 5/29 : COPY packages.txt /root/packages.txt
 ---> Using cache
 ---> eca743e9a09e
Step 6/29 : RUN apt-get update && xargs -r -a /root/packages.txt apt-get install -y
 ---> Using cache
 ---> 9346ca2cdf77
Step 7/29 : RUN useradd -m user
 ---> Using cache
 ---> 5af76232ed9a
Step 8/29 : USER user
 ---> Using cache
 ---> e369c2ca9971
Step 9/29 : ENV HOME /home/user
 ---> Using cache
 ---> 1bdf8ca58d6f
Step 10/29 : ENV PATH $HOME/.local/bin:$PATH
 ---> Using cache
 ---> e9e1ace0d870
Step 11/29 : WORKDIR $HOME
 ---> Using cache
 ---> eb8a8b54111a
Step 12/29 : RUN mkdir app
 ---> Using cache
 ---> 4c0f270956bf
Step 13/29 : WORKDIR $HOME/app
 ---> Using cache
 ---> 2d523e277334
Step 14/29 : ARG PIP_VERSION=22.0.2
 ---> Using cache
 ---> 1893f6612976
Step 15/29 : RUN pip install pip==${PIP_VERSION}
 ---> Using cache
 ---> 9e9697ac2f08
Step 16/29 : RUN pip install         datasets         huggingface-hub
 ---> Using cache
 ---> d4a8da8b0789
Step 17/29 : COPY requirements.txt $HOME/app/requirements.txt
 ---> Using cache
 ---> 66a24dc457b7
Step 18/29 : RUN pip install -r requirements.txt
 ---> Using cache
 ---> b63e609dd6bd
Step 19/29 : ARG STREAMLIT_VERSION
 ---> Using cache
 ---> 973b762a04fb
Step 20/29 : ARG GRADIO_VERSION
 ---> Using cache
 ---> 4bde5729320a
Step 21/29 : RUN pip install         streamlit==${STREAMLIT_VERSION}         gradio==${GRADIO_VERSION}
 ---> Using cache
 ---> 7f19c691bc9b
Step 22/29 : COPY --chown=user ./ $HOME/app
 ---> de449e5cb2ef
Step 23/29 : ENV PYTHONPATH $HOME/app
 ---> Running in 94d0ff64db06
Removing intermediate container 94d0ff64db06
 ---> 2c2df78bf75b
Step 24/29 : ENV PYTHONUNBUFFERED 1
 ---> Running in 8d67d4b422e9
Removing intermediate container 8d67d4b422e9
 ---> 1a4e761c0dc0
Step 25/29 : ENV GRADIO_ALLOW_FLAGGING never
 ---> Running in 1bf353583203
Removing intermediate container 1bf353583203
 ---> 6c3fc939dcb0
Step 26/29 : ENV GRADIO_NUM_PORTS 1
 ---> Running in 450dfb07e72e
Removing intermediate container 450dfb07e72e
 ---> 4e312892faf2
Step 27/29 : ENV GRADIO_SERVER_NAME 0.0.0.0
 ---> Running in 916703fabe20
Removing intermediate container 916703fabe20
 ---> 5185fd571c0c
Step 28/29 : ENV GRADIO_THEME huggingface
 ---> Running in 14d471c3fd1b
Removing intermediate container 14d471c3fd1b
 ---> 034cc6ffcef5
Step 29/29 : ENV SYSTEM spaces
 ---> Running in 99534e1b6b8c
Removing intermediate container 99534e1b6b8c
 ---> 5005c44d5e3a
Successfully built 5005c44d5e3a
Successfully tagged space-cpu-alowasawsan/third-molar-segmentation-67641f9717238d3b61e35ea828e4265718ce8f47:latest
2022-03-28T20:03:59Z
This was a server issue, your Spaces are up again
2024-03-27T17:24:22Z
I’m getting a similar issue now:image1309×570 22.8 KBAny idea what could cause this?
2024-03-27T17:33:17Z
I too am facing this issue. It was working a while ago
2024-03-27T17:33:42Z
^^ same issue as others
2024-03-27T17:55:00Z
Screenshot 2024-03-27 at 2.52.59 PM3450×1100 278 KBSame. Trying to create the simplest app to testScreenshot 2024-03-27 at 2.56.13 PM3832×1050 195 KB
2024-03-27T18:38:17Z
Same here. The project worked before.image2252×463 25.3 KB
2024-03-27T18:41:19Z
I am seeing that it’s failing for private spaces. I created a public one and it worked. Then I marked it as private and then it was broken. Is yours public or private?
2024-03-27T18:50:57Z
Yes, I also faced the same issue. Just changed Private to Public and it worked fine !!
2024-03-27T18:51:19Z
Yes, you are right, thanks! It started to build as public space, although still failing while installing some components that used to work before.
2024-03-27T18:57:51Z
Where do we create an issue about this?
2024-03-27T19:02:56Z
When trying to build using a GPU I receive this error:→ ERROR: process “/bin/sh -c mkdir -p .streamlit && git config --global core.excludesfile ~/.gitignore && echo ".streamlit" > ~/.gitignore” did not complete successfully: exit code: 127while no problem on the CPU
2024-03-27T19:17:14Z
Same issue. private repo.
2024-03-27T19:22:08Z
@osansevieroany ideas on broken private hugging face spaces? Can I create a GH issue somewhere?
2024-03-27T20:08:28Z
I’m seeing too, today.  Will try changing private to public and see what happens
2024-03-27T21:03:00Z
Hi all, sorry for the issues. It should be fixed now!
2024-03-27T21:08:54Z
Thanks, it’s fixed for me now.
2024-03-27T21:16:19Z
Thanks, it’s working now! There is still a problem with the streamlit package on GPU only that appeared in the same time with private building issue (it worked fine before):→ ERROR: process “/bin/sh -c mkdir -p .streamlit && git config --global core.excludesfile ~/.gitignore && echo ".streamlit" > ~/.gitignore” did not complete successfully: exit code: 127Is there any link?
2024-03-28T11:02:23Z
I’ve converted it from private ->public, and then again public → private, and it’s working.