Jenkins Setup Wizard Blank Page

匿名 (未验证) 提交于 2019-12-03 00:56:02

问题:

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 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



回答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:

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 


回答4:

In my case the official docker image I used (jenkins/jenkins lts) didn't allowed me to play with the firewall. (jenkins user has no sudo rights)

I finally tried the back button once on the blank page after the wizard finished, it sent me to a working page: http//:websiteDomain/login?from=%2



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!