Hugging Face Space Update error #6948
-
What happened?An error was encountered while attempting to factory Rebuild a Docker image for the project. Steps to Reproduce
What browsers are you seeing the problem on?No response Relevant log output--> RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-rw.yaml
/bin/sh: curl: not found
--> ERROR: process "/bin/sh -c curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-rw.yaml" did not complete successfully: exit code: 127
### Version Information
FROM ghcr.io/danny-avila/librechat-dev:latest@sha256:4017ca73e64764dc9baed70bbeca2775188a276d86fbd30f3fa67738ae2eede5
DONE 1.3s
DONE 1.6s
DONE 1.8s
DONE 18.2s
DONE 18.3s
--> RUN mkdir -p /app/uploads/temp
DONE 0.0s
--> RUN mkdir -p /app/client/public/images/temp
DONE 0.0s
--> RUN mkdir -p /app/api/logs/
DONE 0.0s
--> RUN mkdir -p /app/data
DONE 0.0s
--> RUN chmod -R 777 /app/uploads/temp
DONE 0.0s
--> RUN chmod -R 777 /app/client/public/images
DONE 0.0s
--> RUN chmod -R 777 /app/api/logs/
DONE 0.1s
--> RUN chmod -R 777 /app/data
DONE 0.0s
--> RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-rw.yaml
/bin/sh: curl: not found
--> ERROR: process "/bin/sh -c curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-rw.yaml" did not complete successfully: exit code: 127
ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Similiar problem here:
|
Beta Was this translation helpful? Give feedback.
-
I've noticed the same thing (#6899). My temporary fix is to change the Dockerfile to pull from an older version.
|
Beta Was this translation helpful? Give feedback.
-
@isaactallack Thanks, that works as temporary solution until this is fixed. |
Beta Was this translation helpful? Give feedback.
-
Hugging Face had problems during the weekend, should be fixed now: https://discuss.huggingface.co/t/my-space-suddenly-went-offline-the-cpu-cannot-restart/151121/22 |
Beta Was this translation helpful? Give feedback.
For the curl not found error, you can provide a link to the yaml file with the
CONFIG_PATH
var instead of trying to curl it from the dockerfile (that's what we did on the demo when updating to latest)Comment out the curl request in the dockerfile
Add the
CONFIG_PATH
variable instead