実現したいこと
作成したアプリをRenderでデプロイしましたが
トップ画面は表示されるのですが、そこからユーザー新規登録または
ログイン画面へ行き、トップへリダイレクトしようとすると以下のエラーが出ます。
「We're sorry, but something went wrong.
If you are the application owner check the logs for more information.」
前提
トップ画面・ユーザー新規登録画面・ログイン画面の表示は問題ありません。
Log
Feb 16 02:58:29 PM D, [2023-02-16T05:58:29.159385 #69] DEBUG -- : [be4e2fe1-b428-42d3-987c-2d7f88711bc8] Tag Load (26.1ms) SELECT "tags".* FROM "tags" Feb 16 02:58:29 PM D, [2023-02-16T05:58:29.166742 #69] DEBUG -- : [be4e2fe1-b428-42d3-987c-2d7f88711bc8] Design Load (1.2ms) SELECT "designs".* FROM "designs" ORDER BY created_at DESC Feb 16 02:58:29 PM I, [2023-02-16T05:58:29.169686 #69] INFO -- : [be4e2fe1-b428-42d3-987c-2d7f88711bc8] Rendered collection of designs/_design.html.erb [0 times] (Duration: 0.0ms | Allocations: 3) Feb 16 02:58:29 PM I, [2023-02-16T05:58:29.169837 #69] INFO -- : [be4e2fe1-b428-42d3-987c-2d7f88711bc8] Rendered designs/index.html.erb within layouts/application (Duration: 38.7ms | Allocations: 2231) Feb 16 02:58:29 PM I, [2023-02-16T05:58:29.174886 #69] INFO -- : [be4e2fe1-b428-42d3-987c-2d7f88711bc8] Completed 200 OK in 71ms (Views: 13.3ms | ActiveRecord: 38.6ms | Allocations: 8989) Feb 16 02:58:31 PM I, [2023-02-16T05:58:31.575193 #69] INFO -- : [594c316e-ae4a-418e-9321-00f056c87d58] Started GET "/users/sign_in" for 141.101.86.129 at 2023-02-16 05:58:31 +0000 Feb 16 02:58:31 PM I, [2023-02-16T05:58:31.576171 #69] INFO -- : [594c316e-ae4a-418e-9321-00f056c87d58] Processing by Devise::SessionsController#new as HTML Feb 16 02:58:31 PM I, [2023-02-16T05:58:31.576237 #69] INFO -- : [594c316e-ae4a-418e-9321-00f056c87d58] Parameters: {"authenticity_token"=>"dCrOxxy17FTgOPfLmeUAV6rtAudr8vTj418xtlIKf1OCxPFy5l9ltxPowxtj5v1YVnLmUIfj+XYrUltpI8vMIQ=="} Feb 16 02:58:31 PM I, [2023-02-16T05:58:31.673270 #69] INFO -- : [594c316e-ae4a-418e-9321-00f056c87d58] Rendering devise/sessions/new.html.erb within layouts/application Feb 16 02:58:31 PM I, [2023-02-16T05:58:31.764818 #69] INFO -- : [594c316e-ae4a-418e-9321-00f056c87d58] Rendered devise/sessions/new.html.erb within layouts/application (Duration: 91.4ms | Allocations: 898) Feb 16 02:58:31 PM I, [2023-02-16T05:58:31.766410 #69] INFO -- : [594c316e-ae4a-418e-9321-00f056c87d58] Completed 200 OK in 190ms (Views: 95.5ms | ActiveRecord: 4.1ms | Allocations: 10099) Feb 16 02:58:45 PM I, [2023-02-16T05:58:45.471519 #69] INFO -- : [2bdc0678-606b-44e3-9c3b-34c1eabc2535] Started POST "/users/sign_in" for 141.101.86.129 at 2023-02-16 05:58:45 +0000 Feb 16 02:58:45 PM I, [2023-02-16T05:58:45.472400 #69] INFO -- : [2bdc0678-606b-44e3-9c3b-34c1eabc2535] Processing by Devise::SessionsController#create as HTML Feb 16 02:58:45 PM I, [2023-02-16T05:58:45.472487 #69] INFO -- : [2bdc0678-606b-44e3-9c3b-34c1eabc2535] Parameters: {"authenticity_token"=>"unph89ljiK24vsSEWaOQbQ339+EpGuMibqMPP9U81wNMlF5GI4kBTktu8FSjoG1i8WgTVsUL7remrmXgpP1kcQ==", "user"=>{"email"=>"it@abest.jp", "password"=>"[FILTERED]"}, "commit"=>"ログイン"} Feb 16 02:58:45 PM D, [2023-02-16T05:58:45.480719 #69] DEBUG -- : [2bdc0678-606b-44e3-9c3b-34c1eabc2535] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["email", "it@abest.jp"], ["LIMIT", 1]] Feb 16 02:58:45 PM I, [2023-02-16T05:58:45.486167 #69] INFO -- : [2bdc0678-606b-44e3-9c3b-34c1eabc2535] Completed 500 Internal Server Error in 14ms (ActiveRecord: 1.8ms | Allocations: 2798)
該当のソースコード
ruby
1config>routes.rb 2 3Rails.application.routes.draw do 4 devise_for :users 5 root to: 'designs#index' 6 resources :users 7 resources :designs 8 resources :designs do 9 collection do 10 get 'search' 11 end 12 end 13 resources :users, only: :show 14 post '/designs/new', to: 'designs#create' 15end 16
ruby
1app>controllres>designs_controller 2 3class DesignsController < ApplicationController 4 before_action :authenticate_user!, only:[:edit, :new, :destroy] 5 before_action :move_to_index, except: [:index, :show] 6 before_action :set_design, only: [:show, :edit, :update, :destroy] 7 8 def index 9 @designs = Design.includes(:user).order("created_at DESC") 10 @designs = params[:tag_id].present? ? Tag.find(params[:tag_id]).designs : Design.all.order("created_at DESC") 11 end 12 13 def new 14 @post_form = PostForm.new 15 end 16 17 def create 18 @post_form = PostForm.new(design_params) 19 20 if @post_form.save 21 redirect_to root_path 22 else 23 render :new 24 end 25 end 26 27 def show 28 29 end 30 31 def destroy 32 design = Design.find(params[:id]) 33 if design.destroy 34 redirect_to root_path 35 end 36 end 37 38 def update 39 design = Design.find(params[:id]) 40 if 41 design.update(design_params) 42 redirect_to design_path(design.id) 43 else 44 redirect_to request.referer 45 end 46 end 47 48 def edit 49 unless user_signed_in? && current_user.id == @design.user_id 50 redirect_to action: :index 51 end 52 end 53 54 def search 55 @designs = Design.search(params[:keyword]).order("created_at DESC") 56 end 57 58 59 60 private 61 62 def design_params 63 params.require(:post_form).permit(:title, :file_name, :tag_name, :image).merge(user_id: current_user.id) 64 end 65 66 def set_design 67 @design = Design.find(params[:id]) 68 end 69 70 def move_to_index 71 unless user_signed_in? 72 redirect_to action: :index 73 end 74 end 75 76end 77 78
ruby
1app>controllres>users_controller 2 3class UsersController < ApplicationController 4 5 def show 6 user = User.find(params[:id]) 7 @name = user.name 8 @designs = user.designs 9 end 10 11end 12
試したこと
routesがおかしいのかと色々試してみましたが、改善されませんでした。
「 Completed 500 Internal Server Error」の上に「Users」とあるので
user関連かとこちらも変更してみましたが変化ありませんでした。
Completed 500 Internal Server Error に続いてなにかlogに出ていませんか?
以下は特に気になる記述ありませんでした。
```log
Feb 16 02:58:45 PM F, [2023-02-16T05:58:45.487230 #69] FATAL -- : [2bdc0678-606b-44e3-9c3b-34c1eabc2535]
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] BCrypt::Errors::InvalidHash (invalid hash):
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535]
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] bcrypt (3.1.18) lib/bcrypt/password.rb:60:in `initialize'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/encryptor.rb:16:in `new'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/encryptor.rb:16:in `compare'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/models/database_authenticatable.rb:72:in `valid_password?'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/strategies/database_authenticatable.rb:13:in `block in authenticate!'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/models/authenticatable.rb:86:in `valid_for_authentication?'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/strategies/authenticatable.rb:38:in `validate'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) lib/devise/strategies/database_authenticatable.rb:13:in `authenticate!'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/strategies/base.rb:55:in `_run!'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/proxy.rb:372:in `block in _run_strategies_for'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/proxy.rb:365:in `each'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/proxy.rb:365:in `_run_strategies_for'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/proxy.rb:335:in `_perform_authentication'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/proxy.rb:133:in `authenticate!'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] devise (4.8.1) app/controllers/devise/sessions_controller.rb:19:in `create'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/abstract_controller/base.rb:195:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/callbacks.rb:112:in `block in run_callbacks'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actiontext (6.0.6) lib/action_text/rendering.rb:19:in `with_renderer'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actiontext (6.0.6) lib/action_text/engine.rb:55:in `block (4 levels) in <class:Engine>'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/callbacks.rb:121:in `instance_exec'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/callbacks.rb:139:in `run_callbacks'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/abstract_controller/callbacks.rb:41:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal/rescue.rb:22:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/notifications.rb:180:in `block in instrument'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/notifications.rb:180:in `instrument'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activerecord (6.0.6) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/abstract_controller/base.rb:136:in `process'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionview (6.0.6) lib/action_view/rendering.rb:39:in `process'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal.rb:190:in `dispatch'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_controller/metal.rb:254:in `dispatch'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/routing/route_set.rb:33:in `serve'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/routing/mapper.rb:48:in `serve'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/journey/router.rb:49:in `block in serve'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/journey/router.rb:32:in `each'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/journey/router.rb:32:in `serve'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/routing/route_set.rb:834:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/manager.rb:36:in `block in call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/manager.rb:34:in `catch'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] warden (1.2.9) lib/warden/manager.rb:34:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/tempfile_reaper.rb:15:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/etag.rb:27:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/conditional_get.rb:40:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/head.rb:12:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/session/abstract/id.rb:266:in `context'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/session/abstract/id.rb:260:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/cookies.rb:654:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/callbacks.rb:101:in `run_callbacks'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] railties (6.0.6) lib/rails/rack/logger.rb:37:in `call_app'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] railties (6.0.6) lib/rails/rack/logger.rb:26:in `block in call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/tagged_logging.rb:80:in `block in tagged'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/tagged_logging.rb:28:in `tagged'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/active_support/tagged_logging.rb:80:in `tagged'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] railties (6.0.6) lib/rails/rack/logger.rb:26:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] actionpack (6.0.6) lib/action_dispatch/middleware/request_id.rb:27:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/method_override.rb:24:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] rack (2.2.5) lib/rack/runtime.rb:22:in `call'
Feb 16 02:58:45 PM [2bdc0678-606b-44e3-9c3b-34c1eabc2535] activesupport (6.0.6) lib/act
Railsのフォルダ内にあるログは確認されましたか?
フォルダ内というと、ローカルの方でしょうか?不勉強ですみません。
いえ、サーバ内でRailsがおいてある場所です。
ありがとうございます。サーバー内のlogも確認しましたが、特にエラーらしきものは見当たりませんでした。
Feb 16 05:14:20 PM [63ede5dc.23103-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=45078
Feb 16 05:14:20 PM [63ede5dc.23103-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:14:20 PM [63ede5dc.23103-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:14:20 PM [63ede5dc.23103-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.097 user=postgres database=postgres host=::1 port=45078
Feb 16 05:14:30 PM [63ede5e6.23113-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=44174
Feb 16 05:14:30 PM [63ede5e6.23113-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:14:30 PM [63ede5e6.23113-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:14:30 PM [63ede5e6.23113-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.098 user=postgres database=postgres host=::1 port=44174
Feb 16 05:14:40 PM [63ede5f0.23126-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=38322
Feb 16 05:14:40 PM [63ede5f0.23126-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:14:40 PM [63ede5f0.23126-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:14:40 PM [63ede5f0.23126-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.099 user=postgres database=postgres host=::1 port=38322
Feb 16 05:14:50 PM [63ede5fa.23133-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=37522
Feb 16 05:14:50 PM [63ede5fa.23133-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:14:50 PM [63ede5fa.23133-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:14:50 PM [63ede5fa.23133-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=::1 port=37522
Feb 16 05:15:00 PM [63ede604.23141-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=39478
Feb 16 05:15:00 PM [63ede604.23141-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:15:00 PM [63ede604.23141-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:15:00 PM [63ede604.23141-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.097 user=postgres database=postgres host=::1 port=39478
Feb 16 05:15:10 PM [63ede60e.2314f-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=50644
Feb 16 05:15:10 PM [63ede60e.2314f-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:15:10 PM [63ede60e.2314f-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:15:10 PM [63ede60e.2314f-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.089 user=postgres database=postgres host=::1 port=50644
Feb 16 05:15:20 PM [63ede618.2315f-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=55806
Feb 16 05:15:20 PM [63ede618.2315f-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:15:20 PM [63ede618.2315f-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:15:20 PM [63ede618.2315f-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.097 user=postgres database=postgres host=::1 port=55806
Feb 16 05:15:30 PM [63ede622.2316e-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=56478
Feb 16 05:15:30 PM [63ede622.2316e-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:15:30 PM [63ede622.2316e-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:15:30 PM [63ede622.2316e-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.097 user=postgres database=postgres host=::1 port=56478
Feb 16 05:15:40 PM [63ede62c.2317e-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=35340
Feb 16 05:15:40 PM [63ede62c.2317e-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:15:40 PM [63ede62c.2317e-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:15:40 PM [63ede62c.2317e-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.098 user=postgres database=postgres host=::1 port=35340
Feb 16 05:15:50 PM [63ede636.2318b-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=54172
Feb 16 05:15:50 PM [63ede636.2318b-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:15:50 PM [63ede636.2318b-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:15:50 PM [63ede636.2318b-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.100 user=postgres database=postgres host=::1 port=54172
Feb 16 05:16:00 PM [63ede640.2319d-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=44672
Feb 16 05:16:00 PM [63ede640.2319d-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:16:00 PM [63ede640.2319d-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:16:00 PM [63ede640.2319d-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.096 user=postgres database=postgres host=::1 port=44672
Feb 16 05:16:10 PM [63ede64a.231ab-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=49548
Feb 16 05:16:10 PM [63ede64a.231ab-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:16:10 PM [63ede64a.231ab-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:16:10 PM [63ede64a.231ab-4] user=postgres,db=postgres,app=psql,client=::1,LOG: disconnection: session time: 0:00:00.099 user=postgres database=postgres host=::1 port=49548
Feb 16 05:16:20 PM [63ede654.231b8-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG: connection received: host=::1 port=50472
Feb 16 05:16:20 PM [63ede654.231b8-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-cfm6ut2rrk07m3s7evug-a/pg_hba.conf:90)
Feb 16 05:16:20 PM [63ede654.231b8-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Feb 16 05:16:20 P
そのログでもなく、Railsがあるディレクトリ以下にlogというフォルダがあるので、そちらの中身を確認してください。
