Build error with factory rebuild

Many of my spaces are getting build error. I have tried factory rebuild a few times. The issue persists.

===== Build Queued at 2024-03-29 02:51:47 / Commit SHA: 6bd2654 =====

--> FROM docker.io/library/python:3.10@sha256:0be08c1c2c060efbcb8cf14d3d2c3e1e8d3f46ca7cb6937e7565b4658a85b790
DONE 0.0s


--> ERROR: failed to calculate checksum of ref y2rfi99qeb2kddrv930ddhrmz::tnufyz1j7tl25n4zg2h7re3wp: "/.lfs.hf.co": not found
1 Like

Iā€™m also having this issue in a streamlit app.

This issue still happening in simple gradio app. ( OpenKYC - FaceOnLive Community Project - a Hugging Face Space by FaceOnLive
Please resolve this.

--> ERROR: failed to calculate checksum of ref zkqgkfjn4oj615x4aiz4eario::sekbtgyx0twzxt9l6bqh66r1b: "/.lfs.hf.co": not found

@Wauplin, would it be better if we open an issue on huggingface/huggingface_hub in this case?

@XciD have you ever encountered this issue while buiding a Space docker image?

(--> ERROR: failed to calculate checksum of ref y2rfi99qeb2kddrv930ddhrmz::tnufyz1j7tl25n4zg2h7re3wp: "/.lfs.hf.co": not found)

While infra works on a fix, could everyone please try to do a new commit to the repo? not only a factory reboot, but edit a file or upload a dummy file, that would trigger a different rebuild. thanks

I got confirmation from the infra team that this was a temporary issue that has now been solved :+1:

1 Like

Thank you! Just checked; all good now!

Popping up again? I just received the following error


Build error

Build failed with exit code: 1

Build logs:

===== Build Queued at 2024-07-01 04:54:25 / Commit SHA: c4a47c9 =====

--> FROM docker.io/library/python:3.10@sha256:c0352a2c64efe4cc08b198e90b97ed7e08897518c4bee99647e3eaf676e84951
DONE 0.0s

--> RUN apt-get update && apt-get install -y fakeroot &&     mv /usr/bin/apt-get /usr/bin/.apt-get &&     echo '#!/usr/bin/env sh\nfakeroot /usr/bin/.apt-get $@' > /usr/bin/apt-get &&     chmod +x /usr/bin/apt-get && 	rm -rf /var/lib/apt/lists/* && 	useradd -m -u 1000 user
CACHED

--> WORKDIR /home/user/app
CACHED

--> RUN apt-get update && apt-get install -y 	git 	git-lfs 	ffmpeg 	libsm6 	libxext6 	cmake 	rsync 	libgl1-mesa-glx 	&& rm -rf /var/lib/apt/lists/* 	&& git lfs install
CACHED

--> COPY --chown=1000:1000 --from=root / /
CACHED

--> RUN pip install --no-cache-dir pip==22.3.1 && 	pip install --no-cache-dir 	datasets 	"huggingface-hub>=0.19" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1" "pydantic~=1.0"
CACHED

--> Restoring cache