Jenkins - Setup wizard blank?

2019-06-20 04:20发布

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?

2条回答
Ridiculous、
2楼-- · 2019-06-20 04:51

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
查看更多
Bombasti
3楼-- · 2019-06-20 04:56

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.

查看更多
登录 后发表回答