QuivrHQ / quivr

Open-source RAG Framework for building GenAI Second Brains 🧠 Build productivity assistant (RAG) βš‘οΈπŸ€– Chat with your docs (PDF, CSV, ...) & apps using Langchain, GPT 3.5 / 4 turbo, Private, Anthropic, VertexAI, Ollama, LLMs, Groq that you can share with users ! Efficient retrieval augmented generation framework
https://quivr.com
Other
35.85k stars 3.48k forks source link

[Bug]: Error response from daemon: No such image: backend-base:latest #2885

Open Techno-Trek opened 1 month ago

Techno-Trek commented 1 month ago

What happened?

After the last update I can no longer start building the quivr docker images. The error is presented when executing the "docker compose up" command

System: Ubuntu Server 24.04 LTS

Relevant log output

=> [frontend runner 7/8] COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./                                              0.5s
 => [frontend runner 8/8] COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static                                      0.0s
 => [frontend] exporting to image                                                                                                         0.3s
 => => exporting layers                                                                                                                   0.3s
 => => writing image sha256:fb07fbe90db961d2f09f593f666debf18b5eb03e7793b0728a2c6d5e1271d7bc                                              0.0s
 => => naming to docker.io/library/quivr-frontend-prebuilt                                                                                0.0s
[+] Running 6/3
 βœ” Network quivr_default   Created                                                                                                        0.1s
 βœ” Container redis         Created                                                                                                        0.0s
 βœ” Container backend-core  Created                                                                                                        0.0s
 βœ” Container web           Created                                                                                                        0.0s
 βœ” Container worker        Created                                                                                                        0.0s
 βœ” Container beat          Created                                                                                                        0.0s
 β ‹ Container notifier      Creating                                                                                                       0.0s
 β ‹ Container flower        Creating                                                                                                       0.0s
Error response from daemon: No such image: backend-base:latest

Twitter / LinkedIn details

No response

linear[bot] commented 1 month ago

TICK-23 [Bug]: Error response from daemon: No such image: backend-base:latest

dosubot[bot] commented 1 month ago

To resolve the issue where the "docker compose up" command fails with the error "No such image: backend-base:latest" on your Ubuntu Server 24.04 LTS system, you need to ensure that the backend-base:latest image is available locally or can be built from the provided Dockerfile.

You can force the build process by running the following command:

docker compose up --build

This command will build the backend-base:latest image from the Dockerfile specified in the backend-core service configuration and then start the services.

Here is the relevant part of the docker-compose.dev.yml file that specifies the build context and Dockerfile:

services:
  backend-core:
    image: backend-base:latest
    build:
      context: backend
      dockerfile: Dockerfile.dev

By running docker compose up --build, Docker will use the backend/Dockerfile.dev to build the backend-base:latest image, ensuring that the image is available for all services that depend on it [1][2].

To continue talking to Dosu, mention @dosu.

Techno-Trek commented 1 month ago

@dosu

running the command "docker compose up --build" another error occurs:

=> CACHED [worker 12/13] COPY supabase /code/supabase/ 0.0s => ERROR [worker 13/13] RUN poetry install --no-root --with dev,test && playwright install --with-deps && rm -rf /tmp/poetry_ca 1.1s

[worker 13/13] RUN poetry install --no-root --with dev,test && playwright install --with-deps && rm -rf /tmp/poetry_cache: 0.555 Skipping virtualenv creation, as specified in config file. 0.655 Installing dependencies from lock file 1.019 1.019 pyproject.toml changed significantly since poetry.lock was last generated. Run poetry lock [--no-update] to fix the lock file.

failed to solve: process "/bin/sh -c poetry install --no-root --with dev,test && playwright install --with-deps && rm -rf $POETRY_CACHE_DIR" did not complete successfully: exit code: 1

dosubot[bot] commented 1 month ago

To resolve the issue where the poetry install --no-root --with dev,test command fails due to a significant change in the pyproject.toml file since the poetry.lock file was last generated, you should regenerate the poetry.lock file. This can be done by running the following command:

poetry lock

After regenerating the poetry.lock file, you can proceed with the installation:

poetry install --no-root --with dev,test

This will ensure that the poetry.lock file is in sync with the pyproject.toml file, resolving any discrepancies that might have caused the installation to fail [1][2].

To continue talking to Dosu, mention @dosu.

Techno-Trek commented 1 month ago

@dosu It didn't work, the error persists.

=> => exporting layers 0.0s => => writing image sha256:adc6af4a6bf70f6b39509eee94856ad2b84bc9fd96eaec8f98d2e8df4a52d2d6 0.0s => => naming to docker.io/library/quivr-frontend-prebuilt 0.0s [+] Running 5/6 βœ” Network quivr_default Created 0.3s βœ” Container redis Created 10.3s βœ” Container backend-core Created 10.3s β ‹ Container web Creating 0.1s βœ” Container beat Created 0.1s βœ” Container worker Created 0.1s β ‹ Container flower Creating 0.0s β ‹ Container notifier Creating 0.0s Error response from daemon: No such image: backend-base:latest

lanyur commented 1 month ago

So can the author be more rigorous? According to the README, it's impossible to achieve successful build.

zdkderpphb commented 1 month ago

@lanyur I also ran in this problem. After Codecheck i changed the Line with the image. Maybe a quick fix for you.

backend-base:latest to stangirard/quivr-backend-prebuilt:latest

Techno-Trek commented 1 month ago

@zdkderpphb Thank you very much. It apparently worked, I'm going to redo everything from the beginning to see if it will work correctly.

lanyur commented 1 month ago

@lanyur I also ran in this problem. After Codecheck i changed the Line with the image. Maybe a quick fix for you.

backend-base:latest to stangirard/quivr-backend-prebuilt:latest

thank you,it's worked

PFLigthart commented 1 month ago

I also have the same error which is partially resolved by following @zdkderpphb recommendation. However, I am unable to get llama3 or 2 to work with ollama. I followed the instructions on the README exactly. I also checked issue #2777 but this does not solve my problems. Tried to get it working today and yesterday.

c4801725870 commented 1 month ago

I also have the same error which is partially resolved by following @zdkderpphb recommendation. However, I am unable to get llama3 or 2 to work with ollama. I followed the instructions on the README exactly. I also checked issue #2777 but this does not solve my problems. Tried to get it working today and yesterday.

hi, sorry about your troubles. see https://github.com/QuivrHQ/quivr/issues/2777 once again, i got it working

atulgrover commented 1 month ago

the docker-compose.yaml file should be updated with all "images:" directed to "stangirard/quivr-backend-prebuilt:latest"

image: stangirard/quivr-backend-prebuilt:latest