Open Techno-Trek opened 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.
@dosu
running the command "docker compose up --build" another error occurs:
[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
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.
@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
So can the author be more rigorous? According to the README, it's impossible to achieve successful build.
@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
@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 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
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.
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
the docker-compose.yaml file should be updated with all "images:" directed to "stangirard/quivr-backend-prebuilt:latest"
image: stangirard/quivr-backend-prebuilt:latest
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
Twitter / LinkedIn details
No response