Advertisement
jarocki_art

another server log

Jul 6th, 2019
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.51 KB | None | 0 0
  1. => Booting Puma
  2. => Rails 5.2.3 application starting in development
  3. => Run `rails server -h` for more startup options
  4. Puma starting in single mode...
  5. * Version 3.12.1 (ruby 2.6.3-p62), codename: Llamas in Pajamas
  6. * Min threads: 5, max threads: 5
  7. * Environment: development
  8. * Listening on tcp://localhost:3000
  9. Use Ctrl-C to stop
  10. Started GET "/admin/v1/users/current" for 127.0.0.1 at 2019-07-06 23:07:35 +0300
  11. (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
  12. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  13. Processing by Admin::SessionsController#show as JSON
  14. Rendering admin/sessions/show.json.jbuilder
  15. User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
  16. ↳ app/views/admin/sessions/show.json.jbuilder:1
  17. JwtBlacklist Exists (0.4ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
  18. ↳ app/views/admin/sessions/show.json.jbuilder:1
  19. Rendered admin/sessions/show.json.jbuilder (11.5ms)
  20. Completed 200 OK in 13ms (Views: 8.0ms | ActiveRecord: 4.4ms)
  21.  
  22.  
  23. Started GET "/admin/v1/testimonials" for 127.0.0.1 at 2019-07-06 23:07:35 +0300
  24. Processing by Admin::TestimonialsController#index as JSON
  25. User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
  26. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  27. JwtBlacklist Exists (0.1ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
  28. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  29. Testimonial Load (0.2ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials"
  30. ↳ app/controllers/admin/testimonials_controller.rb:8
  31. Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.8ms)
  32.  
  33.  
  34. Started GET "/admin/v1/testimonials" for ::1 at 2019-07-06 23:07:35 +0300
  35. Processing by Admin::TestimonialsController#index as JSON
  36. User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
  37. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  38. JwtBlacklist Exists (0.1ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
  39. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  40. Testimonial Load (0.2ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials"
  41. ↳ app/controllers/admin/testimonials_controller.rb:8
  42. Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.8ms)
  43.  
  44.  
  45. Started GET "/admin/v1/testimonials" for ::1 at 2019-07-06 23:07:35 +0300
  46. Processing by Admin::TestimonialsController#index as JSON
  47. User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
  48. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  49. JwtBlacklist Exists (0.2ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
  50. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  51. Testimonial Load (0.2ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials"
  52. ↳ app/controllers/admin/testimonials_controller.rb:8
  53. Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.7ms)
  54.  
  55.  
  56. Started POST "/admin/v1/testimonials" for ::1 at 2019-07-06 23:08:16 +0300
  57. Processing by Admin::TestimonialsController#create as JSON
  58. Parameters: {"name"=>"zvfasdfasdf", "patronymic"=>"", "surname"=>"", "userpic"=>"", "company"=>"", "object_photo_1"=>#<ActionDispatch::Http::UploadedFile:0x000055ed10593938 @tempfile=#<Tempfile:/tmp/RackMultipart20190706-4149-b7uium.png>, @original_filename="map.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"object_photo_1\"; filename=\"map.png\"\r\nContent-Type: image/png\r\n">, "object_photo_2"=>"", "object_photo_3"=>"", "video"=>"", "text"=>"asdfasdf"}
  59. User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
  60. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  61. JwtBlacklist Exists (0.3ms) SELECT 1 AS one FROM "jwt_blacklists" WHERE "jwt_blacklists"."jti" = $1 LIMIT $2 [["jti", "5b99128c-8e5b-4074-b1b4-ee500a756f86"], ["LIMIT", 1]]
  62. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  63. Unpermitted parameter: :format
  64. Disk Storage (2.0ms) Uploaded file to key: xx4ycnsTNgLMAtrPMRAPQsP2 (checksum: OH5LyOEoHmCyVamDhfFvnA==)
  65. (0.1ms) BEGIN
  66. ↳ app/controllers/admin/testimonials_controller.rb:12
  67. ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["key", "xx4ycnsTNgLMAtrPMRAPQsP2"], ["filename", "map.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 983157], ["checksum", "OH5LyOEoHmCyVamDhfFvnA=="], ["created_at", "2019-07-06 20:08:16.823476"]]
  68. ↳ app/controllers/admin/testimonials_controller.rb:12
  69. (0.9ms) COMMIT
  70. ↳ app/controllers/admin/testimonials_controller.rb:12
  71. (0.1ms) BEGIN
  72. ↳ app/controllers/admin/testimonials_controller.rb:12
  73. (0.1ms) COMMIT
  74. ↳ app/controllers/admin/testimonials_controller.rb:12
  75. (0.0ms) BEGIN
  76. ↳ app/controllers/admin/testimonials_controller.rb:14
  77. Testimonial Create (0.2ms) INSERT INTO "testimonials" ("name", "patronymic", "surname", "userpic", "company", "object_photo_2", "object_photo_3", "video", "text", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["name", "zvfasdfasdf"], ["patronymic", ""], ["surname", ""], ["userpic", ""], ["company", ""], ["object_photo_2", ""], ["object_photo_3", ""], ["video", ""], ["text", "asdfasdf"], ["created_at", "2019-07-06 20:08:16.830331"], ["updated_at", "2019-07-06 20:08:16.830331"]]
  78. ↳ app/controllers/admin/testimonials_controller.rb:14
  79. ActiveStorage::Attachment Create (0.4ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "object_photo_1"], ["record_type", "Testimonial"], ["record_id", 16], ["blob_id", 9], ["created_at", "2019-07-06 20:08:16.831583"]]
  80. ↳ app/controllers/admin/testimonials_controller.rb:14
  81. Testimonial Update (0.1ms) UPDATE "testimonials" SET "updated_at" = $1 WHERE "testimonials"."id" = $2 [["updated_at", "2019-07-06 20:08:16.832722"], ["id", 16]]
  82. ↳ app/controllers/admin/testimonials_controller.rb:14
  83. (0.8ms) COMMIT
  84. ↳ app/controllers/admin/testimonials_controller.rb:14
  85. [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 6903ab08-fc70-425f-b5eb-066e97021228) to Async(default) with arguments: #<GlobalID:0x000055ed109e1760 @uri=#<URI::GID gid://teplostroy-backend/ActiveStorage::Blob/9>>
  86. Testimonial Load (0.8ms) SELECT "testimonials"."id", "testimonials"."name", "testimonials"."patronymic", "testimonials"."surname", "testimonials"."userpic", "testimonials"."company", "testimonials"."object_photo_1", "testimonials"."object_photo_2", "testimonials"."object_photo_3", "testimonials"."video", "testimonials"."text", "testimonials"."created_at", "testimonials"."updated_at" FROM "testimonials" WHERE "testimonials"."id" = $1 [["id", 16]]
  87. ↳ app/controllers/admin/testimonials_controller.rb:16
  88. ActiveStorage::Attachment Load (2.0ms) SELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4 [["record_id", 16], ["record_type", "Testimonial"], ["name", "object_photo_1"], ["LIMIT", 1]]
  89. ↳ app/controllers/admin/testimonials_controller.rb:16
  90. ActiveStorage::Blob Load (0.7ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
  91. ↳ app/controllers/admin/testimonials_controller.rb:16
  92. Completed 500 Internal Server Error in 136ms (ActiveRecord: 11.8ms)
  93.  
  94.  
  95.  
  96. SystemStackError (stack level too deep):
  97.  
  98. app/controllers/admin/testimonials_controller.rb:16:in `create'
  99. ActiveStorage::Blob Load (400.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", 9], ["LIMIT", 1]]
  100. ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  101. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] Performing ActiveStorage::AnalyzeJob (Job ID: 6903ab08-fc70-425f-b5eb-066e97021228) from Async(default) with arguments: #<GlobalID:0x000055ed0fd0c418 @uri=#<URI::GID gid://teplostroy-backend/ActiveStorage::Blob/9>>
  102. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] Disk Storage (404.2ms) Downloaded file from key: xx4ycnsTNgLMAtrPMRAPQsP2
  103. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] (100.0ms) BEGIN
  104. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  105. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ActiveStorage::Blob Update (199.7ms) UPDATE "active_storage_blobs" SET "metadata" = $1 WHERE "active_storage_blobs"."id" = $2 [["metadata", "{\"identified\":true,\"width\":2561,\"height\":1325,\"analyzed\":true}"], ["id", 9]]
  106. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  107. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] (303.2ms) COMMIT
  108. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] ↳ /home/yart/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
  109. [ActiveJob] [ActiveStorage::AnalyzeJob] [6903ab08-fc70-425f-b5eb-066e97021228] Performed ActiveStorage::AnalyzeJob (Job ID: 6903ab08-fc70-425f-b5eb-066e97021228) from Async(default) in 4306.6ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement