可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
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