質問編集履歴
1
エラーを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
で立て運用していたのですが、一度ctrl+Cでサーバーを止めた後もう一度
|
10
10
|
|
11
|
-
rails server --environment productionした際に下記エラーが突如発生し
|
11
|
+
rails server --environment productionした際に下記エラーが突如発生し、サーバーが立ち上がらない状態です。
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -23,3 +23,191 @@
|
|
23
23
|
ご教示いただけますと幸いです。
|
24
24
|
|
25
25
|
よろしくお願いいたします。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
```Ruby
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
$ rails server --environment production
|
34
|
+
|
35
|
+
=> Booting Puma
|
36
|
+
|
37
|
+
=> Rails 5.1.4 application starting in production
|
38
|
+
|
39
|
+
=> Run `rails server -h` for more startup options
|
40
|
+
|
41
|
+
Exiting
|
42
|
+
|
43
|
+
/home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/journey/formatter.rb:55:in `generate': No route matches {} (ActionView::Template::Error)
|
44
|
+
|
45
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:738:in `generate'
|
46
|
+
|
47
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:769:in `generate'
|
48
|
+
|
49
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:816:in `url_for'
|
50
|
+
|
51
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/url_for.rb:177:in `full_url_for'
|
52
|
+
|
53
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_dispatch/routing/url_for.rb:167:in `url_for'
|
54
|
+
|
55
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/routing_url_for.rb:89:in `url_for'
|
56
|
+
|
57
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers/form_helper.rb:1548:in `html_options_for_form_with'
|
58
|
+
|
59
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/helpers/form_helper.rb:761:in `form_with'
|
60
|
+
|
61
|
+
from /home/rails/sns/app/views/users/new.html.erb:3:in `_app_views_users_new_html_erb__3936008394537570153_47216211459080'
|
62
|
+
|
63
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionview-5.1.4/lib/action_view/template.rb:157:in `block in render'
|
64
|
+
|
65
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:168:in `instrument'
|
66
|
+
|
67
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionview-
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
・
|
72
|
+
|
73
|
+
・
|
74
|
+
|
75
|
+
一部省略
|
76
|
+
|
77
|
+
・
|
78
|
+
|
79
|
+
・
|
80
|
+
|
81
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:11:in `render'
|
82
|
+
|
83
|
+
from /home/rails/sns/app/controllers/users_controller.rb:49:in `<class:UsersController>'
|
84
|
+
|
85
|
+
from /home/rails/sns/app/controllers/users_controller.rb:1:in `<top (required)>'
|
86
|
+
|
87
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
|
88
|
+
|
89
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
|
90
|
+
|
91
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
|
92
|
+
|
93
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
|
94
|
+
|
95
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:379:in `block in require_or_load'
|
96
|
+
|
97
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:36:in `block in load_interlock'
|
98
|
+
|
99
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:12:in `block in loading'
|
100
|
+
|
101
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb:149:in `exclusive'
|
102
|
+
|
103
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
|
104
|
+
|
105
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:36:in `load_interlock'
|
106
|
+
|
107
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:357:in `require_or_load'
|
108
|
+
|
109
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:335:in `depend_on'
|
110
|
+
|
111
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:251:in `require_dependency'
|
112
|
+
|
113
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:476:in `block (2 levels) in eager_load!'
|
114
|
+
|
115
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `each'
|
116
|
+
|
117
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `block in eager_load!'
|
118
|
+
|
119
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `each'
|
120
|
+
|
121
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `eager_load!'
|
122
|
+
|
123
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:354:in `eager_load!'
|
124
|
+
|
125
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `each'
|
126
|
+
|
127
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `block in <module:Finisher>'
|
128
|
+
|
129
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
|
130
|
+
|
131
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
|
132
|
+
|
133
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
|
134
|
+
|
135
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
|
136
|
+
|
137
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
|
138
|
+
|
139
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
|
140
|
+
|
141
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
|
142
|
+
|
143
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each'
|
144
|
+
|
145
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call'
|
146
|
+
|
147
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
|
148
|
+
|
149
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
|
150
|
+
|
151
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
|
152
|
+
|
153
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
|
154
|
+
|
155
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
|
156
|
+
|
157
|
+
from /home/rails/sns/config/environment.rb:5:in `<top (required)>'
|
158
|
+
|
159
|
+
from config.ru:3:in `require_relative'
|
160
|
+
|
161
|
+
from config.ru:3:in `block in <main>'
|
162
|
+
|
163
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `instance_eval'
|
164
|
+
|
165
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `initialize'
|
166
|
+
|
167
|
+
from config.ru:in `new'
|
168
|
+
|
169
|
+
from config.ru:in `<main>'
|
170
|
+
|
171
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `eval'
|
172
|
+
|
173
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `new_from_string'
|
174
|
+
|
175
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in `parse_file'
|
176
|
+
|
177
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:319:in `build_app_and_options_from_config'
|
178
|
+
|
179
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:219:in `app'
|
180
|
+
|
181
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:24:in `app'
|
182
|
+
|
183
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:354:in `wrapped_app'
|
184
|
+
|
185
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:283:in `start'
|
186
|
+
|
187
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:44:in `start'
|
188
|
+
|
189
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:135:in `block in perform'
|
190
|
+
|
191
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in `tap'
|
192
|
+
|
193
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in `perform'
|
194
|
+
|
195
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
|
196
|
+
|
197
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
|
198
|
+
|
199
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
|
200
|
+
|
201
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:in `perform'
|
202
|
+
|
203
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:44:in `invoke'
|
204
|
+
|
205
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
|
206
|
+
|
207
|
+
from bin/rails:4:in `require'
|
208
|
+
|
209
|
+
from bin/rails:4:in `<main>'
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
```
|