Jenkins - Setup wizard blank?

。_饼干妹妹 提交于 2019-12-12 10:45:37

问题


I have tried to setup a docker image with Jenkins installed - I used the wizard, and got the initial password entered, and installed the recommended plugins - After that, I only get an blank page when I connecto to the localhost:8080 page Jenkins inital page

If I connect to something like localhost:8080/configure The page works fine, but the inital page doesn't - The tab is called "SetupWizard" in firefox - What can I do?


回答1:


It happened to me after the initial installation, in the fisrt time starting.

Restart the jenkins instance by

http://jenkins.server/restart

and after that the home page should be working.




回答2:


A click on browser's "back button" sent me to the working page: /login?from=%2F ....

historical: A non docker-image-related answer can be found here It suggests a firewall setting.

But is such a setting modification possible on the official jenkins docker image (jenkins/jenkins lts) using the provided jenkins user with no root access ?

(I personaly started the docker image ussing this command:

docker run -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock --name jenkins --hostname jenkins --add-host ns375278:172.17.0.1 -e JENKINS_OPTS="--prefix=/jenkins" -e JENKINS_ARGS="--prefix=/jenkins" --env "JAVA_OPTS=-Dhudson.footerURL=https://myDnsName.com"  jenkins/jenkins:tls


来源:https://stackoverflow.com/questions/51300475/jenkins-setup-wizard-blank

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