The error would appear to indicate that the previous release doesn't contain your asset manifest, did you check?
Lee Hambley http://lee.hambley.name/ +49 (0) 170 298 5667 On 12 May 2015 at 18:29, <great1...@gmail.com> wrote: > Versions: > > - Ruby 2.0 > - > - gem "capistrano", '~> 3.4.0' > - gem "capistrano-rails" > - gem "capistrano-bundler" > - Rails 4.1.8 > > Platform: > > - FreeBSD 9.2-RELEASE-p10 > > Logs: > > - Please past logs (as completely as possible to a 3rd party pasting > service such as pastie.org) > > When i run rollback i have manifest error, what it can be? > > hell:erosite ruslan$ VIDEO=1 cap project_domain deploy:rollback > INFO[d33b6b82] Running /usr/bin/env mkdir -p /tmp/project_domain.mobi/ on > 999.99.99.9 > INFO[d33b6b82] Finished in 1.408 seconds with exit status 0 (successful). > INFOUploading /tmp/project_domain.mobi/git-ssh.sh 100.0% > INFO[99a9ec50] Running /usr/bin/env chmod +x /tmp/project_domain.mobi/git- > ssh.sh on 999.99.99.9 > INFO[99a9ec50] Finished in 0.163 seconds with exit status 0 (successful). > INFO[e56bd276] Running /usr/bin/env git ls-remote --heads g...@partner.wap- > click.com:erosite on 999.99.99.9 > INFO[e56bd276] Finished in 1.784 seconds with exit status 0 (successful). > INFO[246d64be] Running /usr/bin/env mkdir -p /data/home/portal/ > project_domain.mobi/shared /data/home/portal/project_domain.mobi/releases > on 999.99.99.9 > INFO[246d64be] Finished in 0.178 seconds with exit status 0 (successful). > INFO[afa8dc75] Running /usr/bin/env mkdir -p /data/home/portal/ > project_domain.mobi/shared/bin /data/home/portal/project_domain.mobi/ > shared/log /data/home/portal/project_domain.mobi/shared/public/uploads / > data/home/portal/project_domain.mobi/shared/public/assets on 999.99.99.9 > INFO[afa8dc75] Finished in 0.163 seconds with exit status 0 (successful). > INFO[1136af7e] Running /usr/bin/env mkdir -p /data/home/portal/ > project_domain.mobi/shared/config /data/home/portal/project_domain.mobi/ > shared/config /data/home/portal/project_domain.mobi/shared/db on 999.99. > 99.9 > INFO[1136af7e] Finished in 0.166 seconds with exit status 0 (successful). > WARNRails assets manifest file (or backup file) not found. > (Backtrace restricted to imported tasks) > cap aborted! > SSHKit::Runner::ExecuteError: Exception while executing on host 999.99. > 99.9: Rails assets manifest file (or backup file) not found. > > > Capistrano::FileNotFound: Rails assets manifest file (or backup file) not > found. > > > Tasks: TOP => deploy:assets:restore_manifest > (See full trace by running task with --trace) > hell:erosite ruslan$ VIDEO=1 cap deploy:rollback --trace > ** Invoke ensure_stage (first_time) > ** Execute ensure_stage > Stage not set, please call something such as `cap production deploy`, > where production is a stage you have defined. > hell:erosite ruslan$ VIDEO=1 cap project_domain deploy:rollback --trace > ** Invoke project_domain (first_time) > ** Execute project_domain > ** Invoke load:defaults (first_time) > ** Execute load:defaults > ** 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_rails_env > ** Invoke deploy:rollback (first_time) > ** Execute deploy:rollback > ** Invoke deploy:starting (first_time) > ** Execute deploy:starting > ** Invoke deploy:check (first_time) > ** Execute deploy:check > ** Invoke git:check (first_time) > ** Invoke git:wrapper (first_time) > ** Execute git:wrapper > INFO[06e1d4d9] Running /usr/bin/env mkdir -p /tmp/project_domain.mobi/ on > 999.99.99.9 > INFO[06e1d4d9] Finished in 1.451 seconds with exit status 0 (successful). > INFOUploading /tmp/project_domain.mobi/git-ssh.sh 100.0% > INFO[fd7a4592] Running /usr/bin/env chmod +x /tmp/project_domain.mobi/git- > ssh.sh on 999.99.99.9 > INFO[fd7a4592] Finished in 0.163 seconds with exit status 0 (successful). > ** Execute git:check > INFO[56de582f] Running /usr/bin/env git ls-remote --heads g...@partner.wap- > click.com:erosite on 999.99.99.9 > INFO[56de582f] Finished in 2.011 seconds with exit status 0 (successful). > ** Invoke deploy:check:directories (first_time) > ** Execute deploy:check:directories > INFO[eb62b3b2] Running /usr/bin/env mkdir -p /data/home/portal/ > project_domain.mobi/shared /data/home/portal/project_domain.mobi/releases > on 999.99.99.9 > INFO[eb62b3b2] Finished in 0.163 seconds with exit status 0 (successful). > ** Invoke deploy:check:linked_dirs (first_time) > ** Execute deploy:check:linked_dirs > INFO[a352c172] Running /usr/bin/env mkdir -p /data/home/portal/ > project_domain.mobi/shared/bin /data/home/portal/project_domain.mobi/ > shared/log /data/home/portal/project_domain.mobi/shared/public/uploads / > data/home/portal/project_domain.mobi/shared/public/assets on 999.99.99.9 > INFO[a352c172] Finished in 0.169 seconds with exit status 0 (successful). > ** Invoke deploy:check:make_linked_dirs (first_time) > ** Execute deploy:check:make_linked_dirs > INFO[c5691073] Running /usr/bin/env mkdir -p /data/home/portal/ > project_domain.mobi/shared/config /data/home/portal/project_domain.mobi/ > shared/config /data/home/portal/project_domain.mobi/shared/db on 999.99. > 99.9 > INFO[c5691073] Finished in 0.177 seconds with exit status 0 (successful). > ** Invoke deploy:check:linked_files (first_time) > ** Execute deploy:check:linked_files > ** Invoke deploy:set_previous_revision (first_time) > ** Execute deploy:set_previous_revision > ** Invoke deploy:started (first_time) > ** Execute deploy:started > ** Invoke deploy:reverting (first_time) > ** Execute deploy:reverting > ** Invoke deploy:revert_release (first_time) > ** Invoke deploy:rollback_release_path (first_time) > ** Execute deploy:rollback_release_path > ** Execute deploy:revert_release > ** Invoke deploy:reverted (first_time) > ** Execute deploy:reverted > ** Invoke deploy:rollback_assets (first_time) > ** Invoke deploy:set_rails_env > ** Execute deploy:rollback_assets > ** Invoke deploy:assets:restore_manifest (first_time) > ** Execute deploy:assets:restore_manifest > WARNRails assets manifest file (or backup file) not found. > cap aborted! > SSHKit::Runner::ExecuteError: Exception while executing on host 999.99. > 99.9: Rails assets manifest file (or backup file) not found. > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/capistrano-rails-1.1.2/lib/ > capistrano/tasks/assets.rake:86:in `block (5 levels) in <top (required)>' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/backends/abstract.rb:77:in > `within' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/capistrano-rails-1.1.2/lib/capistrano/tasks/assets.rake:77:in > `block (4 levels) in <top (required)>' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/backends/ > netssh.rb:54:in `instance_exec' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in > `run' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/runners/parallel.rb:13:in > `block (2 levels) in execute' > Capistrano::FileNotFound: Rails assets manifest file (or backup file) not > found. > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/capistrano-rails-1.1.2/lib/ > capistrano/tasks/assets.rake:86:in `block (5 levels) in <top (required)>' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/backends/abstract.rb:77:in > `within' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/capistrano-rails-1.1.2/lib/capistrano/tasks/assets.rake:77:in > `block (4 levels) in <top (required)>' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/backends/ > netssh.rb:54:in `instance_exec' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/backends/netssh.rb:54:in > `run' > /usr/local/rvm/gems/ruby-2.0.0-p598/gems/sshkit-1.5.1/lib/sshkit/runners/parallel.rb:13:in > `block (2 levels) in execute' > Tasks: TOP => deploy:assets:restore_manifest > > It is really strange error( it appears today) > > -- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to capistrano+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/7bafa1e6-de84-4296-a560-886afe60f242%40googlegroups.com > <https://groups.google.com/d/msgid/capistrano/7bafa1e6-de84-4296-a560-886afe60f242%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVWqs3dVQT%2Bdwoex9nnfi%2B_E7mvva1B4uZZ9G7rO9He8g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.