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

Default admin user cannot connect to jenkins after running SetupWizard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      Default admin user cannot connect to jenkins after running SetupWizard

      Cannot use a fresh install of jenkins RPM on a minimal installation of CentOS7.   Firewalld and SELinux are disabled.

      All attempts to use jenkins are greeted with an error page reporting:

      • An error occurred / Unable to connect to Jenkins

      Symptom has been 100% reproducible. 

      To reproduce:

      Prepare a fresh install of Jenkins on a fresh install of CentOS7:

      • Install CentOS 7 - minimal install, hostname and IP supplied via DHCP
      • Disable SELinux via /etc/sysconfig/selinux
      • #> systemctl disable firewalld
      • Reboot
      • #> yum upgrade -y
      • #> yum install -y wget java-1.8.0-openjdk
      • #> java -version
      • #> echo 'export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk' | sudo tee -a /etc/profile
      • #> echo 'export JRE_HOME=/usr/lib/jvm/jre' | sudo tee -a /etc/profile
      • #> source /etc/profile
      • #> wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
      • #> rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
      • #> yum install -y jenkins
      • #> systemctl enable jenkins
      • Reboot - for updated kernel and restart all services

      Attempt to use jenkins:

      • Direct browser to <appliance>:8080
      • click [install suggested plugins]
      • click [continue as admin]
      • click [start using Jenkins]

       

            Unassigned Unassigned
            wrjohnson Richard Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: