38

I have just installed Jenkins on my RHEL 6.0 server via npm:

npm -ivh jenkins-2.7.2-1.1.noarch.rpm

I have also configured my port to be 9917 to avoid clashing with my Tomcat server, allowing me to access the Jenkins page at ipaddress:9917. After entering the initial admin password at the Unlock Jenkins page, I am presented with a blank page, with the header "SetupWizard [Jenkins]".

Anyone knows why am I getting a blank page, and how do I solve it?

14 Answers 14

51

I experienced the same problem but a simple restart fixed it .

Just try this :-

sudo service jenkins stop
sudo service jenkins start
5
  • 4
    What a buggy software and poor documentation. Had installed jenkins as per jenkins.io/doc/book/installing/#setup-wizard, didn't find log in the path mentioned in this document nor wiki.jenkins.io/display/JENKINS/Logging#Logging-MacOSX
    – vikramvi
    Aug 29, 2018 at 10:46
  • 2
    On a single line, you have two options now: in non-systemd systems use sudo service jenkins restart; in systemd-based distros sudo systemd restart jenkins.service
    – code_dredd
    Aug 29, 2018 at 20:42
  • 12
    On Windows, simply opening localhost:8080/safeRestart solved the problem for me.
    – thSoft
    Oct 18, 2018 at 11:38
  • On Windows, restarting the service from the service manager resolved the issue.
    – Veera
    Dec 7, 2019 at 15:22
  • In my case, I restarted gave the full permission to the whole directory, the service and restart the even virtual machine, but didn't work. After just reinstalled it worked fine without any effort... May 28, 2021 at 2:51
20

targeting the url to https://../jenkins/index appeared to solve the problem in most cases.

even if the first time, Browser's back button once on the blank page after the wizard finished sent me to the working page: http//:websiteDomain/login?from=%2

In my case I used (jenkins/jenkins lts) the official docker image

1
  • 7
    I have tried: http://localhost:8080/index and it worked, thanks for hint @user1767316 Apr 30, 2019 at 17:05
9

After getting Jenkins Setup Wizard Blank Page http://localhost:8080/index works for me.

6

I was having the same issue, but I am using the default port 8080. I installed jenkins in this way:
yum install jenkins

Then I executed:

systemctl start.jenkins
systemctl enable.jenkins



then allow 8080 on the firewall:

sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp
sudo firewall-cmd --reload


And the part that was missing (at least for me) was :

systemctl daemon-reload


After that the installation came normally. I Hope this can be usefull for someone else.

cheers

0
4

I had same issue on macOS Sierra 10.12 and just had to restart the daemon.

sudo launchctl unload -w /Library/LaunchDaemons/org.jenkins-ci.plist
sudo launchctl load -w /Library/LaunchDaemons/org.jenkins-ci.plist
3

I too had same problem. But I'm using jenkins in docker container. So i did below after that it started to work.

docker stop my_container_name
docker start my_container_name

For your case, you should restart your jenkins if you are using linux

sudo service jenkins stop
sudo service jenkins start
1
  • Worked for me - docker in my case. Jun 20, 2019 at 15:19
3

Stopping and starting jenkins service made it work for me in windows.

2

I found out that after I opened the port 9917 in my firewall,the blank pages error stopped and I can continue with the setup just fine.

3
  • same problem using official jenkins docker image ... with no root access, just the jenkins user available .. Any clue of how to do ? specific question here: stackoverflow.com/questions/51300475/jenkins-setup-wizard-blank Jul 29, 2018 at 9:22
  • 1
    How does opening a firewall port that Jenkins does not use solve a Jenkins issue? Jenkins listens on port 8080 by default. Did you manually configure your Jenkins instance to listen specifically on port 9917?
    – code_dredd
    Aug 29, 2018 at 20:41
  • false positive ? didn't you restart anything ? Jun 20, 2019 at 10:08
1

I had the same issue on Windows. I went to the Windows Services and found Jenkins there as a service. I stopped the service and started again and then I could see the page.

1
  • Though my service was working but I simply restarted it again and it worked. Apr 20, 2019 at 13:13
1

I also faced this problem

Restarting the service fixed it

sudo systemctl stop jenkins 
sudo systemctl start jenkins 
sudo systemctl status jenkins

Try with make a request to you jenkins url

curl http://<your jenkins host>:<your port> 
0
0

Managed to fixe it by changing the port.(windows10)

First you open the command line and proceed to:

cd ..

cd ..

cd "Program Files (x86)" (or wherever you have the jenkins folder)

cd jenkins

dir

java -jar jenkins.war --httpPort=8081

by doing this you´re changing jenkins localhost port from 8080 to 8081 avoiding any conflits.

Warning :do not close the command line after its done , make sure its open before you enter localhost:8081

0

On macOS, same as Linux, I had to stop/start jenkins service to make it work

sudo launchctl unload /Library/LaunchDaemons/my.jenkins.plist 
sudo launchctl load -w /Library/LaunchDaemons/my.jenkins.plist 
0

If you happened to run Jenkins using generic Java war file, a restart will be required after finishing installation. Stop the java (using Ctrl+C if you on shell), then start again using

$ java -jar jenkins.war --httpPort=3001

Note: My jenkins run on port 3001

0

For the record, this problem was corrected in 2.195, thanks to Bogdan Sukonnov in https://issues.jenkins-ci.org/browse/JENKINS-59017.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.