0

このサイトはかなり長い間稼働しています。宝石などに関しては何も変わっていないと思います。cap deploy を実行していますが、以下の不可解なエラーが表示されます。文句を言っているリリース名「20140407162521」もサーバー上に存在しません。これが何に関係しているか知っている人はいますか?

*** [err :: dev.example.com] stdin: is not a tty
*** [err :: dev.example.com] rake aborted!
*** [err :: dev.example.com] Invalid argument - /home/jeffc/public_html/dev/statusexpo_proj/releases/20140407162521/tmp/cache/assets/D48/850/.permissions_check.16572040.6927.224951
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/core_ext/file/atomic.rb:30:in `initialize'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/core_ext/file/atomic.rb:30:in `open'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/core_ext/file/atomic.rb:30:in `rescue in atomic_write'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/core_ext/file/atomic.rb:24:in `atomic_write'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/cache/file_store.rb:92:in `write_entry'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:140:in `write_entry'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/cache.rb:364:in `block in write'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/cache.rb:520:in `instrument'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/cache.rb:362:in `write'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/caching.rb:90:in `cache_set'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/caching.rb:53:in `cache_set_hash'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/caching.rb:29:in `cache_asset'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/static_compiler.rb:19:in `block in compile'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/static_compiler.rb:18:in `compile'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/assets.rake:56:in `internal_precompile'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/assets.rake:23:in `invoke_or_reboot_rake_task'
*** [err :: dev.example.com] /home/jeffc/www/dev/statusexpo_proj/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.15/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
*** [err :: dev.example.com] Tasks: TOP => assets:precompile:primary
*** [deploy:update_code] rolling back
4

1 に答える 1

1

手動で rm -rf tmp/ を実行して tmp の内容を削除してから、再度デプロイして、それが役立つかどうかを確認してください。

以下に関連している可能性があります: Asset Pipeline を使用する Rails 3.2.15 で assets:precompile が「ファイルが存在します」で失敗する

于 2014-04-09T18:38:08.453 に答える