Advertisement
Guest User

Untitled

a guest
Dec 12th, 2016
891
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.82 KB | None | 0 0
  1. $ cat /home/git/gitlab/config/environments/production.rb | grep -v '#'
  2. Rails.application.configure do
  3.  
  4. config.cache_classes = true
  5.  
  6. config.consider_all_requests_local = false
  7. config.action_controller.perform_caching = true
  8.  
  9. config.serve_static_files = false
  10.  
  11. config.assets.js_compressor = :uglifier
  12.  
  13. config.assets.compile = true
  14.  
  15. config.assets.digest = true
  16.  
  17. config.assets.compress = true
  18.  
  19. config.log_level = :info
  20.  
  21. %w{render_template render_partial render_collection}.each do |event|
  22. end
  23.  
  24. config.i18n.fallbacks = true
  25.  
  26. config.active_support.deprecation = :notify
  27.  
  28. config.action_mailer.delivery_method = :smtp
  29. config.action_mailer.perform_deliveries = true
  30. config.action_mailer.raise_delivery_errors = true
  31.  
  32. config.action_mailer.smtp_settings = {
  33. :address => "smtp.zoho.com",
  34. :port => 587,
  35. :domain => 'zoho.com',
  36. :user_name => 'foo.bar@zoho.com',
  37. :password => 'password',
  38. :authentication => :plain,
  39. :enable_starttls_auto => true
  40. }
  41.  
  42. config.eager_load = true
  43.  
  44. config.allow_concurrency = false
  45. end
  46.  
  47.  
  48. $ cat /home/git/gitlab/config/initializers/smtp_settings.rb | grep -v '#'
  49.  
  50. if Rails.env.production?
  51. Rails.application.config.action_mailer.delivery_method = :smtp
  52.  
  53. ActionMailer::Base.delivery_method = :smtp
  54. ActionMailer::Base.smtp_settings = {
  55. address: "smtp.zoho.com",
  56. port: 587,
  57. user_name: "foo.bar@zoho.com",
  58. password: "password",
  59. domain: "zoho.com",
  60. authentication: :plain,
  61. enable_starttls_auto: true,
  62. ca_path: "/etc/ssl/certs",
  63. ca_file: "/etc/ssl/certs/ca-certificates.crt"
  64. }
  65. end
  66.  
  67. $ tail -f log/sidekiq.log
  68.  
  69. 2016-12-12T16:08:13.515Z 5812 TID-nmp3w WARN: {"class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"ActionMailer::DeliveryJob","queue":"mailers","args":[{"job_class":"ActionMailer::DeliveryJob","job_id":"610766e8-27ce-47ce-922f-54020a5460b7","queue_name":"mailers","arguments":["Notify","new_user_email","deliver_now",19,"y_oyURWrFzxhzY5eAx6m"],"locale":"en"}],"retry":3,"jid":"654a303c9440e2c91805591d","created_at":1481558893.355989,"enqueued_at":1481558893.3566873,"error_message":"Couldn't find User with 'id'=19","error_class":"ActiveRecord::RecordNotFound","failed_at":1481558893.5128403,"retry_count":0}
  70. 2016-12-12T16:08:13.515Z 5812 TID-nmp3w WARN: ActiveRecord::RecordNotFound: Couldn't find User with 'id'=19
  71. 2016-12-12T16:08:13.516Z 5812 TID-nmp3w WARN: /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.7.1/lib/active_record/relation/finder_methods.rb:324:in `raise_record_not_found_exception!'
  72. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.7.1/lib/active_record/relation/finder_methods.rb:444:in `find_one'
  73. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.7.1/lib/active_record/relation/finder_methods.rb:423:in `find_with_ids'
  74. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.7.1/lib/active_record/relation/finder_methods.rb:71:in `find'
  75. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.7.1/lib/active_record/querying.rb:3:in `find'
  76. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:131:in `find'
  77. /home/git/gitlab/app/mailers/emails/profile.rb:4:in `new_user_email'
  78. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action'
  79. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
  80. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
  81. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
  82. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
  83. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
  84. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'
  85. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'
  86. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:596:in `block in process'
  87. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
  88. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  89. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
  90. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:593:in `process'
  91. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:584:in `initialize'
  92. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:25:in `new'
  93. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:25:in `__getobj__'
  94. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:34:in `message'
  95. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
  96. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.7.1/lib/action_mailer/delivery_job.rb:10:in `perform'
  97. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/execution.rb:32:in `block in perform_now'
  98. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'
  99. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'
  100. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
  101. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
  102. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
  103. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
  104. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:343:in `call'
  105. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
  106. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'
  107. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
  108. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `instance_exec'
  109. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `block in make_lambda'
  110. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:342:in `call'
  111. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:342:in `block in simple'
  112. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'
  113. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'
  114. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
  115. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
  116. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
  117. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:343:in `call'
  118. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
  119. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/logging.rb:23:in `call'
  120. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
  121. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
  122. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  123. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
  124. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
  125. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/logging.rb:43:in `block in tag_logger'
  126. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
  127. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in `tagged'
  128. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `tagged'
  129. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/logging.rb:43:in `tag_logger'
  130. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
  131. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `instance_exec'
  132. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `block in make_lambda'
  133. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:342:in `call'
  134. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:342:in `block in simple'
  135. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'
  136. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'
  137. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
  138. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
  139. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
  140. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'
  141. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
  142. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/execution.rb:31:in `perform_now'
  143. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/execution.rb:21:in `execute'
  144. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/activejob-4.2.7.1/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'
  145. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:155:in `execute_job'
  146. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:136:in `block (3 levels) in process'
  147. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
  148. /home/git/gitlab/lib/gitlab/sidekiq_middleware/request_store_middleware.rb:6:in `call'
  149. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
  150. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
  151. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
  152. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
  153. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
  154. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'
  155. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/logging.rb:32:in `with_context'
  156. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/server/logging.rb:7:in `call'
  157. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
  158. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:133:in `call'
  159. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/middleware/chain.rb:133:in `invoke'
  160. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:131:in `block (2 levels) in process'
  161. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:171:in `stats'
  162. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:130:in `block in process'
  163. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq.rb:35:in `call'
  164. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq.rb:35:in `block in <module:Sidekiq>'
  165. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:122:in `call'
  166. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:122:in `process'
  167. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:81:in `process_one'
  168. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/processor.rb:69:in `run'
  169. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/util.rb:17:in `watchdog'
  170. /home/git/gitlab/vendor/bundle/ruby/2.2.0/gems/sidekiq-4.2.1/lib/sidekiq/util.rb:25:in `block in safe_thread'
  171.  
  172. $ bundle exec rake gitlab:env:info RAILS_ENV=production
  173.  
  174. System information
  175. System:
  176. Current User: git
  177. Using RVM: yes
  178. RVM Version: 1.27.0
  179. Ruby Version: 2.3.1p112
  180. Gem Version: 2.5.1
  181. Bundler Version:1.13.6
  182. Rake Version: 10.5.0
  183. Sidekiq Version:4.2.1
  184.  
  185. GitLab information
  186. Version: 8.14.4
  187. Revision: 3ea6c8d
  188. Directory: /home/git/gitlab
  189. DB Adapter: postgresql
  190. URL: https://my.web.site
  191. HTTP Clone URL: https://my.web.site/some-group/some-project.git
  192. SSH Clone URL: git@my.web.site:some-group/some-project.git
  193. Using LDAP: no
  194. Using Omniauth: no
  195.  
  196. GitLab Shell
  197. Version: 4.0.3
  198. Repository storage paths:
  199. - default: /home/git/repositories/
  200. Hooks: /home/git/gitlab-shell/hooks/
  201. Git: /usr/bin/git
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement