Coder Social home page Coder Social logo

Cannot build docker because ERROR: Service 'misp-core' failed to build: COPY failed: stat wheels: file does not exist about misp-docker HOT 16 CLOSED

Danouchka avatar Danouchka commented on August 18, 2024
Cannot build docker because ERROR: Service 'misp-core' failed to build: COPY failed: stat wheels: file does not exist

from misp-docker.

Comments (16)

ostefano avatar ostefano commented on August 18, 2024 1

@Danouchka try to ignore the cache while building, i.e., docker-compose build --no-cache

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024 1

Indeed that works better with 40GB and docker compose , not docker compose
I want to expose it publicly , should I change the base URL to my FQDN ?

from misp-docker.

ostefano avatar ostefano commented on August 18, 2024 1

Correct.

from misp-docker.

ostefano avatar ostefano commented on August 18, 2024 1

This is expected because you are using self signed certificates. You need to replace them.
Also, this is not anymore a concern of this specific image. Please use gitter or other avenues to get further support.

from misp-docker.

ostefano avatar ostefano commented on August 18, 2024 1

@ncsc-fi-kimmo it is because of a combination of docker-related packages installed by some distros.

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

My docker version

docker version

Client: Docker Engine - Community
Version: 24.0.7
API version: 1.43
Go version: go1.20.10
Git commit: afdd53b
Built: Thu Oct 26 09:08:17 2023
OS/Arch: linux/amd64
Context: default

Server: Docker Engine - Community
Engine:
Version: 24.0.7
API version: 1.43 (minimum version 1.12)
Go version: go1.20.10
Git commit: 311b9ff
Built: Thu Oct 26 09:08:17 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.26
GitCommit: 3dd1e886e55dd695541fdcd67420c2888645a495
runc:
Version: 1.1.10
GitCommit: v1.1.10-0-g18a0cb0
docker-init:
Version: 0.19.0
GitCommit: de40ad0

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

Thank you @ostefano ! But the error still persits

from misp-docker.

ostefano avatar ostefano commented on August 18, 2024

Interesting. I assume you created the .env file, right?
As a last resort, try to remove existing images/containers using the command outlined in the Troubleshooting section fo the readme file.

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

Hello

Yes .env file was created.
The VM was brand new (Debian on GCP Compute Linux sa-da-fleet-demo 5.10.0-27-cloud-amd64 #1 SMP Debian 5.10.205-2 (2023-12-31) x86_64 GNU/Linux )
There were no previous images or container running and every time I do remove all docker images

from misp-docker.

ostefano avatar ostefano commented on August 18, 2024

That is weird, did you try the command docker system prune -a?
Try also the command docker compose build without dash.

As a last resort, try to update the docker using the link provided.
I know it should not be needed, I am just trying to understand if something is afoot.

Also, are you sure you have enough disk space available?

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

Hi will try
My disk is 20GB, do you think it's not enough ?
I will double the disk space and will let you know

from misp-docker.

ostefano avatar ostefano commented on August 18, 2024

There is also the option --force-recreate that might help.

Do you have 20GB of free space or 20GB in total?
I have been burnt a couple of times already with disk space constraint.

The error you are seeing is compatible with a layer that completed building but with some non fatal errors (like disk space issues).

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

it was 20GB in total :-)

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

Hello, I changed the base URL to 'https://misp01.dyndns.org' but the CN is still localhost
As a result I get that when connecting
Capture d’écran 2024-01-08 à 14 41 21

from misp-docker.

Danouchka avatar Danouchka commented on August 18, 2024

Thank you very much for all your support. I will make out with the certificate

from misp-docker.

ncsc-fi-kimmo avatar ncsc-fi-kimmo commented on August 18, 2024

Btw if you use the old command docker-compose instead of the new docker compose I get the same ERROR: Service 'misp-core' failed to build: COPY failed: stat wheels: file does not exist error. Use the new compose command.

from misp-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.