Created
February 12, 2010 00:17
-
-
Save Aslan/302153 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
deploy "/home/amsrv/app/Cornice" do | |
repo "[email protected]:Aslan/TestApp.git" | |
revision "HEAD" # or "HEAD" or "TAG_for_1.0" or (subversion) "1234" | |
user "amsrv" | |
group "amsrv" | |
enable_submodules true | |
migrate true | |
migration_command "rake db:migrate --trace" | |
symlink_before_migrate "config/database.yml" => "config/database.yml" | |
environment "RAILS_ENV" => "production" | |
shallow_clone true | |
action :deploy # or :rollback | |
restart_command "touch tmp/restart.txt" | |
create_dirs_before_symlink %w{tmp public config} | |
#git_ssh_wrapper "wrap-ssh4git.sh" | |
scm_provider Chef::Provider::Git # is the default, for svn: Chef::Provider::Subversion | |
#not_if "test -d /home/amsrv/app/Cornice/current/app" #Prevents chef client runs from deploying more than once | |
end |
This file contains hidden or 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
root@domU-12-31-39-0B-1D-12:/home/amsrv/app/Cornice/shared/config# chef-client | |
[Thu, 11 Feb 2010 17:04:21 -0800] INFO: Starting Chef Run | |
[Thu, 11 Feb 2010 17:04:26 -0800] INFO: Storing updated cookbooks/configure-site/recipes/default.rb in the cache. | |
i686 | |
[Thu, 11 Feb 2010 17:04:27 -0800] INFO: Ran execute[apt-get-update] successfully | |
[Thu, 11 Feb 2010 17:04:27 -0800] INFO: deploying branch: HEAD | |
[Thu, 11 Feb 2010 17:04:27 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:04:27 -0800] INFO: updating the cached checkout | |
[Thu, 11 Feb 2010 17:04:28 -0800] INFO: Fetching updates from origin and resetting to revison 6a536aff2b94762e233cf788191826b6f251c70c | |
[Thu, 11 Feb 2010 17:04:28 -0800] INFO: Enabling git submodules | |
[Thu, 11 Feb 2010 17:04:28 -0800] INFO: copying the cached checkout to /home/amsrv/app/Cornice/releases/20100212010427 | |
[Thu, 11 Feb 2010 17:04:28 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:04:29 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:04:29 -0800] INFO: Making pre-migration symlinks: config/database.yml => config/database.yml | |
[Thu, 11 Feb 2010 17:04:29 -0800] INFO: Migrating: running rake db:migrate --trace as amsrv with environment RAILS_ENV='production' | |
[Thu, 11 Feb 2010 17:04:34 -0800] ERROR: deploy[/home/amsrv/app/Cornice] (/var/chef/cache/cookbooks/configure-site/recipes/default.rb line 83) had an error: | |
rake db:migrate --trace returned 1, expected 0 | |
---- Begin output of rake db:migrate --trace ---- | |
STDOUT: (in /home/amsrv/app/Cornice/releases/20100212010427) | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environmentSTDERR: rake aborted! | |
No such file or directory - /home/amsrv/app/Cornice/releases/20100212010427/config/database.yml | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:819:in `read' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:819:in `database_configuration' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:391:in `initialize_database' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:139:in `process' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' | |
/home/amsrv/app/Cornice/releases/20100212010427/config/environment.rb:13 | |
/opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
/opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3 | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 | |
/opt/ruby-enterprise/bin/rake:19:in `load' | |
/opt/ruby-enterprise/bin/rake:19---- End output of rake db:migrate --trace ---- | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/command.rb:175:in `handle_command_failures'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/command.rb:118:in `run_command'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/provider/deploy.rb:138:in `migrate'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/provider/deploy.rb:98:in `deploy'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/provider/deploy.rb:66:in `action_deploy'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:61:in `send'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:61:in `run_action'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:111:in `converge'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:110:in `each'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:110:in `converge'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:86:in `execute_each_resource'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/from_file.rb:30:in `each_with_index'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:84:in `each'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:84:in `each_with_index'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:84:in `execute_each_resource'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:88:in `converge'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:407:in `converge'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:89:in `run'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:186:in `run_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in `loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in `run_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application.rb:57:in `run'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/bin/chef-client:26/opt/ruby-enterprise/bin/chef-client:19:in `load'/opt/ruby-enterprise/bin/chef-client:19 | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/command.rb:175:in `handle_command_failures': rake db:migrate --trace returned 1, expected 0 (Chef::Exceptions::Exec) | |
---- Begin output of rake db:migrate --trace ---- | |
STDOUT: (in /home/amsrv/app/Cornice/releases/20100212010427) | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environmentSTDERR: rake aborted! | |
No such file or directory - /home/amsrv/app/Cornice/releases/20100212010427/config/database.yml | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:819:in `read' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:819:in `database_configuration' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:391:in `initialize_database' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:139:in `process' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' | |
/home/amsrv/app/Cornice/releases/20100212010427/config/environment.rb:13 | |
/opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
/opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3 | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' | |
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 | |
/opt/ruby-enterprise/bin/rake:19:in `load' | |
/opt/ruby-enterprise/bin/rake:19---- End output of rake db:migrate --trace ---- | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/command.rb:118:in `run_command' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/provider/deploy.rb:138:in `migrate' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/provider/deploy.rb:98:in `deploy' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/provider/deploy.rb:66:in `action_deploy' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:61:in `send' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:61:in `run_action' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:111:in `converge' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:110:in `each' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:110:in `converge' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:86:in `execute_each_resource' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/mixin/from_file.rb:30:in `each_with_index' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:84:in `each' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:84:in `each_with_index' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/resource_collection.rb:84:in `execute_each_resource' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/runner.rb:88:in `converge' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:407:in `converge' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/client.rb:89:in `run' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:186:in `run_application' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in `loop' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application/client.rb:178:in `run_application' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/lib/chef/application.rb:57:in `run' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.7.16/bin/chef-client:26 | |
from /opt/ruby-enterprise/bin/chef-client:19:in `load' | |
from /opt/ruby-enterprise/bin/chef-client:19 |
This file contains hidden or 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
root@domU-12-31-39-0B-1D-12:/home/amsrv/app/Cornice/shared/config# chef-client | |
[Thu, 11 Feb 2010 17:15:03 -0800] INFO: Starting Chef Run | |
[Thu, 11 Feb 2010 17:15:07 -0800] INFO: Storing updated cookbooks/configure-site/recipes/default.rb in the cache. | |
i686 | |
[Thu, 11 Feb 2010 17:15:08 -0800] INFO: Ran execute[apt-get-update] successfully | |
[Thu, 11 Feb 2010 17:15:08 -0800] INFO: deploying branch: HEAD | |
[Thu, 11 Feb 2010 17:15:08 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:15:08 -0800] INFO: updating the cached checkout | |
[Thu, 11 Feb 2010 17:15:09 -0800] INFO: Fetching updates from origin and resetting to revison 6a536aff2b94762e233cf788191826b6f251c70c | |
[Thu, 11 Feb 2010 17:15:09 -0800] INFO: Enabling git submodules | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: copying the cached checkout to /home/amsrv/app/Cornice/releases/20100212011508 | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Making pre-migration symlinks: config/database.yml => config/database.yml | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Migrating: running /bin/true as amsrv with environment RAILS_ENV='production' | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Symlinking | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Purging directories in checkout log, tmp/pids, public/system | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: creating directories before symlink: tmp,public,config | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Linking shared paths into current release: log => log, system => public/system, pids => tmp/pids | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Making pre-migration symlinks: config/database.yml => config/database.yml | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: Linking release /home/amsrv/app/Cornice/releases/20100212011508 into production at /home/amsrv/app/Cornice/current | |
[Thu, 11 Feb 2010 17:15:10 -0800] INFO: ensuring proper ownership | |
[Thu, 11 Feb 2010 17:15:11 -0800] INFO: Restarting app with touch tmp/restart.txt in /home/amsrv/app/Cornice/current | |
[Thu, 11 Feb 2010 17:15:11 -0800] INFO: Removing old release /home/amsrv/app/Cornice/releases/20100211235045 | |
[Thu, 11 Feb 2010 17:15:11 -0800] INFO: Removing old release /home/amsrv/app/Cornice/releases/20100212000920 | |
[Thu, 11 Feb 2010 17:15:11 -0800] INFO: Removing old release /home/amsrv/app/Cornice/releases/20100212001155 | |
[Thu, 11 Feb 2010 17:15:11 -0800] INFO: Removing old release /home/amsrv/app/Cornice/releases/20100212002234 | |
[Thu, 11 Feb 2010 17:15:12 -0800] INFO: Ran execute[install memcached_1.2.2-1-u9.04.1_i386.deb] successfully | |
[Thu, 11 Feb 2010 17:15:12 -0800] WARN: service[memcached]: falling back to process table inspection | |
[Thu, 11 Feb 2010 17:15:12 -0800] WARN: service[memcached]: attempting to match 'memcached' ((?-mix:memcached)) against process list | |
[Thu, 11 Feb 2010 17:15:12 -0800] WARN: service[memcached]: falling back to process table inspection | |
[Thu, 11 Feb 2010 17:15:12 -0800] WARN: service[memcached]: attempting to match 'memcached' ((?-mix:memcached)) against process list | |
[Thu, 11 Feb 2010 17:15:12 -0800] WARN: service[apache2]: falling back to process table inspection | |
[Thu, 11 Feb 2010 17:15:12 -0800] WARN: service[apache2]: attempting to match 'apache2' ((?-mix:apache2)) against process list | |
[Thu, 11 Feb 2010 17:15:13 -0800] WARN: service[apache2]: falling back to process table inspection | |
[Thu, 11 Feb 2010 17:15:13 -0800] WARN: service[apache2]: attempting to match 'apache2' ((?-mix:apache2)) against process list | |
[Thu, 11 Feb 2010 17:15:15 -0800] INFO: Updating template[/etc/apache2/mods-available/passenger.conf] at /etc/apache2/mods-available/passenger.conf | |
[Thu, 11 Feb 2010 17:15:15 -0800] INFO: Backing up template[/etc/apache2/mods-available/passenger.conf] to /etc/apache2/mods-available/passenger.conf.chef-20100211171515 | |
[Thu, 11 Feb 2010 17:15:15 -0800] INFO: Removing backup of template[/etc/apache2/mods-available/passenger.conf] at /etc/apache2/mods-available/passenger.conf.chef-20100211145036 | |
[Thu, 11 Feb 2010 17:15:17 -0800] INFO: Creating template[/home/amsrv/app/Cornice/current/app/views/users/_fqdn.html.erb] at /home/amsrv/app/Cornice/current/app/views/users/_fqdn.html.erb | |
[Thu, 11 Feb 2010 17:15:17 -0800] INFO: Setting owner to 1000 for template[/home/amsrv/app/Cornice/current/app/views/users/_fqdn.html.erb] | |
[Thu, 11 Feb 2010 17:15:17 -0800] INFO: Setting group to 1000 for template[/home/amsrv/app/Cornice/current/app/views/users/_fqdn.html.erb] | |
[Thu, 11 Feb 2010 17:15:17 -0800] INFO: Setting mode to 655 for template[/home/amsrv/app/Cornice/current/app/views/users/_fqdn.html.erb] | |
[Thu, 11 Feb 2010 17:15:17 -0800] INFO: template[/etc/apache2/mods-available/passenger.conf] sending restart action to service[apache2] (delayed) | |
[Thu, 11 Feb 2010 17:15:17 -0800] WARN: service[apache2]: falling back to process table inspection | |
[Thu, 11 Feb 2010 17:15:17 -0800] WARN: service[apache2]: attempting to match 'apache2' ((?-mix:apache2)) against process list | |
[Thu, 11 Feb 2010 17:15:18 -0800] INFO: service[apache2]: restarted successfully | |
[Thu, 11 Feb 2010 17:15:19 -0800] INFO: Chef Run complete in 16.011469 seconds |
This file contains hidden or 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
<VirtualHost *:80> | |
DocumentRoot /home/amsrv/app/Cornice/current/public | |
RailsBaseURI / | |
RailsEnv production | |
RailsAllowModRewrite on | |
PassengerMaxPoolSize 4 | |
<Directory /home/amsrv/app/Cornice/current/public> | |
Options FollowSymLinks | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
LogLevel info | |
ErrorLog /var/log/apache2/error.log | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel debug | |
# Canonical host | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment