You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00:33 deploy:flush_memcached
01 echo flush_all | nc -q 1 localhost 11211
#<Thread:0x00007faac916dc28@/Users/ssiebert/.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):
9: from /Users/ssiebert/.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'
8: from /Users/ssiebert/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/backends/abstract.rb:31:in `run'
7: from /Users/ssiebert/.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'
6: from /Users/ssiebert/Documents/Work/dgi-db/lib/capistrano/tasks/deploy.rake:5:in `block (3 levels) in <top (required)>'
5: from /Users/ssiebert/.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/ssiebert/.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/ssiebert/.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/ssiebert/.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/ssiebert/.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/ssiebert/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/sshkit-1.21.2/lib/sshkit/command.rb:97:in `exit_status=': echo exit status: 1 (SSHKit::Command::Failed)
echo stdout: Nothing written
echo stderr: Nothing written
1: from /Users/ssiebert/.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/ssiebert/.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 ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com: echo exit status: 1 (SSHKit::Runner::ExecuteError)
echo stdout: Nothing written
echo stderr: Nothing written
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com: echo exit status: 1
echo stdout: Nothing written
echo stderr: Nothing written
Caused by:
SSHKit::Command::Failed: echo exit status: 1
echo stdout: Nothing written
echo stderr: Nothing written
/Users/ssiebert/Documents/Work/dgi-db/lib/capistrano/tasks/deploy.rake:5:in `block (3 levels) in <top (required)>'
Tasks: TOP => deploy:flush_memcached
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com: echo exit status: 1
echo stdout: Nothing written
echo stderr: Nothing written
** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:
DEBUG [75496bc1] Running if test ! -d /var/www/dgidb/releases/20220202182237; then echo "Directory does not exist '/var/www/dgidb/releases/20220202182237'" 1>&2; false; fi as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com
DEBUG [75496bc1] Command: if test ! -d /var/www/dgidb/releases/20220202182237; then echo "Directory does not exist '/var/www/dgidb/releases/20220202182237'" 1>&2; false; fi
DEBUG [75496bc1] Finished in 0.261 seconds with exit status 0 (successful).
INFO [32f053ac] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com
DEBUG [32f053ac] Command: cd /var/www/dgidb/releases/20220202182237 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.6" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate )
DEBUG [32f053ac] DEPRECATION: :dalli_store will be removed in Dalli 3.0.
Please use Rails' official :mem_cache_store instead.
https://guides.rubyonrails.org/caching_with_rails.html
INFO [32f053ac] Finished in 3.284 seconds with exit status 0 (successful).
INFO [b9cb6630] Running /usr/bin/env sudo systemctl kill -s SIGTERM sidekiq as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com
DEBUG [b9cb6630] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.6" ; /usr/bin/env sudo systemctl kill -s SIGTERM sidekiq )
INFO [b9cb6630] Finished in 0.266 seconds with exit status 0 (successful).
INFO [f1f8f34a] Running /usr/bin/env ln -s /var/www/dgidb/releases/20220202182237 /var/www/dgidb/releases/current as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com
DEBUG [f1f8f34a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.6" ; /usr/bin/env ln -s /var/www/dgidb/releases/20220202182237 /var/www/dgidb/releases/current )
INFO [f1f8f34a] Finished in 0.219 seconds with exit status 0 (successful).
INFO [56466ba7] Running /usr/bin/env mv /var/www/dgidb/releases/current /var/www/dgidb as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com
DEBUG [56466ba7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.6" ; /usr/bin/env mv /var/www/dgidb/releases/current /var/www/dgidb )
INFO [56466ba7] Finished in 0.270 seconds with exit status 0 (successful).
INFO [a30f5565] Running /usr/bin/env echo flush_all | nc -q 1 localhost 11211 as ubuntu@ec2-35-167-156-177.us-west-2.compute.amazonaws.com
DEBUG [a30f5565] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.6" ; /usr/bin/env echo flush_all | nc -q 1 localhost 11211 )
Adam suggests to switch to redis instead.
The text was updated successfully, but these errors were encountered:
susannasiebert
changed the title
Deploys are failing at deploy:flush_memcached
Deploys errors at deploy:flush_memcachedFeb 2, 2022
This doesn't appear to be fatal:
Adam suggests to switch to redis instead.
The text was updated successfully, but these errors were encountered: