質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,83 +90,111 @@
|
|
90
90
|
|
91
91
|
#ログ
|
92
92
|
|
93
|
-
|
94
|
-
|
95
|
-
2015-07-18T10:
|
96
|
-
|
97
|
-
2015-07-18T10:
|
98
|
-
|
99
|
-
2015-07-18T10:
|
100
|
-
|
101
|
-
2015-07-18T10:
|
102
|
-
|
103
|
-
2015-07-18T10:
|
104
|
-
|
105
|
-
2015-07-18T10:
|
106
|
-
|
107
|
-
2015-07-18T10:
|
108
|
-
|
109
|
-
2015-07-18T10:
|
110
|
-
|
111
|
-
2015-07-18T10:
|
112
|
-
|
113
|
-
2015-07-18T10:
|
114
|
-
|
115
|
-
2015-07-18T10:
|
116
|
-
|
117
|
-
2015-07-18T10:
|
118
|
-
|
119
|
-
2015-07-18T10:
|
120
|
-
|
121
|
-
2015-07-18T10:
|
122
|
-
|
123
|
-
2015-07-18T10:
|
124
|
-
|
125
|
-
2015-07-18T10:
|
126
|
-
|
127
|
-
2015-07-18T10:
|
128
|
-
|
129
|
-
2015-07-18T10:
|
130
|
-
|
131
|
-
2015-07-18T10:
|
132
|
-
|
133
|
-
2015-07-18T10:
|
134
|
-
|
135
|
-
2015-07-18T10:
|
136
|
-
|
137
|
-
2015-07-18T10:
|
138
|
-
|
139
|
-
2015-07-18T10:
|
140
|
-
|
141
|
-
2015-07-18T10:
|
142
|
-
|
143
|
-
2015-07-18T10:
|
144
|
-
|
145
|
-
2015-07-18T10:
|
146
|
-
|
147
|
-
2015-07-18T10:
|
148
|
-
|
149
|
-
2015-07-18T10:
|
150
|
-
|
151
|
-
2015-07-18T10:
|
152
|
-
|
153
|
-
2015-07-18T10:
|
154
|
-
|
155
|
-
2015-07-18T10:
|
156
|
-
|
157
|
-
2015-07-18T10:
|
158
|
-
|
159
|
-
2015-07-18T10:
|
160
|
-
|
161
|
-
2015-07-18T10:
|
162
|
-
|
163
|
-
2015-07-18T10:
|
164
|
-
|
165
|
-
2015-07-18T10:
|
166
|
-
|
167
|
-
2015-07-18T10:
|
168
|
-
|
169
|
-
2015-07-18T10:
|
93
|
+
|
94
|
+
|
95
|
+
2015-07-18T10:23:42.061270+00:00 heroku[slug-compiler]: Slug compilation started
|
96
|
+
|
97
|
+
2015-07-18T10:23:42.061295+00:00 heroku[slug-compiler]: Slug compilation finished
|
98
|
+
|
99
|
+
2015-07-18T10:23:42.021143+00:00 heroku[api]: Deploy f93ebd5 by emial@gmail.com
|
100
|
+
|
101
|
+
2015-07-18T10:23:42.021143+00:00 heroku[api]: Release v21 created by emial@gmail.com
|
102
|
+
|
103
|
+
2015-07-18T10:23:42.123744+00:00 heroku[web.1]: State changed from up to starting
|
104
|
+
|
105
|
+
2015-07-18T10:23:42.177341+00:00 heroku[worker.1]: State changed from crashed to starting
|
106
|
+
|
107
|
+
2015-07-18T10:23:44.617806+00:00 heroku[web.1]: Stopping all processes with SIGTERM
|
108
|
+
|
109
|
+
2015-07-18T10:23:45.267925+00:00 app[web.1]: [2015-07-18 10:23:45] FATAL SignalException: SIGTERM
|
110
|
+
|
111
|
+
2015-07-18T10:23:45.267930+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
|
112
|
+
|
113
|
+
2015-07-18T10:23:45.267934+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
|
114
|
+
|
115
|
+
2015-07-18T10:23:45.267935+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
|
116
|
+
|
117
|
+
2015-07-18T10:23:45.267937+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
|
118
|
+
|
119
|
+
2015-07-18T10:23:45.267938+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:34:in `run'
|
120
|
+
|
121
|
+
2015-07-18T10:23:45.267940+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:286:in `start'
|
122
|
+
|
123
|
+
2015-07-18T10:23:45.267942+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/commands/server.rb:80:in `start'
|
124
|
+
|
125
|
+
2015-07-18T10:23:45.267944+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:80:in `block in server'
|
126
|
+
|
127
|
+
2015-07-18T10:23:45.267945+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `tap'
|
128
|
+
|
129
|
+
2015-07-18T10:23:45.267947+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `server'
|
130
|
+
|
131
|
+
2015-07-18T10:23:45.267948+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
|
132
|
+
|
133
|
+
2015-07-18T10:23:45.267949+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
|
134
|
+
|
135
|
+
2015-07-18T10:23:45.267951+00:00 app[web.1]: bin/rails:4:in `require'
|
136
|
+
|
137
|
+
2015-07-18T10:23:45.267953+00:00 app[web.1]: bin/rails:4:in `<main>'
|
138
|
+
|
139
|
+
2015-07-18T10:23:45.267959+00:00 app[web.1]: [2015-07-18 10:23:45] INFO going to shutdown ...
|
140
|
+
|
141
|
+
2015-07-18T10:23:45.267990+00:00 app[web.1]: [2015-07-18 10:23:45] INFO WEBrick::HTTPServer#start done.
|
142
|
+
|
143
|
+
2015-07-18T10:23:45.268011+00:00 app[web.1]: Exiting
|
144
|
+
|
145
|
+
2015-07-18T10:23:46.415651+00:00 heroku[web.1]: Process exited with status 143
|
146
|
+
|
147
|
+
2015-07-18T10:23:47.535914+00:00 heroku[worker.1]: Starting process with command `bundle exec sidekiq -q carrierwave`
|
148
|
+
|
149
|
+
2015-07-18T10:23:48.098136+00:00 heroku[worker.1]: State changed from starting to up
|
150
|
+
|
151
|
+
2015-07-18T10:23:50.030358+00:00 app[worker.1]: No such file or directory - ./log/sidekiq.log
|
152
|
+
|
153
|
+
2015-07-18T10:23:50.030383+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `initialize'
|
154
|
+
|
155
|
+
2015-07-18T10:23:50.030385+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `open'
|
156
|
+
|
157
|
+
2015-07-18T10:23:50.030386+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `create_logfile'
|
158
|
+
|
159
|
+
2015-07-18T10:23:50.030387+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:596:in `open_logfile'
|
160
|
+
|
161
|
+
2015-07-18T10:23:50.030388+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:551:in `initialize'
|
162
|
+
|
163
|
+
2015-07-18T10:23:50.030389+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:318:in `new'
|
164
|
+
|
165
|
+
2015-07-18T10:23:50.030390+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:318:in `initialize'
|
166
|
+
|
167
|
+
2015-07-18T10:23:50.030391+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:31:in `new'
|
168
|
+
|
169
|
+
2015-07-18T10:23:50.030393+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:31:in `initialize_logger'
|
170
|
+
|
171
|
+
2015-07-18T10:23:50.030394+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:344:in `initialize_logger'
|
172
|
+
|
173
|
+
2015-07-18T10:23:50.030395+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:39:in `parse'
|
174
|
+
|
175
|
+
2015-07-18T10:23:50.030396+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/bin/sidekiq:7:in `<top (required)>'
|
176
|
+
|
177
|
+
2015-07-18T10:23:50.030397+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `load'
|
178
|
+
|
179
|
+
2015-07-18T10:23:50.030398+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `<main>'
|
180
|
+
|
181
|
+
2015-07-18T10:23:50.723134+00:00 heroku[worker.1]: State changed from up to crashed
|
182
|
+
|
183
|
+
2015-07-18T10:23:50.712026+00:00 heroku[worker.1]: Process exited with status 1
|
184
|
+
|
185
|
+
2015-07-18T10:23:52.176177+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 46937 -e production`
|
186
|
+
|
187
|
+
2015-07-18T10:24:04.392037+00:00 heroku[web.1]: State changed from starting to up
|
188
|
+
|
189
|
+
2015-07-18T10:24:04.241645+00:00 app[web.1]: [2015-07-18 10:24:04] INFO WEBrick 1.3.1
|
190
|
+
|
191
|
+
2015-07-18T10:24:04.241670+00:00 app[web.1]: [2015-07-18 10:24:04] INFO ruby 2.0.0 (2015-04-13) [x86_64-linux]
|
192
|
+
|
193
|
+
2015-07-18T10:24:04.242017+00:00 app[web.1]: [2015-07-18 10:24:04] INFO WEBrick::HTTPServer#start: pid=3 port=46937
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
170
198
|
|
171
199
|
|
172
200
|
|
2
修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rails4.2 herokuデプロイ後の
|
1
|
+
rails4.2 herokuデプロイ後のNo such file or directory - ./log/sidekiq.log
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
herokuにデプロイ下後にログを確認すると
|
1
|
+
herokuにデプロイ下後にログを確認すると
|
2
|
+
|
3
|
+
No such file or directory - ./log/sidekiq.logとなります。
|
4
|
+
|
5
|
+
|
2
6
|
|
3
7
|
procfileに書いたコードが正しく動いていません
|
4
8
|
|
@@ -86,90 +90,84 @@
|
|
86
90
|
|
87
91
|
#ログ
|
88
92
|
|
89
|
-
2015-07-18T0
|
93
|
+
2015-07-18T10:17:20.469106+00:00 heroku[worker.1]: Starting process with command `bundle exec sidekiq -q carrierwave`
|
90
94
|
|
91
|
-
2015-07-18T0
|
95
|
+
2015-07-18T10:17:21.279160+00:00 heroku[worker.1]: State changed from starting to up
|
92
96
|
|
93
|
-
2015-07-18T0
|
97
|
+
2015-07-18T10:17:23.993493+00:00 app[worker.1]: No such file or directory - ./log/sidekiq.log
|
94
98
|
|
95
|
-
2015-07-18T0
|
99
|
+
2015-07-18T10:17:23.993521+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `initialize'
|
96
100
|
|
97
|
-
2015-07-18T0
|
101
|
+
2015-07-18T10:17:23.993523+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `open'
|
98
102
|
|
99
|
-
2015-07-18T0
|
103
|
+
2015-07-18T10:17:23.993524+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `create_logfile'
|
100
104
|
|
101
|
-
2015-07-18T0
|
105
|
+
2015-07-18T10:17:23.993526+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:596:in `open_logfile'
|
102
106
|
|
103
|
-
2015-07-18T0
|
107
|
+
2015-07-18T10:17:23.993527+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:551:in `initialize'
|
104
108
|
|
105
|
-
2015-07-18T0
|
109
|
+
2015-07-18T10:17:23.993528+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:318:in `new'
|
106
110
|
|
107
|
-
2015-07-18T0
|
111
|
+
2015-07-18T10:17:23.993530+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:318:in `initialize'
|
108
112
|
|
109
|
-
2015-07-18T0
|
113
|
+
2015-07-18T10:17:23.993531+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:31:in `new'
|
110
114
|
|
111
|
-
2015-07-18T0
|
115
|
+
2015-07-18T10:17:23.993533+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:31:in `initialize_logger'
|
112
116
|
|
113
|
-
2015-07-18T0
|
117
|
+
2015-07-18T10:17:23.993534+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:344:in `initialize_logger'
|
114
118
|
|
115
|
-
2015-07-18T0
|
119
|
+
2015-07-18T10:17:23.993536+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:39:in `parse'
|
116
120
|
|
117
|
-
2015-07-18T0
|
121
|
+
2015-07-18T10:17:23.993537+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/bin/sidekiq:7:in `<top (required)>'
|
118
122
|
|
119
|
-
2015-07-18T0
|
123
|
+
2015-07-18T10:17:23.993538+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `load'
|
120
124
|
|
121
|
-
2015-07-18T0
|
125
|
+
2015-07-18T10:17:23.993540+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `<main>'
|
122
126
|
|
123
|
-
2015-07-18T0
|
127
|
+
2015-07-18T10:17:24.906968+00:00 heroku[worker.1]: Process exited with status 1
|
124
128
|
|
125
|
-
2015-07-18T0
|
129
|
+
2015-07-18T10:17:24.925565+00:00 heroku[worker.1]: State changed from up to crashed
|
126
130
|
|
127
|
-
2015-07-18T0
|
131
|
+
2015-07-18T10:17:24.926785+00:00 heroku[worker.1]: State changed from crashed to starting
|
128
132
|
|
129
|
-
2015-07-18T0
|
133
|
+
2015-07-18T10:17:32.197082+00:00 heroku[worker.1]: Starting process with command `bundle exec sidekiq -q carrierwave`
|
130
134
|
|
131
|
-
2015-07-18T0
|
135
|
+
2015-07-18T10:17:32.845718+00:00 heroku[worker.1]: State changed from starting to up
|
132
136
|
|
133
|
-
2015-07-18T0
|
137
|
+
2015-07-18T10:17:35.133057+00:00 app[worker.1]: No such file or directory - ./log/sidekiq.log
|
134
138
|
|
135
|
-
2015-07-18T0
|
139
|
+
2015-07-18T10:17:35.133136+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `initialize'
|
136
140
|
|
137
|
-
2015-07-18T0
|
141
|
+
2015-07-18T10:17:35.133139+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `open'
|
138
142
|
|
139
|
-
2015-07-18T0
|
143
|
+
2015-07-18T10:17:35.133140+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:601:in `create_logfile'
|
140
144
|
|
141
|
-
2015-07-18T0
|
145
|
+
2015-07-18T10:17:35.133142+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:596:in `open_logfile'
|
142
146
|
|
143
|
-
2015-07-18T0
|
147
|
+
2015-07-18T10:17:35.133143+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:551:in `initialize'
|
144
148
|
|
145
|
-
2015-07-18T0
|
149
|
+
2015-07-18T10:17:35.133144+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:318:in `new'
|
146
150
|
|
147
|
-
2015-07-18T0
|
151
|
+
2015-07-18T10:17:35.133146+00:00 app[worker.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/logger.rb:318:in `initialize'
|
148
152
|
|
149
|
-
2015-07-18T0
|
153
|
+
2015-07-18T10:17:35.133147+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:31:in `new'
|
150
154
|
|
151
|
-
2015-07-18T0
|
155
|
+
2015-07-18T10:17:35.133149+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:31:in `initialize_logger'
|
152
156
|
|
153
|
-
2015-07-18T0
|
157
|
+
2015-07-18T10:17:35.133151+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:344:in `initialize_logger'
|
154
158
|
|
155
|
-
2015-07-18T0
|
159
|
+
2015-07-18T10:17:35.133152+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:39:in `parse'
|
156
160
|
|
157
|
-
2015-07-18T0
|
161
|
+
2015-07-18T10:17:35.133153+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.4/bin/sidekiq:7:in `<top (required)>'
|
158
162
|
|
159
|
-
2015-07-18T0
|
163
|
+
2015-07-18T10:17:35.133155+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `load'
|
160
164
|
|
161
|
-
2015-07-18T0
|
165
|
+
2015-07-18T10:17:35.133195+00:00 app[worker.1]: /app/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `<main>'
|
162
166
|
|
163
|
-
2015-07-18T0
|
167
|
+
2015-07-18T10:17:35.941106+00:00 heroku[worker.1]: State changed from up to crashed
|
164
168
|
|
165
|
-
2015-07-18T0
|
169
|
+
2015-07-18T10:17:35.927170+00:00 heroku[worker.1]: Process exited with status 1
|
166
170
|
|
167
|
-
2015-07-18T09:17:11.173798+00:00 app[web.1]: [2015-07-18 09:17:11] INFO WEBrick 1.3.1
|
168
171
|
|
169
|
-
2015-07-18T09:17:11.173824+00:00 app[web.1]: [2015-07-18 09:17:11] INFO ruby 2.0.0 (2015-04-13) [x86_64-linux]
|
170
|
-
|
171
|
-
2015-07-18T09:17:11.174153+00:00 app[web.1]: [2015-07-18 09:17:11] INFO WEBrick::HTTPServer#start: pid=3 port=24847
|
172
|
-
|
173
|
-
2015-07-18T09:17:11.344891+00:00 heroku[web.1]: State changed from starting to up
|
174
172
|
|
175
173
|
```
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,17 +2,15 @@
|
|
2
2
|
|
3
3
|
procfileに書いたコードが正しく動いていません
|
4
4
|
|
5
|
-
プロセスを確認したらクラッシュしています。
|
5
|
+
プロセスを確認したらクラッシュしています。構成はheroku sidekiqです。
|
6
6
|
|
7
7
|
```ruby
|
8
8
|
|
9
9
|
worker: bundle exec sidekiq -q carrierwave
|
10
10
|
|
11
|
-
```
|
11
|
+
```
|
12
12
|
|
13
13
|
|
14
|
-
|
15
|
-
構成はheroku sidekiqです。
|
16
14
|
|
17
15
|
|
18
16
|
|