質問編集履歴
1
エラーを追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,11 +3,105 @@
|
|
3
3
|
現在Railsでサイト作成しております。production環境でサーバーを
|
4
4
|
rails server --environment production
|
5
5
|
で立て運用していたのですが、一度ctrl+Cでサーバーを止めた後もう一度
|
6
|
-
rails server --environment productionした際に下記エラーが突如発生し
|
6
|
+
rails server --environment productionした際に下記エラーが突如発生し、サーバーが立ち上がらない状態です。
|
7
7
|
|
8
8
|
/home/rails/xxx/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)
|
9
9
|
|
10
10
|
|
11
11
|
どういったことが考えられますでしょうか。
|
12
12
|
ご教示いただけますと幸いです。
|
13
|
-
よろしくお願いいたします。
|
13
|
+
よろしくお願いいたします。
|
14
|
+
|
15
|
+
```Ruby
|
16
|
+
|
17
|
+
$ rails server --environment production
|
18
|
+
=> Booting Puma
|
19
|
+
=> Rails 5.1.4 application starting in production
|
20
|
+
=> Run `rails server -h` for more startup options
|
21
|
+
Exiting
|
22
|
+
/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)
|
23
|
+
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'
|
24
|
+
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'
|
25
|
+
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'
|
26
|
+
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'
|
27
|
+
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'
|
28
|
+
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'
|
29
|
+
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'
|
30
|
+
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'
|
31
|
+
from /home/rails/sns/app/views/users/new.html.erb:3:in `_app_views_users_new_html_erb__3936008394537570153_47216211459080'
|
32
|
+
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'
|
33
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb:168:in `instrument'
|
34
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionview-
|
35
|
+
|
36
|
+
・
|
37
|
+
・
|
38
|
+
一部省略
|
39
|
+
・
|
40
|
+
・
|
41
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:11:in `render'
|
42
|
+
from /home/rails/sns/app/controllers/users_controller.rb:49:in `<class:UsersController>'
|
43
|
+
from /home/rails/sns/app/controllers/users_controller.rb:1:in `<top (required)>'
|
44
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
|
45
|
+
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'
|
46
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
|
47
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
|
48
|
+
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'
|
49
|
+
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'
|
50
|
+
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'
|
51
|
+
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'
|
52
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb:11:in `loading'
|
53
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:36:in `load_interlock'
|
54
|
+
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'
|
55
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:335:in `depend_on'
|
56
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:251:in `require_dependency'
|
57
|
+
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!'
|
58
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:475:in `each'
|
59
|
+
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!'
|
60
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `each'
|
61
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:473:in `eager_load!'
|
62
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/engine.rb:354:in `eager_load!'
|
63
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:67:in `each'
|
64
|
+
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>'
|
65
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
|
66
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
|
67
|
+
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'
|
68
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
|
69
|
+
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'
|
70
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
|
71
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
|
72
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each'
|
73
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `call'
|
74
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
|
75
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
|
76
|
+
from /usr/local/rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
|
77
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
|
78
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
|
79
|
+
from /home/rails/sns/config/environment.rb:5:in `<top (required)>'
|
80
|
+
from config.ru:3:in `require_relative'
|
81
|
+
from config.ru:3:in `block in <main>'
|
82
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `instance_eval'
|
83
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in `initialize'
|
84
|
+
from config.ru:in `new'
|
85
|
+
from config.ru:in `<main>'
|
86
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `eval'
|
87
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in `new_from_string'
|
88
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in `parse_file'
|
89
|
+
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'
|
90
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:219:in `app'
|
91
|
+
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'
|
92
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:354:in `wrapped_app'
|
93
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb:283:in `start'
|
94
|
+
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'
|
95
|
+
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'
|
96
|
+
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'
|
97
|
+
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'
|
98
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
|
99
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
|
100
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
|
101
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:in `perform'
|
102
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:44:in `invoke'
|
103
|
+
from /home/rails/sns/vendor/bundle/ruby/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
|
104
|
+
from bin/rails:4:in `require'
|
105
|
+
from bin/rails:4:in `<main>'
|
106
|
+
|
107
|
+
```
|