-
-
Save ikkorokoro/004b104ff30379f9a82ff5a24ce5f6fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdf-app % bundle exec cap production deploy | |
00:00 git:wrapper | |
01 mkdir -p /tmp | |
✔ 01 kosuke@35.72.128.67 0.695s | |
Uploading /tmp/git-ssh-91de7df5b2b670552312.sh 100.0% | |
02 chmod 700 /tmp/git-ssh-91de7df5b2b670552312.sh | |
✔ 02 kosuke@35.72.128.67 0.698s | |
00:02 git:check | |
01 git ls-remote git@github.com:ikkorokoro/sdf-app.git HEAD | |
01 448771250fda9ba76c9436523e5bd2f3677110d0 HEAD | |
✔ 01 kosuke@35.72.128.67 2.887s | |
00:05 deploy:check:directories | |
01 mkdir -p /var/www/sdf_app/shared /var/www/sdf_app/releases | |
✔ 01 kosuke@35.72.128.67 0.769s | |
00:06 deploy:check:linked_dirs | |
01 mkdir -p /var/www/sdf_app/shared/log /var/www/sdf_app/shared/tmp/pids /var/www/sdf_app/… | |
✔ 01 kosuke@35.72.128.67 0.749s | |
00:06 deploy:check:make_linked_dirs | |
01 mkdir -p /var/www/sdf_app/shared/config | |
✔ 01 kosuke@35.72.128.67 0.682s | |
00:10 git:clone | |
The repository mirror is at /var/www/sdf_app/repo | |
00:10 git:update | |
01 git remote set-url origin git@github.com:ikkorokoro/sdf-app.git | |
✔ 01 kosuke@35.72.128.67 0.690s | |
02 git remote update --prune | |
02 Fetching origin | |
✔ 02 kosuke@35.72.128.67 2.766s | |
00:15 git:create_release | |
01 mkdir -p /var/www/sdf_app/releases/20210311061944 | |
✔ 01 kosuke@35.72.128.67 0.713s | |
02 git archive master | /usr/bin/env tar -x -f - -C /var/www/sdf_app/releases/202103110619… | |
✔ 02 kosuke@35.72.128.67 0.986s | |
00:18 deploy:set_current_revision | |
01 echo "448771250fda9ba76c9436523e5bd2f3677110d0" > REVISION | |
✔ 01 kosuke@35.72.128.67 0.681s | |
00:19 deploy:symlink:linked_files | |
01 mkdir -p /var/www/sdf_app/releases/20210311061944/config | |
✔ 01 kosuke@35.72.128.67 0.675s | |
02 ln -s /var/www/sdf_app/shared/config/master.key /var/www/sdf_app/releases/2021031106194… | |
✔ 02 kosuke@35.72.128.67 0.681s | |
00:22 deploy:symlink:linked_dirs | |
01 mkdir -p /var/www/sdf_app/releases/20210311061944 /var/www/sdf_app/releases/20210311061… | |
✔ 01 kosuke@35.72.128.67 0.706s | |
02 rm -rf /var/www/sdf_app/releases/20210311061944/log | |
✔ 02 kosuke@35.72.128.67 0.697s | |
03 ln -s /var/www/sdf_app/shared/log /var/www/sdf_app/releases/20210311061944/log | |
✔ 03 kosuke@35.72.128.67 0.734s | |
04 rm -rf /var/www/sdf_app/releases/20210311061944/tmp/pids | |
✔ 04 kosuke@35.72.128.67 0.768s | |
05 ln -s /var/www/sdf_app/shared/tmp/pids /var/www/sdf_app/releases/20210311061944/tmp/pids | |
✔ 05 kosuke@35.72.128.67 0.687s | |
06 ln -s /var/www/sdf_app/shared/tmp/cache /var/www/sdf_app/releases/20210311061944/tmp/ca… | |
✔ 06 kosuke@35.72.128.67 0.701s | |
07 ln -s /var/www/sdf_app/shared/tmp/sockets /var/www/sdf_app/releases/20210311061944/tmp/… | |
✔ 07 kosuke@35.72.128.67 0.691s | |
08 ln -s /var/www/sdf_app/shared/node_modules /var/www/sdf_app/releases/20210311061944/nod… | |
✔ 08 kosuke@35.72.128.67 0.704s | |
09 ln -s /var/www/sdf_app/shared/public/assets /var/www/sdf_app/releases/20210311061944/pu… | |
✔ 09 kosuke@35.72.128.67 0.695s | |
00:38 bundler:config | |
01 $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true | |
✔ 01 kosuke@35.72.128.67 1.282s | |
02 $HOME/.rbenv/bin/rbenv exec bundle config --local path /var/www/sdf_app/shared/bundle | |
✔ 02 kosuke@35.72.128.67 0.792s | |
03 $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test | |
✔ 03 kosuke@35.72.128.67 0.903s | |
00:42 bundler:install | |
The Gemfile's dependencies are satisfied, skipping installation | |
00:43 deploy:assets:precompile | |
01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile | |
01 yarn install v1.22.5 | |
01 [1/4] Resolving packages... | |
01 [2/4] Fetching packages... | |
01 info fsevents@2.3.2: The platform "linux" is incompatible with this module. | |
01 info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excludi… | |
01 info fsevents@1.2.13: The platform "linux" is incompatible with this module. | |
01 info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Exclud… | |
01 [3/4] Linking dependencies... | |
01 warning " > webpack-dev-server@3.11.2" has unmet peer dependency "webpack@^4.0.0 || ^5.… | |
01 warning "webpack-dev-server > webpack-dev-middleware@3.7.3" has unmet peer dependency "… | |
01 [4/4] Building fresh packages... | |
01 Done in 5.35s. | |
01 yarn install v1.22.5 | |
01 [1/4] Resolving packages... | |
01 [2/4] Fetching packages... | |
01 info fsevents@2.3.2: The platform "linux" is incompatible with this module. | |
01 info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excludi… | |
01 info fsevents@1.2.13: The platform "linux" is incompatible with this module. | |
01 info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Exclud… | |
01 [3/4] Linking dependencies... | |
01 warning " > webpack-dev-server@3.11.2" has unmet peer dependency "webpack@^4.0.0 || ^5.… | |
01 warning "webpack-dev-server > webpack-dev-middleware@3.7.3" has unmet peer dependency "… | |
01 [4/4] Building fresh packages... | |
01 Done in 4.46s. | |
01 Compiling... | |
01 Compiled all packs in /var/www/sdf_app/releases/20210311061944/public/packs | |
01 Hash: 39be4e0fe5e0959797e5 | |
01 Version: webpack 4.46.0 | |
01 Time: 30154ms | |
01 Built at: 2021/03/11 6:21:04 | |
01 Asset Size Chunks … | |
01 css/application-86479afa.css 534 KiB 1, 3 [emitted] [immu… | |
01 css/application-86479afa.css.br 50.2 KiB [emitted] | |
01 css/application-86479afa.css.gz 65.1 KiB [emitted] | |
01 js/account-7cf170489bdf637e22f2.js 120 KiB 0 [emitted] [immu… | |
01 js/account-7cf170489bdf637e22f2.js.LICENSE.txt 493 bytes [emitted] | |
01 js/account-7cf170489bdf637e22f2.js.br 35.2 KiB [emitted] | |
01 js/account-7cf170489bdf637e22f2.js.gz 39.1 KiB [emitted] | |
01 js/account-7cf170489bdf637e22f2.js.map 579 KiB 0 [emitted] [dev]… | |
01 js/account-7cf170489bdf637e22f2.js.map.br 146 KiB [emitted] | |
01 js/account-7cf170489bdf637e22f2.js.map.gz 171 KiB [emitted] | |
01 js/application-db594c2f00686b392748.js 1.59 MiB 1, 3 [emitted] [immu… | |
01 js/application-db594c2f00686b392748.js.LICENSE.txt 2.43 KiB [emitted] | |
01 js/application-db594c2f00686b392748.js.br 457 KiB [emitted] … | |
01 js/application-db594c2f00686b392748.js.gz 553 KiB [emitted] … | |
01 js/application-db594c2f00686b392748.js.map 2.95 MiB 1, 3 [emitted] [dev]… | |
01 js/application-db594c2f00686b392748.js.map.br 736 KiB [emitted] … | |
01 js/application-db594c2f00686b392748.js.map.gz 891 KiB [emitted] … | |
01 js/change_image-c0d6b9a9afcf7538b4c3.js 1.25 KiB 2 [emitted] [immu… | |
01 js/change_image-c0d6b9a9afcf7538b4c3.js.br 556 bytes [emitted] | |
01 js/change_image-c0d6b9a9afcf7538b4c3.js.gz 655 bytes [emitted] | |
01 js/change_image-c0d6b9a9afcf7538b4c3.js.map 5.92 KiB 2 [emitted] [dev]… | |
01 js/change_image-c0d6b9a9afcf7538b4c3.js.map.br 2.1 KiB [emitted] | |
01 js/change_image-c0d6b9a9afcf7538b4c3.js.map.gz 2.43 KiB [emitted] | |
01 js/raty-bc13f49498ff85df407b.js 98.9 KiB 3 [emitted] [immu… | |
01 js/raty-bc13f49498ff85df407b.js.LICENSE.txt 493 bytes [emitted] | |
01 js/raty-bc13f49498ff85df407b.js.br 30.6 KiB [emitted] | |
01 js/raty-bc13f49498ff85df407b.js.gz 33.8 KiB [emitted] | |
01 js/raty-bc13f49498ff85df407b.js.map 494 KiB 3 [emitted] [dev]… | |
01 js/raty-bc13f49498ff85df407b.js.map.br 127 KiB [emitted] | |
01 js/raty-bc13f49498ff85df407b.js.map.gz 148 KiB [emitted] | |
01 js/show_article-46d15b2712cbc4b4e305.js 121 KiB 4 [emitted] [immu… | |
01 js/show_article-46d15b2712cbc4b4e305.js.LICENSE.txt 493 bytes [emitted] | |
01 js/show_article-46d15b2712cbc4b4e305.js.br 35.5 KiB [emitted] | |
01 js/show_article-46d15b2712cbc4b4e305.js.gz 39.4 KiB [emitted] | |
01 js/show_article-46d15b2712cbc4b4e305.js.map 581 KiB 4 [emitted] [dev]… | |
01 js/show_article-46d15b2712cbc4b4e305.js.map.br 147 KiB [emitted] | |
01 js/show_article-46d15b2712cbc4b4e305.js.map.gz 172 KiB [emitted] | |
01 manifest.json 1.91 KiB [emitted] | |
01 manifest.json.br 392 bytes [emitted] | |
01 manifest.json.gz 448 bytes [emitted] | |
01 media/images/wallpaperbetter 3-84315d92.png 980 KiB [emitted] … | |
01 media/images/軍団-e7be7ff1.png 15.7 MiB [emitted]... | |
01 Entrypoint account = js/account-7cf170489bdf637e22f2.js js/account-7cf170489bdf637e22f2… | |
01 Entrypoint application [big] = css/application-86479afa.css js/application-db594c2f0068… | |
01 Entrypoint change_image = js/change_image-c0d6b9a9afcf7538b4c3.js js/change_image-c0d6b… | |
01 Entrypoint raty = js/raty-bc13f49498ff85df407b.js js/raty-bc13f49498ff85df407b.js.map | |
01 Entrypoint show_article = js/show_article-46d15b2712cbc4b4e305.js js/show_article-46d15… | |
01 [2] ./app/javascript/modules/axios.js 137 bytes {0} {4} [built] | |
01 [3] (webpack)/buildin/module.js 552 bytes {0} {1} {3} {4} [built] | |
01 [15] (webpack)/buildin/global.js 905 bytes {1} [built] | |
01 [33] ./app/javascript/packs/raty.js 13.3 KiB {1} {3} [built] | |
01 [37] ./app/javascript/packs/account.js 1.93 KiB {0} [built] | |
01 [38] ./app/javascript/packs/application.js 1.09 KiB {1} [built] | |
01 [40] ./app/javascript/channels/index.js 205 bytes {1} [built] | |
01 [41] ./app/javascript/channels sync _channel\.js$ 160 bytes {1} [built] | |
01 [42] ./app/javascript/stylesheets/application.scss 39 bytes {1} [built] | |
01 [47] ./app/javascript/packs/change_image.js 888 bytes {2} [built] | |
01 [48] ./app/javascript/packs/show_article.js + 1 modules 3.13 KiB {4} [built] | |
01 | ./app/javascript/packs/show_article.js 2.21 KiB [built] | |
01 | ./app/javascript/modules/handle_heart.js 934 bytes [built] | |
01 [49] /var/www/sdf_app/shared/node_modules/@rails/actiontext/app/javascript/actiontext/i… | |
01 | 2 modules | |
01 + 39 hidden modules | |
01 | |
01 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (… | |
01 This can impact web performance. | |
01 Assets: | |
01 media/images/wallpaperbetter 3-84315d92.png (980 KiB) | |
01 media/images/軍団-e7be7ff1.png (15.7 MiB) | |
01 css/application-86479afa.css (534 KiB) | |
01 js/application-db594c2f00686b392748.js (1.59 MiB) | |
01 js/application-db594c2f00686b392748.js.gz (553 KiB) | |
01 js/application-db594c2f00686b392748.js.map.gz (891 KiB) | |
01 js/application-db594c2f00686b392748.js.br (457 KiB) | |
01 js/application-db594c2f00686b392748.js.map.br (736 KiB) | |
01 | |
01 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size excee… | |
01 Entrypoints: | |
01 application (2.11 MiB) | |
01 css/application-86479afa.css | |
01 js/application-db594c2f00686b392748.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… | |
01 For more info visit https://webpack.js.org/guides/code-splitting/ | |
01 Child mini-css-extract-plugin ../../shared/node_modules/css-loader/dist/cjs.js??ref--7-… | |
01 Entrypoint mini-css-extract-plugin = * | |
01 [0] /var/www/sdf_app/shared/node_modules/css-loader/dist/cjs.js??ref--7-1!/var/www/… | |
01 [3] ./app/assets/images/wallpaperbetter 3.png 89 bytes {0} [built] | |
01 [4] ./app/assets/images/軍団.png 78 bytes {0} [built] | |
01 + 2 hidden modules | |
01 | |
✔ 01 kosuke@35.72.128.67 46.675s | |
01:31 deploy:assets:backup_manifest | |
01 mkdir -p /var/www/sdf_app/releases/20210311061944/assets_manifest_backup | |
✔ 01 kosuke@35.72.128.67 0.698s | |
02 cp /var/www/sdf_app/releases/20210311061944/public/assets/.sprockets-manifest-ed4fcc76f… | |
✔ 02 kosuke@35.72.128.67 0.682s | |
01:34 deploy:migrate | |
[deploy:migrate] Run `rake db:migrate` | |
01:34 deploy:migrating | |
01 $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate | |
01 rake aborted! | |
01 Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using passwo… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in … | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in … | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/c… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/t… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/r… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/r… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/r… | |
01 /var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (requir… | |
01 /home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
01 /home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
01 Tasks: TOP => db:migrate | |
01 (See full trace by running task with --trace) | |
#<Thread:0x00007fdb06028c60@/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true): | |
Traceback (most recent call last): | |
13: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute' | |
12: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:31:in `run' | |
11: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:31:in `instance_exec' | |
10: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-rails-1.6.1/lib/capistrano/tasks/migrations.rake:23:in `block (3 levels) in <top (required)>' | |
9: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:92:in `within' | |
8: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-rails-1.6.1/lib/capistrano/tasks/migrations.rake:24:in `block (4 levels) in <top (required)>' | |
7: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:100:in `with' | |
6: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-rails-1.6.1/lib/capistrano/tasks/migrations.rake:25:in `block (5 levels) in <top (required)>' | |
5: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:80:in `execute' | |
4: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:148:in `create_command_and_execute' | |
3: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:148:in `tap' | |
2: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:148:in `block in create_command_and_execute' | |
1: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/netssh.rb:170:in `execute_command' | |
/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/command.rb:97:in `exit_status=': rake exit status: 1 (SSHKit::Command::Failed) | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
1: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute' | |
/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as kosuke@35.72.128.67: rake exit status: 1 (SSHKit::Runner::ExecuteError) | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
#<Thread:0x00007fdb00a23590@/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true): | |
Traceback (most recent call last): | |
13: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute' | |
12: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:31:in `run' | |
11: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:31:in `instance_exec' | |
10: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-rails-1.6.1/lib/capistrano/tasks/migrations.rake:23:in `block (3 levels) in <top (required)>' | |
9: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:92:in `within' | |
8: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-rails-1.6.1/lib/capistrano/tasks/migrations.rake:24:in `block (4 levels) in <top (required)>' | |
7: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:100:in `with' | |
6: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/capistrano-rails-1.6.1/lib/capistrano/tasks/migrations.rake:25:in `block (5 levels) in <top (required)>' | |
5: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:80:in `execute' | |
4: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:148:in `create_command_and_execute' | |
3: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:148:in `tap' | |
2: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:148:in `block in create_command_and_execute' | |
1: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/netssh.rb:170:in `execute_command' | |
/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/command.rb:97:in `exit_status=': rake exit status: 1 (SSHKit::Command::Failed) | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
1: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute' | |
/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as kosuke@35.72.128.67: rake exit status: 1 (SSHKit::Runner::ExecuteError) | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
1: from /Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute' | |
/Users/imayoshikosuke/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as kosuke@35.72.128.67: Exception while executing as kosuke@35.72.128.67: rake exit status: 1 (SSHKit::Runner::ExecuteError) | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
(Backtrace restricted to imported tasks) | |
cap aborted! | |
SSHKit::Runner::ExecuteError: Exception while executing as kosuke@35.72.128.67: Exception while executing as kosuke@35.72.128.67: rake exit status: 1 | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
Caused by: | |
SSHKit::Runner::ExecuteError: Exception while executing as kosuke@35.72.128.67: rake exit status: 1 | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
Caused by: | |
SSHKit::Command::Failed: rake exit status: 1 | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
Tasks: TOP => deploy:migrate | |
(See full trace by running task with --trace) | |
The deploy has failed with an error: Exception while executing as kosuke@35.72.128.67: Exception while executing as kosuke@35.72.128.67: rake exit status: 1 | |
rake stdout: Nothing written | |
rake stderr: rake aborted! | |
Mysql2::Error::ConnectionError: Access denied for user 'root'@'localhost' (using password: NO) | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
Tasks: TOP => db:migrate | |
(See full trace by running task with --trace) | |
** DEPLOY FAILED | |
** Refer to log/capistrano.log for details. Here are the last 20 lines: | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:437:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:1119:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:221:in `retrieve_connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/connection_handling.rb:189:in `connection' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/tasks/database_tasks.rb:238:in `migrate' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:86:in `block (3 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `each' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.3.5/lib/active_record/railties/databases.rake:84:in `block (2 levels) in <main>' | |
/var/www/sdf_app/shared/bundle/ruby/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `load' | |
/home/kosuke/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>' | |
DEBUG [797cd9d4] Tasks: TOP => db:migrate | |
DEBUG [797cd9d4] (See full trace by running task with --trace) | |
imayoshikosuke@CLUCT sdf-app % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment