The only fix (as far as I know) is to edit the XML files and change the '1.1' to '1.0'. You could do that by restoring your XML files from backup or by editing them.
Downgrade of a Jenkins version without downgrading the configuration files to match the Jenkins version is difficult. On Fri, Jan 25, 2019 at 6:50 AM Aparna venugopal <[email protected]> wrote: > Can you please share how you fixed your issue? I got the same issue wwhen > I downgraded to 2.79 > > On Saturday, March 3, 2018 at 6:20:46 PM UTC+5:30, Poovaraj > Thangamariappan wrote: >> >> >> It is working fine after installing Jenkins 2.48 version >> >> On Sat, Mar 3, 2018 at 4:00 PM, Baptiste Mathus <[email protected]> wrote: >> >>> The recommended path is to use and restore your backup. Downgrading is >>> not (yet) a supported use case. >>> >>> XML version was upgraded from 1.0 to 1.1 in 2.105 >>> https://jenkins.io/changelog/#v2.105 >>> >>> Looking at how often you upgrade, you really should use the LTS vesion >>> of Jenkins, not the weekly. Cf. https://jenkins.io/download/lts/ >>> >>> 2018-03-03 7:35 GMT+01:00 Poovaraj Thangamariappan <[email protected]> >>> : >>> >>>> Hi Team, >>>> >>>> I have downgraded Jenkins latest version to old version(2.48). I got >>>> below error message after launch the Jenkins. Please help me to fix this >>>> issues. >>>> >>>> org.xmlpull.v1.XmlPullParserException: only 1.0 is supported as <?xml >>>> version not '1.1' (position: START_DOCUMENT seen <?xml version=\'1.1\'... >>>> @1:19) >>>> at org.xmlpull.mxp1.MXParser.parseXmlDeclWithVersion(MXParser.java:2608) >>>> at org.xmlpull.mxp1.MXParser.parseXmlDecl(MXParser.java:2592) >>>> at org.xmlpull.mxp1.MXParser.parsePI(MXParser.java:2466) >>>> at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1447) >>>> at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) >>>> at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) >>>> at >>>> com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:109) >>>> Caused: com.thoughtworks.xstream.io.StreamException: : only 1.0 is >>>> supported as <?xml version not '1.1' (position: START_DOCUMENT seen <?xml >>>> version=\'1.1\'... @1:19) >>>> at >>>> com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:124) >>>> at >>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148) >>>> at >>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141) >>>> at >>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118) >>>> at >>>> com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103) >>>> at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:63) >>>> at >>>> com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:54) >>>> at >>>> com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:65) >>>> at hudson.XmlFile.unmarshal(XmlFile.java:159) >>>> Caused: java.io.IOException: Unable to read >>>> C:\Users\poo\.jenkins\config.xml >>>> at hudson.XmlFile.unmarshal(XmlFile.java:161) >>>> at jenkins.model.Jenkins.loadConfig(Jenkins.java:3022) >>>> at jenkins.model.Jenkins.access$1200(Jenkins.java:304) >>>> at jenkins.model.Jenkins$16.run(Jenkins.java:3040) >>>> at >>>> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) >>>> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) >>>> at jenkins.model.Jenkins$7.runTask(Jenkins.java:1064) >>>> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) >>>> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) >>>> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown >>>> Source) >>>> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown >>>> Source) >>>> at java.base/java.lang.Thread.run(Unknown Source) >>>> Caused: org.jvnet.hudson.reactor.ReactorException >>>> at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) >>>> at jenkins.InitReactorRunner.run(InitReactorRunner.java:47) >>>> at jenkins.model.Jenkins.executeReactor(Jenkins.java:1088) >>>> at jenkins.model.Jenkins.<init>(Jenkins.java:904) >>>> at hudson.model.Hudson.<init>(Hudson.java:85) >>>> at hudson.model.Hudson.<init>(Hudson.java:81) >>>> at hudson.WebAppMain$3.run(WebAppMain.java:231) >>>> Caused: hudson.util.HudsonFailedToLoad >>>> at hudson.WebAppMain$3.run(WebAppMain.java:248) >>>> >>>> >>>> Regards, >>>> Poovaraj >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Jenkins Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/cf6d78d2-6495-4801-8efa-915c3e532153%40googlegroups.com >>>> <https://groups.google.com/d/msgid/jenkinsci-users/cf6d78d2-6495-4801-8efa-915c3e532153%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6bjbspVHppJQn7YCcJbsPhr1iMWEZxxqCVmaKG3z1Vug%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6bjbspVHppJQn7YCcJbsPhr1iMWEZxxqCVmaKG3z1Vug%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/7738900f-9f4e-46c1-8e72-f3f68cdca402%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/7738900f-9f4e-46c1-8e72-f3f68cdca402%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHDvEqrCtcRh7aX3Gf9X20UogWA7wdJvmEprRb5i98q1w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
