brupm (owner)

Revisions

gist: 195749 Download_button fork
public
Public Clone URL: git://gist.github.com/195749.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
~/bopia/Code/Hoodiny/cyloop3(release): deploy_cyloop
  * executing `cyloop'
  * executing `deploy:migrations'
  * executing `deploy:update_code'
  * executing "git ls-remote git@github.com:hoodinygithub/cyloop3.git production_deploy_092809_0230pm"
    servers: ["70.42.33.4"]
    [70.42.33.4:8135] executing command
    command finished
  * executing "git clone -q --depth 1 git@github.com:hoodinygithub/cyloop3.git /data/cyloop/releases/20090928184857 && cd /data/cyloop/releases/20090928184857 && git checkout -q -b deploy ea0259e40bdbf7cbd38f2002b2641355f7595f9f && (echo ea0259e40bdbf7cbd38f2002b2641355f7595f9f > /data/cyloop/releases/20090928184857/REVISION)"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing `deploy:finalize_update'
  * executing "chmod -R g+w /data/cyloop/releases/20090928184857"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing "rm -rf /data/cyloop/releases/20090928184857/log /data/cyloop/releases/20090928184857/public/system /data/cyloop/releases/20090928184857/tmp/pids &&\\\n mkdir -p /data/cyloop/releases/20090928184857/public &&\\\n mkdir -p /data/cyloop/releases/20090928184857/tmp &&\\\n ln -s /data/cyloop/shared/log /data/cyloop/releases/20090928184857/log &&\\\n ln -s /data/cyloop/shared/system /data/cyloop/releases/20090928184857/public/system &&\\\n ln -s /data/cyloop/shared/pids /data/cyloop/releases/20090928184857/tmp/pids"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8136] executing command
    [70.42.33.4:8135] executing command
    command finished
  * executing "find /data/cyloop/releases/20090928184857/public/images /data/cyloop/releases/20090928184857/public/stylesheets /data/cyloop/releases/20090928184857/public/javascripts -exec touch -t 200909281849.01 {} ';'; true"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
    triggering after callbacks for `deploy:update_code'
  * executing `deploy:pre_announce'
  * executing `deploy:restart_workers'
  * executing "sudo -p 'sudo password: ' monit restart beanstalk_processor_cyloop"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing `deploy:symlink_configs'
  * executing "cd /data/cyloop/releases/20090928184857 &&\\\n ln -nfs /data/cyloop/shared/config/database.yml /data/cyloop/releases/20090928184857/config/database.yml"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
    triggering after callbacks for `deploy:symlink_configs'
  * executing `bundler:bundle_gems'
  * executing "if [ -f /data/cyloop/releases/20090928184857/Gemfile ]; then mkdir -p /data/cyloop/shared/bundling/vendor && cd /data/cyloop/releases/20090928184857 && ln -s /data/cyloop/shared/bundling/vendor .; fi"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8136] executing command
    [70.42.33.4:8135] executing command
    command finished
  * executing "if [ -f /data/cyloop/releases/20090928184857/Gemfile ]; then mkdir -p /data/cyloop/shared/bundling/bin && cd /data/cyloop/releases/20090928184857 && ln -s /data/cyloop/shared/bundling/bin .; fi"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing "if [ -f /data/cyloop/releases/20090928184857/Gemfile ]; then cd /data/cyloop/releases/20090928184857 && gem bundle; fi"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing `symlink_remaining'
  * executing "rm -rf /data/cyloop/releases/20090928184857/db/sphinx &&\\\n mkdir -p /data/cyloop/releases/20090928184857/db/ &&\\\n ln -s /data/cyloop/shared/system/db/sphinx /data/cyloop/releases/20090928184857/db/sphinx &&\\\n rm /data/cyloop/releases/20090928184857/config/beanstalk.yml &&\\\n ln -s /data/cyloop/shared/config/beanstalk.yml /data/cyloop/releases/20090928184857/config/beanstalk.yml &&\\\n rm /data/cyloop/releases/20090928184857/config/memcached.yml &&\\\n ln -s /data/cyloop/shared/config/memcached.yml /data/cyloop/releases/20090928184857/config/memcached.yml &&\\\n ln -s /data/cyloop/shared/config/passenger_cluster.yml /data/cyloop/releases/20090928184857/config/passenger_cluster.yml"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8136] executing command
    [70.42.33.4:8135] executing command
    command finished
  * executing "rm -rf /data/cyloop/releases/20090928184857/db/fixtures &&\\\n ln -s /data/cyloop/shared/system/db/fixtures /data/cyloop/releases/20090928184857/db/fixtures &&\\\n rm -rf /data/cyloop/releases/20090928184857/db/geoip &&\\\n ln -s /data/cyloop/shared/system/db/geoip /data/cyloop/releases/20090928184857/db/geoip"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing "rm -rf /data/cyloop/releases/20090928184857/public/404.html && rm -rf /data/cyloop/releases/20090928184857/public/422.html && rm -rf /data/cyloop/releases/20090928184857/public/500.html &&\\\n ln -s /data/cyloop/shared/error_pages/404.html /data/cyloop/releases/20090928184857/public/404.html &&\\\n ln -s /data/cyloop/shared/error_pages/422.html /data/cyloop/releases/20090928184857/public/422.html &&\\\n ln -s /data/cyloop/shared/error_pages/500.html /data/cyloop/releases/20090928184857/public/500.html &&\\\n rm /data/cyloop/releases/20090928184857/public/robots.txt &&\\\n ln -s /data/cyloop/shared/robots.txt /data/cyloop/releases/20090928184857/public/robots.txt && \\\n ln -s /data/cyloop/shared/system/sitemap.xml /data/cyloop/releases/20090928184857/public/sitemap.xml &&\\\n ln -s /data/cyloop/shared/system/sitemap_style.xls /data/cyloop/releases/20090928184857/public/sitemap_style.xls"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8135] executing command
    [70.42.33.4:8136] executing command
    command finished
  * executing `hoodiny_custom'
  * executing "cd /data/cyloop/releases/20090928184857/ ; rake gems:install RAILS_ENV=production;"
    servers: ["70.42.33.4", "70.42.33.4"]
    [70.42.33.4:8136] executing command
    [70.42.33.4:8135] executing command
 ** [out :: 70.42.33.4:8136] (in /data/cyloop/releases/20090928184857)
 ** [out :: 70.42.33.4:8135] (in /data/cyloop/releases/20090928184857)
 ** [out :: 70.42.33.4:8135] no such file to load -- ruby-hmac
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:179:in `load'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/initializer.rb:305:in `load_gems'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/initializer.rb:305:in `each'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/initializer.rb:305:in `load_gems'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/initializer.rb:162:in `process'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/config/environment.rb:34
 ** [out :: 70.42.33.4:8136] no such file to load -- ruby-hmac
 ** [out :: 70.42.33.4:8136] /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/vendor/rails/railties/lib/tasks/misc.rake:4
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
 ** [out :: 70.42.33.4:8136] /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
 ** [out :: 70.42.33.4:8135] /data/cyloop/releases/20090928184857/vendor/rails/railties/lib/tasks/gems.rake:17
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
 ** [out :: 70.42.33.4:8135] /usr/lib64/ruby/1.8/monitor.rb:242:in `synchronize'
 **