Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29309

Jenkins cannot start with gitlab-hook plugin

XMLWordPrintable

      After installing gitlab-hook 1.4.0 to Jenkins 1.609, Jenkins cannot start. Dependencies are installed (ruby-runtime).
      Part of the log:

      INFO: Injecting JRuby into XStream
      Trying to load models from /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/unprotected_root_action.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/api.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:22 warning: already initialized const
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/gitlab_notifier.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/crumb_exclusion.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:10 warning: already initializ
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:11 warning: already initializ
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:12 warning: already initializ
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:13 warning: already initializ
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action_descriptor.rb:14 warning: already initializ
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/root_action.rb:12 warning: already initialized constant
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/util/settings.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/parameters_request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/payload_request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/scm_data.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/merge_request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/abstract_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/request_details.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/repository_uri.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:18 warning: already initialized const
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:22 warning: already initialized const
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/values/project.rb:27 warning: already initialized const
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_parameters_values.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/security.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/parse_request.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/parse_request.rb:11 warning: already initializ
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_jenkins_projects.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/flat_keys_hash.rb
      /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/flat_keys_hash.rb:4 warning: already initializ
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_build_cause.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/build_scm.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/services/get_build_actions.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/exceptions/not_found_exception.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/exceptions/bad_request_exception.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/exceptions/configuration_exception.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/create_project_for_branch.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/notify_commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/build_now.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_delete_commit.rb
      Loading /var/lib/jenkins/plugins/gitlab-hook/WEB-INF/classes/models/use_cases/process_merge_request.rb
      

      ...

      INFO: Jenkins is fully up and running
      Exception in thread "RequestHandlerThread[#20]"Exception in thread "RequestHandlerThread[#21]" Exception in thread "jenkins.util.Timer [#3]" Exception in thread "RequestHandlerThread[#19]" Exception in thread "RequestHandlerThread[#22]" Exception in thread "RequestHandlerThread[#25]"
      

      Even if log says that is Jenkins fully up and running, I cannot get login page.
      Apache is reporting error 502.
      Direct access to address:8080 doesn't give any results, just blank page.

            javiplx Javier Palacios
            dsusic Dusan Susic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: