AdmitHub / meteor-buildpack-horse

Heroku buildpack for Meteor v1.0+. The horse one.
MIT License
641 stars 586 forks source link

Dokku deploy problem #203

Closed darr1s closed 6 years ago

darr1s commented 6 years ago
Type of problem
Summary
       vulcan:routing               added, version 1.8.11
       vulcan:users                 added, version 1.8.11
       webapp                       added, version 1.5.0
       webapp-hashing               added, version 1.0.9

remote: /tmp/buildpacks/custom/bin/compile: line 107:   482 Killed                  HOME="$METEOR_DIR" "$METEOR_DIR/.meteor/meteor" $ARGS
To 206.189.82.4:app
 ! [remote rejected] web-design -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@206.189.82.4:app'
Contents of .meteor/release

Can't find this file.

Buildpack version

This GIT repo is configured as Dokku buildpack URL.

Logs

Click here for verbose log.

➜ git push dokku web-design:master
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
Counting objects: 230, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (127/127), done.
Writing objects: 100% (230/230), 21.45 MiB | 1.93 MiB/s, done.
Total 230 (delta 154), reused 173 (delta 101)
-----> Cleaning up...
-----> Building app from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Fetching custom buildpack
-----> Node.js app detected
remote: +++ dirname -- /tmp/buildpacks/custom/bin/compile
remote: ++ cd -P -- /tmp/buildpacks/custom/bin
remote: ++ cd ..
remote: ++ pwd -P
remote: + BUILDPACK_DIR=/tmp/buildpacks/custom
remote: + APP_CHECKOUT_DIR=/tmp/build
remote: + CACHE_DIR=/cache
remote: + '[' -n '' ']'
remote: + APP_SOURCE_DIR=/tmp/build
remote: + '[' -n '' ']'
remote: + '[' '!' -d /tmp/build/.meteor ']'
remote: + '[' '!' -d /tmp/build/.meteor ']'
remote: + METEOR_DIR=/cache/meteor
remote: + COMPILE_DIR_SUFFIX=.meteor/heroku_build
remote: + COMPILE_DIR=/tmp/build/.meteor/heroku_build
remote: + '[' -z 1 ']'
remote: + mkdir -p /tmp/build /cache/meteor
remote: + mkdir -p /tmp/build/.meteor/heroku_build /tmp/build/.meteor/heroku_build/bin /tmp/build/.meteor/heroku_build/lib
remote: + '[' -z https://xxx.net ']'
remote: + '[' -z https://xxx.net ']'
remote: + '[' -e /cache/meteor/.meteor/meteor ']'
remote: + echo '-----> Existing meteor installation found, using it.'
remote: + cd /tmp/build
-----> Existing meteor installation found, using it.
remote: ++ METEOR --version
remote: ++ ARGS=--version
remote: ++ HOME=/cache/meteor
remote: ++ /cache/meteor/.meteor/meteor --version
remote: + echo '-----> Target Meteor version: Meteor 1.6.1'
remote: + echo '-----> Checking if this meteor version supports --server-only'
-----> Target Meteor version: Meteor 1.6.1
remote: + set +e
-----> Checking if this meteor version supports --server-only
remote: ++ grep -e --server-only
remote: ++ METEOR help build
remote: ++ ARGS='help build'
remote: ++ HOME=/cache/meteor
remote: ++ /cache/meteor/.meteor/meteor help build
remote: + HAS_SERVER_ONLY='Usage: meteor build <output path> [--debug] [--directory] [--server-only]
remote: Pass `--server-only` to skip building mobile apps, but still build the
remote:   --server-only       Skip building mobile apps even if mobile platforms have'
remote: + set -e
remote: + '[' -n 'Usage: meteor build <output path> [--debug] [--directory] [--server-only]
remote: Pass `--server-only` to skip building mobile apps, but still build the
remote:   --server-only       Skip building mobile apps even if mobile platforms have' ']'
remote: + SERVER_ONLY_FLAG=--server-only
remote: + '[' -z --server-only ']'
remote: ++ METEOR node -e 'process.stdout.write(process.execPath)'
remote: ++ ARGS='node -e process.stdout.write(process.execPath)'
remote: ++ HOME=/cache/meteor
remote: ++ /cache/meteor/.meteor/meteor node -e 'process.stdout.write(process.execPath)'
remote: + METEOR_NODE=/cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
remote: ++ dirname /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node
remote: + METEOR_NPM=/cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
remote: + '[' -z /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm ']'
remote: + '[' -z /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node ']'
remote: + NODE=/tmp/build/.meteor/heroku_build/bin/node
remote: + cp /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node /tmp/build/.meteor/heroku_build/bin/node
remote: + chmod a+x /tmp/build/.meteor/heroku_build/bin/node
remote: ++ dirname /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
remote: + PATH=/cache/meteor/.meteor:/cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin:/tmp/build/.meteor/heroku_build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
remote: ++ /tmp/build/.meteor/heroku_build/bin/node --version
remote: + echo '-----> Using node: v8.9.4'
-----> Using node: v8.9.4
remote: ++ /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm --version
remote: + echo '----->    and npm: 5.6.0'
remote: + '[' -e /tmp/build/package.json ']'
-----> and npm: 5.6.0
remote: + /cache/meteor/.meteor/packages/meteor-tool/.1.6.1.2ga15p.9587n++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm install
remote: npm WARN deprecated bcrypt@0.8.7: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes
remote: npm WARN notice [SECURITY] metascraper has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=metascraper&version=1.0.7 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] request has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=request&version=2.34.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] lodash has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=lodash&version=3.10.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN deprecated datauri@0.2.1: Potential REDOS vulnerability removed in v1.1.0
remote: npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
remote: npm WARN deprecated hoek@0.9.1: The major version is no longer supported. Please update to 4.x or newer
remote: npm WARN notice [SECURITY] hawk has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=hawk&version=1.0.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] qs has the following vulnerability: 2 high. Go here for more details: https://nodesecurity.io/advisories?search=qs&version=0.6.6 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] tunnel-agent has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=tunnel-agent&version=0.3.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] mime has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=mime&version=1.2.11 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] hoek has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=hoek&version=0.9.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
remote: npm WARN notice [SECURITY] deep-extend has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=deep-extend&version=0.4.2 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.

       > bcrypt@0.8.7 install /tmp/build/node_modules/bcrypt
       > node-gyp rebuild

       make: Entering directory '/tmp/build/node_modules/bcrypt/build'
       CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
       CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
       CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
       SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
       COPY Release/bcrypt_lib.node
       make: Leaving directory '/tmp/build/node_modules/bcrypt/build'

       > styled-components@3.4.5 postinstall /tmp/build/node_modules/styled-components
       > node ./scripts/postinstall.js || exit 0

       Use styled-components at work? Consider supporting our development efforts at opencollective.com/styled-components
remote: npm notice created a lockfile as package-lock.json. You should commit this file.
remote: npm WARN formsy-react@0.19.5 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
remote: npm WARN graphql-tools@3.1.1 requires a peer of graphql@^0.13.0 but none is installed. You must install peer dependencies yourself.
remote: npm WARN apollo-link@1.2.2 requires a peer of graphql@^0.11.3 || ^0.12.3 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
remote: npm WARN enzyme-adapter-react-16@1.5.0 requires a peer of enzyme@^3.0.0 but none is installed. You must install peer dependencies yourself.
remote:
       added 693 packages in 82.256s
remote: + '[' -n '' ']'
remote: + echo '-----> Building Meteor app with ROOT_URL: https://xxx.net'
-----> Building Meteor app with ROOT_URL: https://xxx.net
remote: ++ mktemp -d /tmp/buildpacks/custom/build-XXXX
remote: + BUNDLE_DEST=/tmp/buildpacks/custom/build-ncsF
remote: + METEOR build --server https://xxx.net --server-only --directory /tmp/buildpacks/custom/build-ncsF
remote: + ARGS='build --server https://xxx.net --server-only --directory /tmp/buildpacks/custom/build-ncsF'
remote: + HOME=/cache/meteor
remote: + /cache/meteor/.meteor/meteor build --server https://xxx.net --server-only --directory /tmp/buildpacks/custom/build-ncsF
       boilerplate-generator: updating npm dependencies -- combined-stream2...

       Changes to your project's package version selections:

       accounts-base                added, version 1.4.2
       accounts-facebook            added, version 1.3.1
       accounts-oauth               added, version 1.1.15
       accounts-password            added, version 1.5.1
       allow-deny                   added, version 1.1.0
       autoupdate                   added, version 1.4.0
       babel-compiler               added, version 7.0.6
       babel-runtime                added, version 1.2.2
       base64                       added, version 1.0.11
       binary-heap                  added, version 1.0.10
       boilerplate-generator        added, version 1.4.0
       buffer                       added, version 0.0.0
       caching-compiler             added, version 1.1.11
       callback-hook                added, version 1.1.0
       check                        added, version 1.3.1
       ddp                          added, version 1.4.0
       ddp-client                   added, version 2.3.2
       ddp-common                   added, version 1.4.0
       ddp-rate-limiter             added, version 1.0.7
       ddp-server                   added, version 2.1.2
       deepwell:raven               added, version 0.3.0
       diff-sequence                added, version 1.1.0
       dynamic-import               added, version 0.3.0
       ecmascript                   added, version 0.10.6
       ecmascript-runtime           added, version 0.5.0
       ecmascript-runtime-client    added, version 0.6.2
       ecmascript-runtime-server    added, version 0.5.0
       edgee:slingshot              added, version 0.7.1
       ejson                        added, version 1.1.0
       email                        added, version 1.2.3
       es5-shim                     added, version 4.7.3
       facebook-oauth               added, version 1.4.0
       fourseven:scss               added, version 4.5.4
       geojson-utils                added, version 1.0.10
       hot-code-push                added, version 1.0.4
       http                         added, version 1.4.0
       id-map                       added, version 1.1.0
       livedata                     added, version 1.0.18
       localstorage                 added, version 1.2.0
       logging                      added, version 1.1.20
       meteor                       added, version 1.8.6
       meteor-base                  added, version 1.3.0
       meteorhacks:inject-initial   added, version 1.0.4
       meteorhacks:picker           added, version 1.0.3
       minifier-css                 added, version 1.3.1
       minifier-js                  added, version 2.3.4
       minimongo                    added, version 1.4.4
       modules                      added, version 0.11.5
       modules-runtime              added, version 0.9.2
       momentjs:moment              added, version 2.22.0
       mongo                        added, version 1.4.5
       mongo-dev-server             added, version 1.1.0
       mongo-id                     added, version 1.0.7
       npm-bcrypt                   added, version 0.9.3
       npm-mongo                    added, version 2.2.34
       oauth                        added, version 1.2.3
       oauth2                       added, version 1.2.0
       ordered-dict                 added, version 1.1.0
       percolatestudio:synced-cron  added, version 1.1.0
       photobook-package            added, version 0.0.0
       promise                      added, version 0.10.2
       random                       added, version 1.1.0
       rate-limit                   added, version 1.0.9
       reactive-dict                added, version 1.2.0
       reactive-var                 added, version 1.0.11
       reload                       added, version 1.2.0
       retry                        added, version 1.1.0
       routepolicy                  added, version 1.0.13
       server-render                added, version 0.3.0
       service-configuration        added, version 1.0.11
       session                      added, version 1.1.7
       sha                          added, version 1.0.9
       shell-server                 added, version 0.3.1
       shim-common                  added, version 0.1.0
       socket-stream-client         added, version 0.1.0
       srp                          added, version 1.0.10
       standard-minifier-css        added, version 1.4.1
       standard-minifier-js         added, version 2.3.3
       standard-minifiers           added, version 1.1.0
       tracker                      added, version 1.1.3
       underscore                   added, version 1.0.10
       url                          added, version 1.2.0
       vulcan:accounts              added, version 1.8.11
       vulcan:core                  added, version 1.8.11
       vulcan:debug                 added, version 1.8.11
       vulcan:email                 added, version 1.8.11
       vulcan:forms                 added, version 1.8.11
       vulcan:i18n                  added, version 1.8.11
       vulcan:i18n-en-us            added, version 1.8.11
       vulcan:lib                   added, version 1.8.11
       vulcan:routing               added, version 1.8.11
       vulcan:users                 added, version 1.8.11
       webapp                       added, version 1.5.0
       webapp-hashing               added, version 1.0.9

remote: /tmp/buildpacks/custom/bin/compile: line 107:   482 Killed                  HOME="$METEOR_DIR" "$METEOR_DIR/.meteor/meteor" $ARGS
To 206.189.82.4:app
 ! [remote rejected] web-design -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@206.189.82.4:app'
Deployment target

I am using Dokku.

darr1s commented 6 years ago

Memory is insufficient using 2GB DigitalOcean droplet. 3GB fixed the issue.