質問編集履歴

1

ご指摘ありがとうございます。apache2のエラーログを追記しました

2017/12/15 02:57

投稿

fara
fara

スコア7

test CHANGED
File without changes
test CHANGED
@@ -132,6 +132,96 @@
132
132
 
133
133
  ```
134
134
 
135
+
136
+
137
+ /var/apache2/error.log こちらがログになります
138
+
139
+ ```
140
+
141
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
142
+
143
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
144
+
145
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
146
+
147
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
148
+
149
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
150
+
151
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
152
+
153
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
154
+
155
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
156
+
157
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
158
+
159
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
160
+
161
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] rack (2.0.3) lib/rack/method_override.rb:22:in `call'
162
+
163
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] rack (2.0.3) lib/rack/runtime.rb:22:in `call'
164
+
165
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
166
+
167
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
168
+
169
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
170
+
171
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] actionpack (5.1.4) lib/action_dispatch/middleware/ssl.rb:66:in `call'
172
+
173
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] railties (5.1.4) lib/rails/engine.rb:522:in `call'
174
+
175
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] passenger (5.1.12) src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
176
+
177
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] passenger (5.1.12) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
178
+
179
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] passenger (5.1.12) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
180
+
181
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] passenger (5.1.12) src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
182
+
183
+ App 491 stderr: [833aeb01-01fb-48b0-8834-4762b6a01bc1] passenger (5.1.12) src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
184
+
185
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] Started GET "/" for 114.179.36.199 at 2017-12-15 02:54:40 +0000
186
+
187
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] Processing by SitesController#top as HTML
188
+
189
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] Rendering sites/top.html.erb within layouts/capplication
190
+
191
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] Rendered shared/_top_head_new.html.erb (0.8ms)
192
+
193
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] Rendered sites/top.html.erb within layouts/capplication (1.0ms)
194
+
195
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] Completed 500 Internal Server Error in 2ms
196
+
197
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921]
198
+
199
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] ActionView::Template::Error (unable to open database file):
200
+
201
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] 1: <% @user = User.new %>
202
+
203
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] 2: <%= form_for(@user, url: signup_path, class: 'modal-body') do |f| %>
204
+
205
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] 3: <%= render 'shared/error_messages', object: f.object %>
206
+
207
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] 4:
208
+
209
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921]
210
+
211
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] app/views/shared/_top_head_new.html.erb:1:in `_app_views_shared__top_head_new_html_erb___2585659761307323350_47295158984640'
212
+
213
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] app/views/sites/top.html.erb:53:in `_app_views_sites_top_html_erb___3818639998974615192_47295156103840'
214
+
215
+ App 491 stderr: [6f862958-89dc-4626-b05b-53ddd5c31921] app/controllers/sites_controller.rb:17:in `top'
216
+
217
+
218
+
219
+ ```
220
+
221
+
222
+
223
+
224
+
135
225
  ###補足
136
226
 
137
227
  初めての質問です、見づらくて申し訳ありません。中身がいまいちつかめていないので動きも含めて教えていただけるととても嬉しいです。