Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48352

Buttons disabled on "Create first admin user" screen

      I could not complete install.  I get stuck at "Create first admin user" screen.   Buttons are disabled even though I enter all fields.  Steps were as follows:

      1. Downloaded Jenkins latest version, stable version (not weekly version)
      2. Double clicked on .msi file, accepted defaults.
      3. After the Windows installer completed, a browser opened up asking me what plug-ins to install.  I indicated all recommended.
      4. Most components successfully installed on first try, after a few more tries, all components got successfully installed.
      5. After all were successfully installed, I got a screen "Create first admin user" (see attached screenshot).  After filling in the fields, when I hover over the buttons at the bottom right, the mouse turns to a red circle with a diaganol line and I cannot press the button.

          [JENKINS-48352] Buttons disabled on "Create first admin user" screen

          I just noticed https://issues.jenkins-ci.org/browse/JENKINS-34255, which is a duplicate.

           

          Ethan Strominger added a comment - I just noticed https://issues.jenkins-ci.org/browse/JENKINS-34255 , which is a duplicate.  

          I was trying to install Jenkins 2.73.3.

          Ethan Strominger added a comment - I was trying to install Jenkins 2.73.3.

          I faced with something similar during installing Jenkins 2.89.2 on Ubuntu 17.10: I installed some custom plugins and stuck on "create new admin user" dialog. I filled some fields on the dialog and and buttons were disabled. After several tries to reload the page and submitting I managed to continue Jenkins setup with the first admin user when I filled all fields.

          I found a following exception in "jenkins.log" file during submitting the page, it might be related to the issue:

          Dec 15, 2017 6:16:25 AM hudson.init.impl.InstallUncaughtExceptionHandler$1 reportException
          WARNING: null
          java.io.IOException: finished
          at com.jcraft.jzlib.DeflaterOutputStream.write(DeflaterOutputStream.java:90)
          at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
          at org.kohsuke.stapler.compression.FilterServletOutputStream.write(FilterServletOutputStream.java:36)
          at hudson.util.HttpResponses$JSONObjectResponse.generateResponse(HttpResponses.java:181)
          at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124)
          at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:69)
          at org.kohsuke.stapler.Function.renderResponse(Function.java:136)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:119)
          at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
          at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209)
          at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
          at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
          at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
          at jenkins.install.SetupWizard$1.doFilter(SetupWizard.java:540)
          at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
          at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
          at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
          at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
          at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
          at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
          at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
          at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          at org.eclipse.jetty.server.Server.handle(Server.java:564)
          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
          at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
          at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
          at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
          at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
          at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
          at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
          at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
          at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
          

          Mikhail Nasyrov added a comment - I faced with something similar during installing Jenkins 2.89.2 on Ubuntu 17.10: I installed some custom plugins and stuck on "create new admin user" dialog. I filled some fields on the dialog and and buttons were disabled. After several tries to reload the page and submitting I managed to continue Jenkins setup with the first admin user when I filled all fields. I found a following exception in "jenkins.log" file during submitting the page, it might be related to the issue: Dec 15, 2017 6:16:25 AM hudson.init.impl.InstallUncaughtExceptionHandler$1 reportException WARNING: null java.io.IOException: finished at com.jcraft.jzlib.DeflaterOutputStream.write(DeflaterOutputStream.java:90) at java.io.FilterOutputStream.write(FilterOutputStream.java:97) at org.kohsuke.stapler.compression.FilterServletOutputStream.write(FilterServletOutputStream.java:36) at hudson.util.HttpResponses$JSONObjectResponse.generateResponse(HttpResponses.java:181) at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124) at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:69) at org.kohsuke.stapler.Function.renderResponse(Function.java:136) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:119) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at jenkins.install.SetupWizard$1.doFilter(SetupWizard.java:540) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128) at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang. Thread .run( Thread .java:748)

          George Pantazes added a comment - - edited

          Also seeing this problem on Jenkins ver. 2.89.2, MacOS Sierra 10.12.6.
          Not sure if this is a relevant detail based on the earlier comments, but I chose the custom plugins route, not the express route.
          In my case, I was able to click on Save and Finish which disabled both "Continue as Admin" and "Save and Finish" buttons and hung there, showing a stop sign cursor. I had to close the window.

          The next time I started Jenkins, it was not in the setup wizard, but in the normal log in flow. (As a note, the admin user did not get created.)

          George Pantazes added a comment - - edited Also seeing this problem on Jenkins ver. 2.89.2, MacOS Sierra 10.12.6. Not sure if this is a relevant detail based on the earlier comments, but I chose the custom plugins route, not the express route. In my case, I was able to click on Save and Finish which disabled both "Continue as Admin" and "Save and Finish" buttons and hung there, showing a stop sign cursor. I had to close the window. The next time I started Jenkins, it was not in the setup wizard, but in the normal log in flow. (As a note, the admin user did not get created.)

          Bruce Peltzer added a comment -

          I had the same problem when installing Jenkins 2.89.3 from the repo to either Centos 7 or Ubuntu 17.10, except I do not have any exceptions in jenkins.log. I stopped the service and restarted. Jenkins then skipped the setup procedures and asked me to login. I attempted to login using the credentials I created, but that didn't work. I logged in using admin with the secret password and that worked.

          When I then looked under People, only the admin user was there. I then went to Manage Jenkins, Manage Users and created the user using the same info as I tried during setup. This worked. My Jenkins install on Ubuntu is now working fine.

          Bruce Peltzer added a comment - I had the same problem when installing Jenkins 2.89.3 from the repo to either Centos 7 or Ubuntu 17.10, except I do not have any exceptions in jenkins.log. I stopped the service and restarted. Jenkins then skipped the setup procedures and asked me to login. I attempted to login using the credentials I created, but that didn't work. I logged in using admin with the secret password and that worked. When I then looked under People, only the admin user was there. I then went to Manage Jenkins, Manage Users and created the user using the same info as I tried during setup. This worked. My Jenkins install on Ubuntu is now working fine.

          Oleg Nenashev added a comment -

          CC kzantow who was the original author of the wizard

          Oleg Nenashev added a comment - CC kzantow who was the original author of the wizard

          Keith Zantow added a comment -

          It sounds like possibly some incompatible change was introduced. bpeltzer georgepantazes ethanstrominger mnasyrov - if you're able to reproduce this problem, are there errors in the browser console? Any other information might help: proxy settings, which plugins you installed, was there a long wait between interacting with the UI and entering the admin information - e.g. did plugin downloads take long and maybe the session timed out, etc.

          Keith Zantow added a comment - It sounds like possibly some incompatible change was introduced. bpeltzer georgepantazes ethanstrominger mnasyrov - if you're able to reproduce this problem, are there errors in the browser console? Any other information might help: proxy settings, which plugins you installed, was there a long wait between interacting with the UI and entering the admin information - e.g. did plugin downloads take long and maybe the session timed out, etc.

          Oleg Nenashev added a comment -

          Also sounds similar to JENKINS-47306 kzantow, maybe you could take repro steps from there

          Oleg Nenashev added a comment - Also sounds similar to JENKINS-47306 kzantow , maybe you could take repro steps from there

          Bruce Peltzer added a comment -

          I chose a very basic install, going only with the recommended plugins. I wasn't using any proxy. Everything seemed to progress pretty quickly, until I tried to create the first user. Then it just hung. There wasn't anything particularly odd about the install up to that point. Incidentally, after using the admin account and creating a new account manually from within Jenkins, everything has been working fine.

          Bruce Peltzer added a comment - I chose a very basic install, going only with the recommended plugins. I wasn't using any proxy. Everything seemed to progress pretty quickly, until I tried to create the first user. Then it just hung. There wasn't anything particularly odd about the install up to that point. Incidentally, after using the admin account and creating a new account manually from within Jenkins, everything has been working fine.

            Unassigned Unassigned
            ethanstrominger Ethan Strominger
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: