这是indexloc提供的服务,不要输入任何密码
Skip to content

Backends not being downloaded due to MANIFEST_UNKNOWN error #5899

@johndev168

Description

@johndev168

LocalAI version: v2.29.0 with latest commit being #5732 built from source with BUILD_TYPE=metal

Environment, CPU architecture, OS, and Version: Mac T8132 MacOS 15.5 24F74 no VM

Describe the bug
When trying to download a backend via Backends tab it's not being downloaded but instead throws the following error:

10:41AM ERR error installing backend localai@metal-llama-cpp error="failed to download backend \"quay.io/go-skynet/local-ai-backends:latest-metal-darwin-arm64-llama-cpp\": failed to get image \"quay.io/go-skynet/local-ai-backends:latest-metal-darwin-arm64-llama-cpp\": GET https://quay.io/v2/go-skynet/local-ai-backends/manifests/latest-metal-darwin-arm64-llama-cpp: MANIFEST_UNKNOWN: manifest unknown; map[]"

It keeps spamming the following until I visit another site:

10:41AM INF Success ip=xxxxx latency="146.917µs" method=GET status=200 url=/browse/backend/job/progress/0bb6b208-686a-11f0-b0bf-fe7740099ce4

To Reproduce
Clone the repo, build it with BUILD_TYPE=metal and once run you can simply try to download a backend. The error gets thrown immediately upon clicking the Install button.

Expected behavior
It should download the backend and install it.

Logs

10:41AM DBG UI job submitted to install backend: localai@metal-llama-cpp

10:41AM WRN installing backend localai@metal-llama-cpp
10:41AM INF Success ip=xxxxx latency="254.709µs" method=POST status=200 url=/browse/install/backend/localai@metal-llama-cpp
10:41AM DBG Installing backend from gallery galleries=[{"name":"localai","url":"github:mudler/LocalAI/backend/index.yaml@master"}] name=localai@metal-llama-cpp
10:41AM ERR error installing backend localai@metal-llama-cpp error="failed to download backend \"quay.io/go-skynet/local-ai-backends:latest-metal-darwin-arm64-llama-cpp\": failed to get image \"quay.io/go-skynet/local-ai-backends:latest-metal-darwin-arm64-llama-cpp\": GET https://quay.io/v2/go-skynet/local-ai-backends/manifests/latest-metal-darwin-arm64-llama-cpp: MANIFEST_UNKNOWN: manifest unknown; map[]"
10:41AM INF Success ip=xxxxx latency="146.917µs" method=GET status=200 url=/browse/backend/job/progress/0bb6b208-686a-11f0-b0bf-fe7740099ce4
10:41AM INF Success ip=xxxxx latency="121.625µs" method=GET status=200 url=/browse/backend/job/progress/0bb6b208-686a-11f0-b0bf-fe7740099ce4
10:41AM INF Success ip=xxxxx latency="99.667µs" method=GET status=200 url=/browse/backend/job/progress/0bb6b208-686a-11f0-b0bf-fe7740099ce4

Additional context
It used to work (yesterday it did) but now after doing a fresh build it does not work anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions