Comments (6)
You have to add rake
to nvm_map_bins
for Rails precompile to work correctly; https://github.com/koenpunt/capistrano-nvm#rails
from capistrano-nvm.
Run capistrano in debug mode, and get the full command line that's being run.
from capistrano-nvm.
Run capistrano in debug mode, and get the full command line that's being run.
how to run cap in debug mode ?
from capistrano-nvm.
@bolahanna44 for me, I have the file config/deploy.rb
:
set :log_level, ENV.fetch('CAP_LOG_LEVEL', :info)
Then we invoke capistrano like this:
CAP_LOG_LEVEL=debug bundle exec cap $STAGE deploy --trace
You could also just set :log_level, :debug
somewhere in capistrano and deploy with the --trace
flag without using the ENV vars.
Be warned that I would expect this to dump some secrets out to your console if your deploy works with them, so be careful to sanitize anything you post.
from capistrano-nvm.
** Invoke staging (first_time)
** Execute staging
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke rvm:hook (first_time)
** Execute rvm:hook
** Invoke rvm:check (first_time)
** Execute rvm:check
** Invoke nvm:validate (first_time)
** Invoke nvm:wrapper (first_time)
** Execute nvm:wrapper
00:00 nvm:wrapper
01 mkdir -p /var/www/lucy.very.hu/tmp/lucy/
✔ 01 [email protected] 1.023s
Uploading /var/www/lucy.very.hu/tmp/lucy/nvm-exec.sh 100.0%
02 chmod +x /var/www/lucy.very.hu/tmp/lucy/nvm-exec.sh
✔ 02 [email protected] 1.232s
** Execute nvm:validate
** Invoke nvm:map_bins (first_time)
** Execute nvm:map_bins
** Invoke bundler:map_bins (first_time)
** Execute bundler:map_bins
** Invoke deploy:set_rails_env (first_time)
** Execute deploy:set_rails_env
** Invoke deploy:set_linked_dirs (first_time)
** Execute deploy:set_linked_dirs
** Invoke deploy:set_rails_env
** Invoke deploy (first_time)
** Execute deploy
** Invoke deploy:starting (first_time)
** Invoke deploy:check_sidekiq_hooks (first_time)
** Execute deploy:check_sidekiq_hooks
** Invoke sidekiq:add_default_hooks (first_time)
** Execute sidekiq:add_default_hooks
** Execute deploy:starting
** Invoke deploy:check (first_time)
** Invoke git:check (first_time)
** Invoke git:wrapper (first_time)
** Execute git:wrapper
00:04 git:wrapper
01 mkdir -p /var/www/lucy.very.hu/tmp
✔ 01 [email protected] 0.849s
Uploading /var/www/lucy.very.hu/tmp/git-ssh-lucy-staging-poulahanna.sh 100.0%
02 chmod 700 /var/www/lucy.very.hu/tmp/git-ssh-lucy-staging-poulahanna.sh
✔ 02 [email protected] 0.920s
** Execute git:check
00:07 git:check
01 git ls-remote [email protected]:azabaj/lucy.git HEAD
01 ae9dde7d934fa2f8be654f45f4b2ca69b30b07b6 HEAD
✔ 01 [email protected] 3.288s
** Execute deploy:check
** Invoke deploy:check:directories (first_time)
** Execute deploy:check:directories
00:10 deploy:check:directories
01 mkdir -p /var/www/lucy.very.hu/shared /var/www/lucy.very.hu/releases
✔ 01 [email protected] 0.858s
** Invoke deploy:check:linked_dirs (first_time)
** Execute deploy:check:linked_dirs
00:11 deploy:check:linked_dirs
01 mkdir -p /var/www/lucy.very.hu/shared/log /var/www/lucy.very.hu/shared/tmp/pids /var/www/lucy.very.hu/shared/tmp…
✔ 01 [email protected] 0.968s
** Invoke deploy:check:make_linked_dirs (first_time)
** Execute deploy:check:make_linked_dirs
00:12 deploy:check:make_linked_dirs
01 mkdir -p /var/www/lucy.very.hu/shared/config
✔ 01 [email protected] 1.025s
** Invoke deploy:check:linked_files (first_time)
** Execute deploy:check:linked_files
** Invoke puma:check (first_time)
** Execute puma:check
** Invoke deploy:set_previous_revision (first_time)
** Execute deploy:set_previous_revision
** Invoke sidekiq:quiet (first_time)
** Execute sidekiq:quiet
00:21 sidekiq:quiet
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle exec sidekiqctl quiet /var/www/lucy.very.hu/shared/tmp/pids/sidekiq-0.pid
✔ 01 [email protected] 2.139s
** Invoke deploy:started (first_time)
** Execute deploy:started
** Invoke deploy:updating (first_time)
** Invoke deploy:new_release_path (first_time)
** Execute deploy:new_release_path
** Invoke git:create_release (first_time)
** Invoke git:update (first_time)
** Invoke git:clone (first_time)
** Invoke git:wrapper
** Execute git:clone
00:24 git:clone
The repository mirror is at /var/www/lucy.very.hu/repo
** Execute git:update
00:26 git:update
01 git remote set-url origin [email protected]:azabaj/lucy.git
✔ 01 [email protected] 1.228s
02 git remote update --prune
02 Fetching origin
✔ 02 [email protected] 3.147s
** Execute git:create_release
00:31 git:create_release
01 mkdir -p /var/www/lucy.very.hu/releases/20201125002644
✔ 01 [email protected] 0.847s
02 git archive staging | /usr/bin/env tar -x -f - -C /var/www/lucy.very.hu/releases/20201125002644
✔ 02 [email protected] 1.385s
** Execute deploy:updating
** Invoke deploy:set_current_revision (first_time)
** Invoke git:set_current_revision (first_time)
** Execute git:set_current_revision
** Execute deploy:set_current_revision
00:36 deploy:set_current_revision
01 echo "3f71b2dc55552cc0918395c1603b887e076c6c33" > REVISION
✔ 01 [email protected] 0.902s
** Invoke deploy:symlink:shared (first_time)
** Execute deploy:symlink:shared
** Invoke deploy:symlink:linked_files (first_time)
** Execute deploy:symlink:linked_files
00:37 deploy:symlink:linked_files
01 mkdir -p /var/www/lucy.very.hu/releases/20201125002644/config
✔ 01 [email protected] 0.964s
02 ln -s /var/www/lucy.very.hu/shared/config/database.yml /var/www/lucy.very.hu/releases/20201125002644/config/data…
✔ 02 [email protected] 0.942s
03 ln -s /var/www/lucy.very.hu/shared/config/master.key /var/www/lucy.very.hu/releases/20201125002644/config/master…
✔ 03 [email protected] 1.070s
** Invoke deploy:symlink:linked_dirs (first_time)
** Execute deploy:symlink:linked_dirs
00:43 deploy:symlink:linked_dirs
01 mkdir -p /var/www/lucy.very.hu/releases/20201125002644 /var/www/lucy.very.hu/releases/20201125002644/tmp /var/ww…
✔ 01 [email protected] 0.844s
02 ln -s /var/www/lucy.very.hu/shared/log /var/www/lucy.very.hu/releases/20201125002644/log
✔ 02 [email protected] 0.945s
03 ln -s /var/www/lucy.very.hu/shared/tmp/pids /var/www/lucy.very.hu/releases/20201125002644/tmp/pids
✔ 03 [email protected] 1.335s
04 ln -s /var/www/lucy.very.hu/shared/tmp/cache /var/www/lucy.very.hu/releases/20201125002644/tmp/cache
✔ 04 [email protected] 1.020s
05 ln -s /var/www/lucy.very.hu/shared/tmp/sockets /var/www/lucy.very.hu/releases/20201125002644/tmp/sockets
✔ 05 [email protected] 1.125s
06 ln -s /var/www/lucy.very.hu/shared/public/system /var/www/lucy.very.hu/releases/20201125002644/public/system
✔ 06 [email protected] 1.015s
07 rm -rf /var/www/lucy.very.hu/releases/20201125002644/storage
✔ 07 [email protected] 0.913s
08 ln -s /var/www/lucy.very.hu/shared/storage /var/www/lucy.very.hu/releases/20201125002644/storage
✔ 08 [email protected] 1.031s
09 ln -s /var/www/lucy.very.hu/shared/public/assets /var/www/lucy.very.hu/releases/20201125002644/public/assets
✔ 09 [email protected] 0.938s
** Invoke deploy:updated (first_time)
** Invoke bundler:install (first_time)
** Execute bundler:install
01:13 bundler:install
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle install --path /var/www/lucy.very.hu/shared/bundle --jobs 4 --without develo…
✔ 01 [email protected] 3.375s
** Execute deploy:updated
** Invoke deploy:compile_assets (first_time)
** Invoke deploy:set_rails_env
** Execute deploy:compile_assets
** Invoke deploy:assets:precompile (first_time)
** Execute deploy:assets:precompile
01:17 deploy:assets:precompile
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle exec rake assets:precompile
01 yarn install v1.15.2
01 [1/4] Resolving packages...
01 [2/4] Fetching packages...
01 info [email protected]: The platform "linux" is incompatible with this module.
01 info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
01 [3/4] Linking dependencies...
01 warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
01 warning "@babel/preset-react > @babel/[email protected]" has unmet peer dependency "@bab…
01 warning "@babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/core@^…
01 warning "@babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel/c…
01 warning "@babel/preset-react > @babel/[email protected]" has unmet peer dependency "@babel…
01 warning "@babel/preset-react > @babel/plugin-transform-react-jsx > @babel/[email protected]" has unmet pee…
01 warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0".
01 warning "webpack-dev-server > [email protected]" has unmet peer dependency "webpack@^4.0.0".
01 [4/4] Building fresh packages...
01 error /var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass: Command failed.
01 Exit code: 1
01 Command: node scripts/build.js
01 Arguments:
01 Directory: /var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass
01 Output:
01 Building: /var/www/.nvm/versions/node/v14.5.0/bin/node /var/www/lucy.very.hu/releases/20201125002644/node_module…
01 gyp info it worked if it ends with ok
01 gyp verb cli [
01 gyp verb cli '/var/www/.nvm/versions/node/v14.5.0/bin/node',
01 gyp verb cli '/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-gyp/bin/node-gyp.js',
01 gyp verb cli 'rebuild',
01 gyp verb cli '--verbose',
01 gyp verb cli '--libsass_ext=',
01 gyp verb cli '--libsass_cflags=',
01 gyp verb cli '--libsass_ldflags=',
01 gyp verb cli '--libsass_library='
01 gyp verb cli ]
01 gyp info using [email protected]
01 gyp info using [email protected] | linux | x64
01 gyp verb command rebuild []
01 gyp verb command clean []
01 gyp verb clean removing "build" directory
01 gyp verb command configure []
01 gyp verb check python checking for Python executable "python2" in the PATH
01 gyp verb `which` succeeded python2 /usr/bin/python2
01 gyp verb check python version `/usr/bin/python2 -c "import sys; print "2.7.12
01 gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
01 gyp verb get node dir no --target version specified, falling back to host node version: 14.5.0
01 gyp verb command install [ '14.5.0' ]
01 gyp verb install input version string "14.5.0"
01 gyp verb install installing version: 14.5.0
01 gyp verb install --ensure was passed, so won't reinstall if already installed
01 gyp verb install version is already installed, need to check "installVersion"
01 gyp verb got "installVersion" 9
01 gyp verb needs "installVersion" 9
01 gyp verb install version is good
01 gyp verb get node dir target node version installed: 14.5.0
01 gyp verb build dir attempting to create "build" dir: /var/www/lucy.very.hu/releases/20201125002644/node_modules/…
01 gyp verb build dir "build" dir needed to be created? /var/www/lucy.very.hu/releases/20201125002644/node_modules/…
01 gyp verb build/config.gypi creating config file
01 gyp verb build/config.gypi writing out config file: /var/www/lucy.very.hu/releases/20201125002644/node_modules/n…
01 gyp verb config.gypi checking for gypi file: /var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sas…
01 gyp verb common.gypi checking for gypi file: /var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sas…
01 gyp verb gyp gyp format was not specified; forcing "make"
01 gyp info spawn /usr/bin/python2
01 gyp info spawn args [
01 gyp info spawn args '/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-gyp/gyp/gyp_main.py',
01 gyp info spawn args 'binding.gyp',
01 gyp info spawn args '-f',
01 gyp info spawn args 'make',
01 gyp info spawn args '-I',
01 gyp info spawn args '/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass/build/config.gypi',
01 gyp info spawn args '-I',
01 gyp info spawn args '/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-gyp/addon.gypi',
01 gyp info spawn args '-I',
01 gyp info spawn args '/var/www/.node-gyp/14.5.0/include/node/common.gypi',
01 gyp info spawn args '-Dlibrary=shared_library',
01 gyp info spawn args '-Dvisibility=default',
01 gyp info spawn args '-Dnode_root_dir=/var/www/.node-gyp/14.5.0',
01 gyp info spawn args '-Dnode_gyp_dir=/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-gyp',
01 gyp info spawn args '-Dnode_lib_file=/var/www/.node-gyp/14.5.0/<(target_arch)/node.lib',
01 gyp info spawn args '-Dmodule_root_dir=/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass',
01 gyp info spawn args '-Dnode_engine=v8',
01 gyp info spawn args '--depth=.',
01 gyp info spawn args '--no-parallel',
01 gyp info spawn args '--generator-output',
01 gyp info spawn args 'build',
01 gyp info spawn args '-Goutput_dir=.'
01 gyp info spawn args ]
01 gyp verb command build []
01 gyp verb build type Release
01 gyp verb architecture x64
01 gyp verb node dev dir /var/www/.node-gyp/14.5.0
01 gyp verb `which` succeeded for `make` /usr/bin/make
01 gyp info spawn make
01 gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
01 make: Entering directory '/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass/build'
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 cc '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' …
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 gyp/14.5.0/deps/uv/include -I/var/www/.node-gyp/14.5.0/deps/zlib -I/var/www/.node-gyp/14.5.0/deps/v8/include -I.…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 /v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-fram…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 rm -f Release/obj.target/src/sass.a && ar crs Release/obj.target/src/sass.a Release/obj.target/libsass/src/lib…
01 j.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.targe…
01 rm -rf "Release/sass.a" && cp -af "Release/obj.target/src/sass.a" "Release/sass.a"
01 g++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 g++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1'…
01 ../src/create_string.cpp: In function ‘char* create_string(Nan::MaybeLocal<v8::Value>)’:
01 ../src/create_string.cpp:17:37: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8...
01 v8::String::Utf8Value string(value);
01 ^
01 In file included from /var/www/.node-gyp/14.5.0/include/node/node.h:67:0,
01 from ../../nan/nan.h:53,
01 from ../src/create_string.cpp:1:
01 /var/www/.node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolat…
01 Utf8Value(Isolate* isolate, Local<v8::Value> obj);
01 ^
01 /var/www/.node-gyp/14.5.0/include/node/v8.h:3283:5: note: candidate expects 2 arguments, 1 provided
01 binding.target.mk:131: recipe for target 'Release/obj.target/binding/src/create_string.o' failed
01 make: *** [Release/obj.target/binding/src/create_string.o] Error 1
01 make: Leaving directory '/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass/build'
01 gyp ERR! build error
01 gyp ERR! stack Error: `make` failed with exit code: 2
01 gyp ERR! stack at ChildProcess.onExit (/var/www/lucy.very.hu/releases/20201125002644/node_modules/node-gyp/l…
01 gyp ERR! stack at ChildProcess.emit (events.js:314:20)
01 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
01 gyp ERR! System Linux 4.4.0-34-generic
01 gyp ERR! command "/var/www/.nvm/versions/node/v14.5.0/bin/node" "/var/www/lucy.very.hu/releases/20201125002644/n…
01 gyp ERR! cwd /var/www/lucy.very.hu/releases/20201125002644/node_modules/node-sass
01 gyp ERR! node -v v14.5.0
01 gyp ERR! node-gyp -v v3.8.0
01 gyp ERR! not ok
01 Build failed with error code: 1
01 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
01 Compiling…
01 Compilation failed:
01 Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
01
01 Hash: aa43d9bd48568e3da632
01 Version: webpack 4.29.6
01 Time: 111249ms
01 Built at: 11/25/2020 12:32:47 AM
01 Asset Size Chunks Chunk Names
01 js/application-6357821d2ac6287b3833.js 1.23 MiB 0 [emitted] [big] application
01 js/application-6357821d2ac6287b3833.js.gz 326 KiB [emitted] [big]
01 js/application-6357821d2ac6287b3833.js.map 4.34 MiB 0 [emitted] application
01 js/application-6357821d2ac6287b3833.js.map.gz 1.02 MiB [emitted] [big]
01 js/hello_react-0075b6521c32918ed72d.js 118 KiB 1 [emitted] hello_react
01 js/hello_react-0075b6521c32918ed72d.js.gz 37.1 KiB [emitted]
01 js/hello_react-0075b6521c32918ed72d.js.map 341 KiB 1 [emitted] hello_react
01 js/hello_react-0075b6521c32918ed72d.js.map.gz 90.9 KiB [emitted]
01 js/server_rendering-14ea1949243b28528776.js 1.23 MiB 2 [emitted] [big] server_rendering
01 js/server_rendering-14ea1949243b28528776.js.gz 326 KiB [emitted] [big]
01 js/server_rendering-14ea1949243b28528776.js.map 4.33 MiB 2 [emitted] server_rendering
01 js/server_rendering-14ea1949243b28528776.js.map.gz 1.02 MiB [emitted] [big]
01 manifest.json 4.43 KiB [emitted]
01 manifest.json.gz 994 bytes [emitted]
01 media/icons/amazon-e5983e93.svg 4.74 KiB [emitted]
01 media/icons/amazon-e5983e93.svg.gz 2.12 KiB [emitted]
01 media/icons/amex-61b4af74.svg 858 bytes [emitted]
01 media/icons/amex-61b4af74.svg.gz 544 bytes [emitted]
01 media/icons/check-a589ce44.svg 235 bytes [emitted]
01 media/icons/check-circle-pink-6559436e.svg 346 bytes [emitted]
01 media/icons/check-circle-pink-6559436e.svg.gz 256 bytes [emitted]
01 media/icons/cog-b5202fdf.svg 1.68 KiB [emitted]
01 media/icons/cog-b5202fdf.svg.gz 812 bytes [emitted]
01 media/icons/dots-e2d42248.svg 382 bytes [emitted]
01 media/icons/dots-e2d42248.svg.gz 204 bytes [emitted]
01 media/icons/facebook-circle-c035eb1f.svg 624 bytes [emitted]
01 media/icons/facebook-circle-c035eb1f.svg.gz 386 bytes [emitted]
01 media/icons/google-cf93a482.svg 2.96 KiB [emitted]
01 media/icons/google-cf93a482.svg.gz 1.22 KiB [emitted]
01 media/icons/instagram-circle-d759118e.svg 2 KiB [emitted]
01 media/icons/instagram-circle-d759118e.svg.gz 832 bytes [emitted]
01 media/icons/linkedin-circle-fd805912.svg 696 bytes [emitted]
01 media/icons/linkedin-circle-fd805912.svg.gz 429 bytes [emitted]
01 media/icons/loading-1c36d462.svg 510 bytes [emitted]
01 media/icons/loading-1c36d462.svg.gz 348 bytes [emitted]
01 media/icons/mastercard-db8c0352.svg 4.67 KiB [emitted]
01 media/icons/mastercard-db8c0352.svg.gz 1.92 KiB [emitted]
01 media/icons/plus-badf5233.svg 193 bytes [emitted]
01 media/icons/twitter-circle-119b760d.svg 760 bytes [emitted]
01 media/icons/twitter-circle-119b760d.svg.gz 440 bytes [emitted]
01 media/icons/visa-0f5ff989.svg 1.48 KiB [emitted]
01 media/icons/visa-0f5ff989.svg.gz 772 bytes [emitted]
01 media/icons/youtube-857afc48.svg 4.67 KiB [emitted]
01 media/icons/youtube-857afc48.svg.gz 1.89 KiB [emitted]
01 media/images/carousel-2-5354092d.jpg 194 KiB [emitted]
01 media/images/content-pillar-calendar-891e2838.png 365 KiB [emitted] [big]
01 media/images/pdf-gwi-logo-e1c7fd44.png 42.1 KiB [emitted]
01 media/images/pdf-logo-dee2a8f8.png 172 KiB [emitted]
01 media/personas/bg-category-6982a34f.jpg 95.8 KiB [emitted]
01 media/personas/bg-cities-cb753ae0.jpg 1.51 MiB [emitted] [big]
01 media/personas/bg-content-day-2a73a113.jpg 280 KiB [emitted] [big]
01 media/personas/bg-content-search-a8fb446e.jpg 166 KiB [emitted]
01 media/personas/bg-content-talking-b8d7137d.jpg 366 KiB [emitted] [big]
01 media/personas/bg-countries-d7cc846f.jpg 957 KiB [emitted] [big]
01 media/personas/bg-days-7fa129d5.jpg 427 KiB [emitted] [big]
01 media/personas/bg-did-you-know-e1dbe7f4.jpg 400 KiB [emitted] [big]
01 media/personas/bg-emotions-9fb815b6.jpg 583 KiB [emitted] [big]
01 media/personas/bg-essentials-b09e4746.jpg 199 KiB [emitted]
01 media/personas/bg-getting-more-specific-3ad24438.jpg 316 KiB [emitted] [big]
01 media/personas/bg-information-fa003c36.jpg 261 KiB [emitted] [big]
01 media/personas/bg-profession-c0624265.jpg 501 KiB [emitted] [big]
01 media/personas/bg-when-what-fa003c36.jpg 261 KiB [emitted] [big]
01 media/placeholders/avatar-f9e548d5.png 47.6 KiB [emitted]
01 media/placeholders/chart-28c7862d.png 77.7 KiB [emitted]
01 media/placeholders/media-plan-5fda5c97.png 15.3 KiB [emitted]
01 media/placeholders/media-plan-opacity-ce2478fc.png 11.7 KiB [emitted]
01 media/placeholders/persona-a9e3f409.png 30.2 KiB [emitted]
01 media/placeholders/placeholder-new-28812104.jpg 38.1 KiB [emitted]
01 media/placeholders/slide-2025994e.jpg 118 KiB [emitted]
01 Entrypoint application [big] = js/application-6357821d2ac6287b3833.js js/application-6357821d2ac6287b3833.js.map
01 Entrypoint hello_react = js/hello_react-0075b6521c32918ed72d.js js/hello_react-0075b6521c32918ed72d.js.map
01 Entrypoint server_rendering [big] = js/server_rendering-14ea1949243b28528776.js js/server_rendering-14ea1949243b…
01 [2] ./app/javascript/helpers/const.js 2.13 KiB {0} {2} [built]
01 [11] ./app/assets/images/pdf-logo.png 80 bytes {0} {2} [built]
01 [13] ./app/assets/images/pdf-gwi-logo.png 84 bytes {0} {2} [built]
01 [16] ./app/javascript/helpers/request_wrapper.js 912 bytes {0} {2} [built]
01 [28] ./app/javascript/components/form/Chart.jsx + 235 modules 652 KiB {0} {2} [built]
01 | 236 modules
01 [32] ./node_modules/react-redux/es/index.js + 22 modules 51 KiB {0} {2} [built]
01 | 23 modules
01 [38] ./app/javascript/helpers/functions.js 258 bytes {0} {2} [built]
01 [44] ./app/assets/images/icons/visa.svg 75 bytes {0} {2} [built]
01 [45] ./app/assets/images/icons/mastercard.svg 81 bytes {0} {2} [built]
01 [62] ./app/javascript/components/form/RcSlider.jsx + 46 modules 174 KiB {0} {2} [built]
01 | 47 modules
01 [88] ./app/javascript/components/store.js + 1 modules 764 bytes {0} {2} [built]
01 | 2 modules
01 [386] ./app/javascript/components sync ^\.\/.*$ 5.72 KiB {0} {2} [built]
01 [690] ./app/javascript/packs/application.js 1010 bytes {0} [built]
01 [691] ./app/javascript/packs/hello_react.jsx 590 bytes {1} [built]
01 [692] ./app/javascript/packs/server_rendering.js 292 bytes {2} [built]
01 + 1063 hidden modules
01
01 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
01 This can impact web performance.
01 Assets:
01 media/images/content-pillar-calendar-891e2838.png (365 KiB)
01 media/personas/bg-did-you-know-e1dbe7f4.jpg (400 KiB)
01 media/personas/bg-content-day-2a73a113.jpg (280 KiB)
01 media/personas/bg-information-fa003c36.jpg (261 KiB)
01 media/personas/bg-cities-cb753ae0.jpg (1.51 MiB)
01 media/personas/bg-countries-d7cc846f.jpg (957 KiB)
01 media/personas/bg-profession-c0624265.jpg (501 KiB)
01 media/personas/bg-emotions-9fb815b6.jpg (583 KiB)
01 media/personas/bg-days-7fa129d5.jpg (427 KiB)
01 media/personas/bg-when-what-fa003c36.jpg (261 KiB)
01 media/personas/bg-content-talking-b8d7137d.jpg (366 KiB)
01 media/personas/bg-getting-more-specific-3ad24438.jpg (316 KiB)
01 js/application-6357821d2ac6287b3833.js (1.23 MiB)
01 js/server_rendering-14ea1949243b28528776.js (1.23 MiB)
01 js/application-6357821d2ac6287b3833.js.gz (326 KiB)
01 js/server_rendering-14ea1949243b28528776.js.gz (326 KiB)
01 js/server_rendering-14ea1949243b28528776.js.map.gz (1.02 MiB)
01 js/application-6357821d2ac6287b3833.js.map.gz (1.02 MiB)
01
01 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit …
01 Entrypoints:
01 application (1.23 MiB)
01 js/application-6357821d2ac6287b3833.js
01 server_rendering (1.23 MiB)
01 js/server_rendering-14ea1949243b28528776.js
01
01
01 WARNING in webpack performance recommendations:
01 You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your appli…
01 For more info visit https://webpack.js.org/guides/code-splitting/
01
✔ 01 [email protected] 309.603s
** Invoke deploy:assets:backup_manifest (first_time)
** Execute deploy:assets:backup_manifest
06:28 deploy:assets:backup_manifest
01 mkdir -p /var/www/lucy.very.hu/releases/20201125002644/assets_manifest_backup
✔ 01 [email protected] 0.768s
02 cp /var/www/lucy.very.hu/releases/20201125002644/public/assets/.sprockets-manifest-9272b8d8f9c3154112fe1510157ce…
✔ 02 [email protected] 0.859s
** Invoke deploy:cleanup_assets (first_time)
** Invoke deploy:set_rails_env
** Execute deploy:cleanup_assets
** Invoke deploy:normalize_assets (first_time)
** Invoke deploy:set_rails_env
** Execute deploy:normalize_assets
** Invoke deploy:migrate (first_time)
** Invoke deploy:set_rails_env
** Execute deploy:migrate
06:31 deploy:migrate
[deploy:migrate] Run `rake db:migrate`
** Invoke deploy:migrating (first_time)
** Invoke deploy:set_rails_env
** Execute deploy:migrating
06:32 deploy:migrating
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle exec rake db:migrate
01 == 20201124204544 ChangeSubscriptionsColumns: migrating =======================
01 -- add_column(:subscriptions, :ended_at, :timestamp)
01 -> 0.0271s
01 -- add_column(:subscriptions, :created, :timestamp)
01 -> 0.0141s
01 -- add_column(:subscriptions, :customer, :string)
01 -> 0.0127s
01 -- add_column(:subscriptions, :canceled_at, :timestamp)
01 -> 0.0324s
01 -- add_column(:subscriptions, :cancel_at_period_end, :boolean)
01 -> 0.0109s
01 -- change_column(:subscriptions, :status, :string)
01 -> 0.0156s
01 -- remove_column(:subscriptions, :personas_count)
01 -> 0.0135s
01 -- remove_column(:subscriptions, :media_plans_count)
01 -> 0.0111s
01 -- remove_reference(:subscriptions, :plan)
01 -> 0.0111s
01 == 20201124204544 ChangeSubscriptionsColumns: migrated (0.1503s) ==============
01
01 == 20201124211917 RenamePlansTable: migrating =================================
01 -- rename_table(:plans, :packages)
01 -> 0.0060s
01 == 20201124211917 RenamePlansTable: migrated (0.0061s) ========================
01
01 == 20201124215918 RemoveAllCharges: migrating =================================
01 == 20201124215918 RemoveAllCharges: migrated (0.3582s) ========================
01
01 == 20201124222648 CreatePlan: migrating =======================================
01 -- create_table(:plans, {:id=>false})
01 -> 0.0110s
01 -- execute("ALTER TABLE plans ADD PRIMARY KEY (id);")
01 -> 0.0096s
01 == 20201124222648 CreatePlan: migrated (0.0208s) ==============================
01
✔ 01 [email protected] 4.335s
** Invoke sidekiq:stop (first_time)
** Execute sidekiq:stop
06:40 sidekiq:stop
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle exec sidekiqctl stop /var/www/lucy.very.hu/shared/tmp/pids/sidekiq-0.pid 10
01 Sidekiq shut down gracefully.
✔ 01 [email protected] 2.865s
** Invoke deploy:publishing (first_time)
** Execute deploy:publishing
** Invoke deploy:symlink:release (first_time)
** Execute deploy:symlink:release
06:43 deploy:symlink:release
01 ln -s /var/www/lucy.very.hu/releases/20201125002644 /var/www/lucy.very.hu/releases/current
✔ 01 [email protected] 0.922s
02 mv /var/www/lucy.very.hu/releases/current /var/www/lucy.very.hu
✔ 02 [email protected] 0.839s
** Invoke deploy:published (first_time)
** Execute deploy:published
** Invoke sidekiq:start (first_time)
** Execute sidekiq:start
06:47 sidekiq:start
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle exec sidekiq --index 0 --pidfile /var/www/lucy.very.hu/shared/tmp/pids/sidek…
01 WARNING: PID file creation will be removed in Sidekiq 6.0, see #4045. Please use a proper process supervisor to …
01 WARNING: Logfile redirection will be removed in Sidekiq 6.0, see #4045. Sidekiq will only log to STDOUT
01 WARNING: Daemonization mode will be removed in Sidekiq 6.0, see #4045. Please use a proper process supervisor to…
✔ 01 [email protected] 1.958s
** Invoke deploy:finishing (first_time)
** Execute deploy:finishing
** Invoke deploy:cleanup (first_time)
** Execute deploy:cleanup
06:49 deploy:cleanup
Keeping 2 of 4 deployed releases on 95.85.9.70
01 rm -rf /var/www/lucy.very.hu/releases/20201124131233 /var/www/lucy.very.hu/releases/20201124151459
✔ 01 [email protected] 4.610s
** Invoke slack:deploy:finish (first_time)
** Execute slack:deploy:finish
** Invoke deploy:finished (first_time)
** Execute deploy:finished
** Invoke deploy:log_revision (first_time)
** Execute deploy:log_revision
06:57 deploy:log_revision
01 echo "Branch staging (at 3f71b2dc55552cc0918395c1603b887e076c6c33) deployed as release 20201125002644 by poulaha…
✔ 01 [email protected] 0.921s
** Invoke puma:smart_restart (first_time)
** Execute puma:smart_restart
** Invoke puma:restart (first_time)
** Execute puma:restart
07:01 puma:restart
01 ~/.rvm/bin/rvm 2.6.0@lucy do bundle exec pumactl -S /var/www/lucy.very.hu/shared/tmp/pids/puma.state -C /var/www…
01 Command restart sent success
✔ 01 [email protected] 1.945s
from capistrano-nvm.
Seems like it works perfectly. @bolahanna44
from capistrano-nvm.
Related Issues (13)
- Is nvm-exec.sh actually executed? HOT 6
- capt staging setup produce No .nvmrc file found
- Doesn't work in nvm 0.30.2 HOT 1
- capistrano-nvm doesn't appear to be working with capistrano-bower HOT 7
- NVM multiple user install on Ubuntu HOT 20
- Don't wrap certain tasks? HOT 1
- Cannot deploy an application using Rails 5.1 Webpacker HOT 24
- nvm path is not in $PATH variabale HOT 3
- Still active? HOT 4
- Multiple deploy users on one VPS HOT 2
- Possiblity to configure major version number only
- capistrano-nvm looks for nodejs in wrong directory HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-nvm.