无法在干净的debian设置上创建用户

时间:2016-01-08 14:39:16

标签: ruby gitlab sidekiq gitlab-omnibus

目前我想通过Omnibus在干净的debian 8设置(仅安装SSH和NFS)上测试gitlab CE版本。

安装和设置工作没有问题。现在我想创建一个新用户,但这不起作用。

点击"创建用户"在表单的底部,我收到500er页面。姓名,用户名和电子邮件都是唯一的。

sidekiq日志说无法找到用户:

  • 2016-01-08_14:08:50.15497 2016-01-08T14:08:50.152Z 567 TID-tybs8 ActionMailer :: DeliveryJob JID-c01fd16dc6ecb6f68724dab4 INFO:start
  • 2016-01-08_14:08:50.15656 2016-01-08T14:08:50.156Z 567 TID-tybs8 ActionMailer :: DeliveryJob JID-c01fd16dc6ecb6f68724dab4信息:失败:0.004秒
  • 2016-01-08_14:08:50.15666 2016-01-08T14:08:50.156Z 567 TID-tybs8警告:{" class" =>" ActiveJob :: QueueAdapters :: SidekiqAdapter :: JobWrapper"," wrapped" =>" ActionMailer :: DeliveryJob"," queue" =>" mailers" ," args" => [{" job_class" =>" ActionMailer :: DeliveryJob"," job_id" =>&# 34; 4232d503-c72a-449e-a8d0-64f3d1405c39"," queue_name" =>" mailers"," arguments" => [&#34 ;通知"," new_user_email"," deliver_now",3," CNDxYws5Ye_hUaw765dJ"]," locale" =>&#34 ; en"}],"重试" => true," jid" =>" c01fd16dc6ecb6f68724dab4"," created_at" = > 1452261957.4844916," enqueued_at" => 1452262130.1520908," error_message" =>"找不到具有' id' = 3&的用户#34;," error_class" =>" ActiveRecord :: RecordNotFound"," failed_at" => 1452261957.4914882," retry_count&#3 4; => 3," retried_at" => 1452262130.1563768}
  • 2016-01-08_14:08:50.15670 2016-01-08T14:08:50.156Z 567 TID-tybs8警告:ActiveRecord :: RecordNotFound:找不到具有' id' =的用户3
  • 2016-01-08_14:08:50.15674 2016-01-08T14:08:50.156Z 567 TID-tybs8警告:/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2 .4 / lib / active_record / relation / finder_methods.rb:324:在`raise_record_not_found_exception!'
  • 2016-01-08_14:08:50.15674 /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/finder_methods.rb:444:in `find_one'
  • 2016-01-08_14:08:50.15674 /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/finder_methods.rb:423:in `find_with_ids'
  • 2016-01-08_14:08:50.15675 /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/finder_methods.rb:71:in `找到'
  • ...

在application.log中:2016年1月8日15:05:用户" XXX" (xxx)已创建

我的错误在哪里?

1 个答案:

答案 0 :(得分:0)

基于此,它看起来像GitLab中的一个错误:

https://github.com/mperham/sidekiq/wiki/FAQ#why-am-i-seeing-a-lot-of-cant-find-modelname-with-id12345-errors-with-sidekiq

您可能希望将此报告给GitLab人员或升级到最新版本。