Hi,
I have installed gitlab (version 11.10.4) from source on fresh Debian 9 Stretch host. During the installation evething went smooth. I created a new GIT project with a few files and when I trierd to fork the project, the UI hangs up. After refresh, I see the project is not forked and in the sidekiq.log
I can see this Warning.
2019-05-19T20:56:06.253Z 1067 TID-gn1h2pj83 WARN: {"context":"Job raised exception","job":{"class":"RepositoryForkWorker","args":[2],"retry":5,"queue":"repository_fork","status_expiration":54000,"jid":"d9c7823a786185d9ab00bf5b","created_at":1558287206.6651525,"correlation_id":"a7Q0JSXITj9","enqueued_at":1558299366.1246855,"error_message":"Couldn't find Project with 'id'=2","error_class":"ActiveRecord::RecordNotFound","failed_at":1558287206.7320678,"retry_count":4,"retried_at":1558297953.1739943},"jobstr":"{\"class\":\"RepositoryForkWorker\",\"args\":[2],\"retry\":5,\"queue\":\"repository_fork\",\"status_expiration\":54000,\"jid\":\"d9c7823a786185d9ab00bf5b\",\"created_at\":1558287206.6651525,\"correlation_id\":\"a7Q0JSXITj9\",\"enqueued_at\":1558299366.1246855,\"error_message\":\"Couldn't find Project with 'id'=2\",\"error_class\":\"ActiveRecord::RecordNotFound\",\"failed_at\":1558287206.7320678,\"retry_count\":4,\"retried_at\":1558297953.1739943}"}
2019-05-19T20:56:06.253Z 1067 TID-gn1h2pj83 WARN: ActiveRecord::RecordNotFound: Couldn't find Project with 'id'=2
2019-05-19T20:56:06.253Z 1067 TID-gn1h2pj83 WARN: /home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/activerecord-5.0.7.2/lib/active_record/core.rb:173:in `find'
/home/git/gitlab/app/workers/repository_fork_worker.rb:11:in `perform'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:185:in `execute_job'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:167:in `block (2 levels) in process'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
/home/git/gitlab/lib/gitlab/sidekiq_status/server_middleware.rb:7:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/home/git/gitlab/lib/gitlab/sidekiq_middleware/correlation_logger.rb:10:in `block in call'
/home/git/gitlab/lib/gitlab/correlation_id.rb:15:in `use_id'
/home/git/gitlab/lib/gitlab/sidekiq_middleware/correlation_logger.rb:9:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/home/git/gitlab/lib/gitlab/sidekiq_middleware/batch_loader.rb:7:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/home/git/gitlab/lib/gitlab/sidekiq_middleware/request_store_middleware.rb:8:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sentry-raven-2.9.0/lib/raven/integrations/sidekiq.rb:9:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:166:in `block in process'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:137:in `block (6 levels) in dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/job_retry.rb:108:in `local'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:136:in `block (5 levels) in dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/rails.rb:43:in `block in call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/execution_wrapper.rb:85:in `wrap'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/reloader.rb:68:in `block in wrap'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/execution_wrapper.rb:85:in `wrap'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/reloader.rb:67:in `wrap'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/rails.rb:42:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:132:in `block (4 levels) in dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:243:in `stats'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:127:in `block (3 levels) in dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/job_logger.rb:8:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:126:in `block (2 levels) in dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/job_retry.rb:73:in `global'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:125:in `block in dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/logging.rb:48:in `with_context'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/logging.rb:42:in `with_job_hash_context'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:124:in `dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:165:in `process'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:83:in `process_one'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/processor.rb:71:in `run'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:16:in `watchdog'
/home/git/gitlab/vendor/bundle/ruby/2.5.0/gems/sidekiq-5.2.5/lib/sidekiq/util.rb:25:in `block in safe_thread
Here is info about my installation:
System information
System: Debian 9.9
Current User: git
Using RVM: no
Ruby Version: 2.5.3p105
Gem Version: 2.7.6
Bundler Version:1.17.3
Rake Version: 12.3.2
Redis Version: 3.2.6
Git Version: 2.18.0
Sidekiq Version:5.2.5
Go Version: go1.10.3 linux/amd64
GitLab information
Version: 11.10.4
Revision: 62c464651d2
Directory: /home/git/gitlab
DB Adapter: PostgreSQL
DB Version: 9.6.13
URL: http://gitlab.local
HTTP Clone URL: http://gitlab.local/some-group/some-project.git
SSH Clone URL: git@gitlab.local:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 9.0.0
Repository storage paths:
- default: /home/git/repositories
GitLab Shell path: /home/git/gitlab-shell
Git: /usr/local/bin/git
When I install gitlab via omnibus, everything is just fine.
Does anybody encounter with the same issue?
Many thanks,
Peter