Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

please wait while jenkins is restarting- waiting long

Tags:

jenkins

I updated some plugins and restarted the jenkins but now it says:

Please wait while Jenkins is restarting

Your browser will reload automatically when Jenkins is ready.

It is taking too much time (waiting from last 40 minutes). I have only 1 project with around 20 builds. I have restarted jenkins many times and worked fine but now it stucks. Is there any way out to kill/suspend jenkins to avoid this wait?

like image 358
Digeek Avatar asked Jun 27 '13 13:06

Digeek


People also ask

How long does a Jenkins restart take?

I also restarted the Jenkins service and it worked. It did take 3-4 minutes after I restarted the service for the page to load up, though. So make sure you're patient before moving on to something else.

Can't start Jenkins service?

One of the most common reasons why Jenkins server can't start in Windows computers is because the version of the Java language was updated after the last shutdown of Jenkins server. In order to configure Jenkins to use the correct Java version, you can follow this procedure: 1. - Edit the jenkins.


1 Answers

I had a very similar issue when using jenkins build-in restart function. To fix it I killed the service (with crossed fingers), but somehow it kept serving the "Please wait" page. I guess it is served by a separate thread, but since i could not see any running java or jenkins processes i restarted the server to stop it.

After reboot jenkins worked but it was not updated. To make it work it I ran the update again and restarted the jenkins service manually - it took less than a minute and worked just fine...

Jenkins seems to have a number of bugs related to restarting, and at least one unresolved: jenkins issue

like image 85
molholm Avatar answered Sep 20 '22 04:09

molholm