zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.28k stars 279 forks source link

Prepare Bundle: FAILED : Directory renamed before its status could be extracted #1281

Open ddaydd opened 2 years ago

ddaydd commented 2 years ago

Hello, would anyone know why i have this error?

docker: {
 image: 'zodern/meteor:0.6.1-root',
 prepareBundle: true,
}

Mup version (mup --version): 1.5.5 Meteor version: METEOR@2.5.1

Server : digitalocean : debian-s-1vcpu-1gb-intel-fra1-01

Output of command


              ------------------------------------STDERR------------------------------------
              #2 [internal] load .dockerignore
        #2 transferring context: 2B done
        #2 DONE 0.0s

        #1 [internal] load build definition from Dockerfile
        #1 transferring dockerfile: 647B 0.0s done
        #1 DONE 0.0s

        #3 resolve image config for docker.io/docker/dockerfile:1-experimental
        #3 DONE 0.9s

        #4 docker-image://docker.io/docker/dockerfile:1-experimental@sha256:600e5c6...
        #4 CACHED

        #5 [internal] load build definition from Dockerfile
        #5 transferring dockerfile: 647B done
        #5 DONE 0.0s

        #6 [internal] load metadata for docker.io/zodern/meteor:0.6.1-root
        #6 DONE 0.0s

        #7 [1/4] FROM docker.io/zodern/meteor:0.6.1-root
        #7 CACHED

        #10 [internal] load build context
        #10 transferring context: 49.03MB 1.4s done
        #10 DONE 1.4s

        #8 [2/4] RUN bash ./scripts/onbuild-node.sh
        #8 1.987 NODE_VERSION=14.18.1
        #8 2.467 Downloading and installing node v14.18.1...
        #8 2.568 Downloading https://nodejs.org/dist/v14.18.1/node-v14.18.1-linux-x64.tar.gz...
######################################################################## 100.0%
        #8 2.807 Computing checksum with sha256sum
        #8 3.000 Checksums matched!
        #8 4.458 tar: bin: Directory renamed before its status could be extracted
        #8 4.458 tar: Exiting with failure status due to previous errors
        #8 4.464 Binary download failed, trying source.
        #8 ERROR: executor failed running [/bin/sh -c bash ./scripts/onbuild-node.sh]: runc did not terminate sucessfully
        ------
         > [2/4] RUN bash ./scripts/onbuild-node.sh:
        ------
        failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to build LLB: executor failed running [/bin/sh -c bash ./scripts/onbuild-node.sh]: runc did not terminate sucessfully

        real    0m6.192s
        user    0m0.232s
        sys     0m0.112s

              ------------------------------------STDOUT------------------------------------
              Updating base image
        0.6.1-root: Pulling from zodern/meteor
        Digest: sha256:bd8726299e544bb00701ade4086d2c93564ee071d0adbf80a1ed0549a082b64a
        Status: Image is up to date for zodern/meteor:0.6.1-root
        docker.io/zodern/meteor:0.6.1-root
        Preparing for docker build
        Creating Dockerfile
        Finished creating Dockerfile
        Building image

Edit : https://github.com/docker/hub-feedback/issues/727 https://github.com/moby/moby/issues/19647

Edit 2 : I managed to get it to work with prepareBundle: false,