Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tar problem while installing meteorjs to docker container #39

Closed
rsercano opened this issue May 4, 2017 · 6 comments
Closed

Tar problem while installing meteorjs to docker container #39

rsercano opened this issue May 4, 2017 · 6 comments

Comments

@rsercano
Copy link

rsercano commented May 4, 2017

Hello @jshimko

unfortunately there's a tar problem while installing METEORJS to container which randomly works. What I mean is, I've two repositories that one of them is the fork of another. Both are identical. And one of them is being built successfully and the another throws following errors during meteor install:
.meteor/release file: [email protected]

error:

tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/node_modules/request/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/node_modules/node-gyp/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/node_modules/node-gyp/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/node_modules/node-gyp: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-fetch/node_modules/cordova-common/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-fetch/node_modules/cordova-common/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-fetch/node_modules/cordova-common: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-fetch/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-fetch/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-fetch: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-create/node_modules/cordova-common/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-create/node_modules/cordova-common/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-create/node_modules/cordova-common: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-create/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-create/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-create: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-common/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-common/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-common: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/browser-launcher2/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/browser-launcher2/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/browser-launcher2: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/babel-plugin-minify-constant-folding/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/babel-plugin-minify-constant-folding/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/babel-plugin-minify-constant-folding: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/astw/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/astw/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/astw: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/meteor-tool/.1.4.4_1.1t9hste++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/modules/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/modules/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/less/node_modules/request/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/less/node_modules/request/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/less/node_modules/request: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/less/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/less/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/less: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/compileLessBatch: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/babel-compiler/node_modules/regjsparser/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/babel-compiler/node_modules/regjsparser/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/babel-compiler/node_modules/regjsparser: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/babel-compiler/node_modules/.bin: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/babel-compiler/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/babel-compiler: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova/plugin.compileLessBatch.os: Directory renamed before its status could be extracted
tar: .meteor/packages/less/.2.7.9.1b514af++os+web.browser+web.cordova: Directory renamed before its status could be extracted
tar: .meteor/packages/less: Directory renamed before its status could be extracted

Dockerfile contains FROM directive with your base image. Do you have an idea what can be the root cause ?

Maybe it would be a better option to build meteor application instead of installing meteor to docker container to build application, what do you think ?

Thanks in advance

@andiempettJISC
Copy link

I have the same issue. docker 17.03.1-ce. on ubuntu 16.04 works fine, on centos 7 same docker version it makes that tar error. Others get it when using tar in their images. see: moby/moby#19647 for example

@rsercano
Copy link
Author

rsercano commented May 8, 2017

Okay as I've read a CentOS bug report by following the link @androidwiltron provided, I've found out bsdtar is capable of doing the work on overlayfs. So I've changed tar with bsdtar after downloading install meteor script and magically it started to work.

Here's the file for the details

And I'm closing this since it's not really related with this project.

@jshimko
Copy link
Owner

jshimko commented May 8, 2017

Good catch @rsercano. I think it is actually related to this project since the same thing appears to happen with my installer script. I haven't personally seen this error for about 6 months, but it shouldn't hurt anything to switch to the other tar utility until they work out the Overlay file system stuff.

I've added bsdtar to v1.1.8 of this project. @androidwiltron, would you mind testing the latest release (v1.1.8) to confirm it fixes the issue for you?

FROM jshimko/meteor-launchpad:v1.1.8  

# (or pull jshimko/meteor-launchpad:latest again)

@rsercano, thanks again for the debugging work and for reporting your findings back here!

@jshimko jshimko reopened this May 8, 2017
@andiempettJISC
Copy link

@jshimko I've attempted to do a docker-compose build and no more tar errors. i'm getting some new errors now not sure it it relates. sorry i cant definitively say if its working properly yet, i suspect it is.

@jshimko
Copy link
Owner

jshimko commented May 9, 2017

What are the errors you're seeing?

@jshimko
Copy link
Owner

jshimko commented May 22, 2017

I'm going to assume this was fixed by this commit. If anyone still sees issues related to unpacking the Meteor installer tar file, please feel free to reopen this issue (or file a new one).

@jshimko jshimko closed this as completed May 22, 2017
mfilser added a commit to mfilser/wekan that referenced this issue Jun 11, 2021
- libarchive-tools contains bsdtar. bsdtar is needed for meteor
  installation, it doesn't / or didn't work with docker and overlayfs.

  see also here:

  jshimko/meteor-launchpad#39
  anchore/anchore-engine#106
  coreos/bugs#1095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants