Created attachment 1359038 [details] jenkins.log Description of problem: Upon an upgrade from Fedora 25 to 27 (using dnf-plugin-system-upgrade), Jenkins no longer returns anything on its web interface. Version-Release number of selected component (if applicable): jenkins-1.651.3-6.fc27.noarch Additional info: Lines of the log that grab my attention INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet and Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V
Same result on a fresh Minimal install, installed from https://download.fedoraproject.org/pub/fedora/linux/releases/27/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-27-1.6.iso bd325470b72f93aab608f48612aa06b4decc10ede42d9d803de5d97091a3294a *Fedora-Everything-netinst-x86_64-27-1.6.iso
I can confirm this issue javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core -1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V Looks like caused by dom4j incompatibility.
Also confirming same issue since upgrading from F26 to F27. This affects the UI only. Jenkins daemon is operating normally so existing jobs are processing. You just cannot edit them which is a serious problem.
Have the same issue on latest Fedora 27 # rpm -q jenkins jenkins-1.651.3-6.fc27.noarch
I can also confirm that the issue exists in Fedora-Cloud-Base-Vagrant-27-1.6.x86_64.vagrant-libvirt.box. It's a F27 release. When I downgraded to the F26 image, I was able to see Jenkins web interface again.
This is possibly caused by: https://bugzilla.redhat.com/show_bug.cgi?id=1529892
Created attachment 1411282 [details] Jenkins.log
i can confirm this am not able to run jenkins on fedora 27, is there any other way to run jenkins.
Yes(In reply to pawan kumar v from comment #8) > i can confirm this am not able to run jenkins on fedora 27, is there any > other way to run jenkins. Yes, install jenkins directly from https://pkg.jenkins.io/. Use one of the redhat packages. It works just fine. I suggest even switching to 2.X series.
I kept a snapshot of the VM I ran it on and upgraded to Fedora 26 instead of 27 (26 is still supported).
#This downloads the latest stable jenkins direct from website and installs it. #I use sudo ....use whatever elevation you need. sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key sudo dnf -y install java #java is a dependency...you may or may not need this. sudo dnf -y install jenkins #Be sure to start and enable the jenkins service #And I agree the packaging should be fixed....This is just a workaround
This workaround does not work for me. I have same error as before. When i added the repo I got no updates from the rpm -q jenkins jenkins-1.651.3-6.fc27.noarch rpm -qa | grep java java-1.8.0-openjdk-1.8.0.181.b15-0.fc27.x86_64 javapackages-tools-5.0.0-8.fc27.noarch java-1.8.0-openjdk-devel-1.8.0.181.b15-0.fc27.x86_64 owasp-java-html-sanitizer-20160422.1-1.fc25.noarch abrt-java-connector-1.1.0-14.fc27.x86_64 javamail-1.5.2-5.fc27.noarch tzdata-java-2018e-1.fc27.noarch java-1.8.0-openjdk-headless-1.8.0.181.b15-0.fc27.x86_64 jenkins-javadoc-plugin-1.3-4.fc24.noarch
I'm also affected by this, on Fedora 29 with the package built from jenkins-1.651.3-8.fc29.src.rpm
This affected me on fc27, fc28, and fc29. I ended up re-building my Jenkins server over to CentOS 7 since it's a permanent system I'm going to have around. I'm using the jenkins-ci.org repo now and it works.
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Still applies in Fedora 29.
(In reply to Kyle Marek from comment #16) > Still applies in Fedora 29. Indeed. I just attempted to run Jenkins on a fresh F29 install and got the same: [j~]$ wget minibox:8080 --2019-02-07 10:09:23-- http://minibox:8080/ Resolving minibox (minibox)... 192.168.1.243, fe80::bdf6:8a4c:b40c:e5fc Connecting to minibox (minibox)|192.168.1.243|:8080... connected. HTTP request sent, awaiting response... 500 Server Error 2019-02-07 10:09:23 ERROR 500: Server Error. [j~]$ So, I did "dnf remove jenkins", then the following: 99 sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo 100 sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key 101 sudo dnf -y install java #java is a dependency...you may or may not need this. 102 sudo dnf -y install jenkins 103 sudo systemctl enable jenkins 104 sudo systemctl start jenkins 105 sudo cat /var/lib/jenkins/secrets/initialAdminPassword Hope this helps.
this applies to Fedora 30 aswell. INFO: Jenkins is fully up and running May 03, 2019 5:56:14 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:28) at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) 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) Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) ... 34 more Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V at org.kohsuke.stapler.jelly.HTMLWriterOutput.useHTML(HTMLWriterOutput.java:78) at org.kohsuke.stapler.jelly.ContentTypeTag.doTag(ContentTypeTag.java:52) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 43 more
I tried it on Fedora 30 and got the same error.
Still a problem with Fedora 32...
Still a problem with Fedora 32... I have to frankeinrepo my installation and `yum downgrade dom4j-0:1.6.1-28.fc26.noarch` in order to get jenkins to work. This has been broken for a while now.
org.apache.commons.jelly.JellyTagException: jar:file:/usr/share/jenkins/webroot/WEB-INF/lib/jenkins-core-1.651.3.jar!/lib/layout/layout.jelly:59:51: <st:contentType> org.dom4j.io.HTMLWriter.setEnabled(Z)V at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:28) at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:77) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) 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) Caused by: java.lang.NoSuchMethodError: org.dom4j.io.HTMLWriter.setEnabled(Z)V at org.kohsuke.stapler.jelly.HTMLWriterOutput.useHTML(HTMLWriterOutput.java:78) at org.kohsuke.stapler.jelly.ContentTypeTag.doTag(ContentTypeTag.java:52) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 43 more
[root@wolfe jenkins]# cat /etc/redhat-release Fedora release 33 (Rawhide)
This message is a reminder that Fedora 30 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '30'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 30 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.