问题
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?
回答1:
I experienced the same problem but a simple restart fixed it .
Just try this :-
sudo service jenkins stop
sudo service jenkins start
回答2:
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
回答3:
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
回答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
回答5:
After getting Jenkins Setup Wizard Blank Page http://localhost:8080/index works for me.
回答6:
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
回答7:
Stopping and starting jenkins service made it work for me in windows.
回答8:
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.
回答9:
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.
回答10:
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>
回答11:
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
回答12:
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
回答13:
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
来源:https://stackoverflow.com/questions/38966105/jenkins-setup-wizard-blank-page