Bug#764711: jenkins: Fails on Unable to read /var/lib/jenkins/config.xml

2014-10-10 Thread Olivier Berger
Source: jenkins
Version: 1.565.3-1
Severity: important

Dear Maintainer,

After a recent upgrade, I can no longer access Jenkins, which displays :
Error

hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
java.io.IOException: Unable to read /var/lib/jenkins/config.xml
at hudson.WebAppMain$3.run(WebAppMain.java:234)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: 
Unable to read /var/lib/jenkins/config.xml
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:912)
at jenkins.model.Jenkins.init(Jenkins.java:811)
at hudson.model.Hudson.init(Hudson.java:82)
at hudson.model.Hudson.init(Hudson.java:78)
at hudson.WebAppMain$3.run(WebAppMain.java:222)
Caused by: java.io.IOException: Unable to read /var/lib/jenkins/config.xml
at hudson.XmlFile.unmarshal(XmlFile.java:165)
at jenkins.model.Jenkins$17.run(Jenkins.java:2561)
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:901)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.thoughtworks.xstream.converters.ConversionException: 
hudson.security.GlobalMatrixAuthorizationStrategy : 
hudson.security.GlobalMatrixAuthorizationStrategy
 Debugging information 
message : hudson.security.GlobalMatrixAuthorizationStrategy
cause-exception : 
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message   : hudson.security.GlobalMatrixAuthorizationStrategy
class   : hudson.model.Hudson
required-type   : hudson.model.Hudson
converter-type  : hudson.util.RobustReflectionConverter
path: /hudson/authorizationStrategy
line number : 10
version : not available
---
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
at 
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at 
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at 
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
at hudson.util.XStream2.unmarshal(XStream2.java:112)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
at hudson.XmlFile.unmarshal(XmlFile.java:163)
... 9 more

Thanks in advance.

Best regards,

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), 
(500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#764711: jenkins: Fails on Unable to read /var/lib/jenkins/config.xml

2014-10-10 Thread Olivier Berger
Hi.

(Responding to myself)

Olivier Berger olivier.ber...@telecom-sudparis.eu writes:

 After a recent upgrade, I can no longer access Jenkins, which displays :
 Error

 hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
 java.io.IOException: Unable to read /var/lib/jenkins/config.xml
   at hudson.WebAppMain$3.run(WebAppMain.java:234)
 Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: 
 Unable to read /var/lib/jenkins/config.xml

FWIW, it seems 2 plugins (so far) have been missing for Jenkins to
operate on my installation :
 - matrix-auth : this one seems to solve the config file parsing issue
 - matrix-project : solves a later issue my users have noticed (like
   
https://issues.jenkins-ci.org/browse/JENKINS-25001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel)

I manually fetched latest versions of these from
http://updates.jenkins-ci.org/download/plugins/ and placed them in
/var/lib/jenkins/plugins (chowned as jenkins:jenkins) and restarted.

So far so good.

My guess is that the build of latest upload misses quite a few
plugins...

Thanks in advance.

Best regards,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.