Skip to content

Instantly share code, notes, and snippets.

@Araeos
Created October 31, 2018 17:42
Show Gist options
  • Save Araeos/38732ec77e52d20e3ec271118f618688 to your computer and use it in GitHub Desktop.
Save Araeos/38732ec77e52d20e3ec271118f618688 to your computer and use it in GitHub Desktop.
Gitlab error during authorized key related update
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: 2018-10-31T17:32:06.703Z 5884 TID-gsa34097c WARN: NoMethodError: undefined method `authorized_keys_enabled' for #<ApplicationSetting:0x00007f22bc445aa8>
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: 2018-10-31T17:32:06.703Z 5884 TID-gsa34097c WARN: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activemodel-4.2.10/lib/active_model/attribute_methods.rb:433:in `method_missing'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/shell.rb:368:in `authorized_keys_enabled?'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/shell.rb:181:in `add_key'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/app/workers/gitlab_shell_worker.rb:8:in `perform'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:185:in `execute_job'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:167:in `block (2 levels) in process'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/sidekiq_status/server_middleware.rb:5:in `call'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/sidekiq_middleware/request_store_middleware.rb:6:in `call'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/lib/gitlab/sidekiq_middleware/shutdown.rb:52:in `call'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/server/active_record.rb:16:in `call'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sentry-raven-2.7.2/lib/raven/integrations/sidekiq.rb:9:in `call'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/middleware/chain.rb:133:in `invoke'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:166:in `block in process'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:137:in `block (6 levels) in dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/job_retry.rb:98:in `local'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:136:in `block (5 levels) in dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq.rb:36:in `block in <module:Sidekiq>'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:132:in `block (4 levels) in dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:217:in `stats'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:127:in `block (3 levels) in dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/job_logger.rb:8:in `call'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:126:in `block (2 levels) in dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/job_retry.rb:73:in `global'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:125:in `block in dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/logging.rb:48:in `with_context'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/logging.rb:42:in `with_job_hash_context'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:124:in `dispatch'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:165:in `process'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:83:in `process_one'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/processor.rb:71:in `run'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/util.rb:16:in `watchdog'
Oct 31 18:32:06 daeros gitlab-sidekiq[5884]: /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/sidekiq-5.2.1/lib/sidekiq/util.rb:25:in `block in safe_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment