Jenkins Won't Start - Unable to read /var/lib/jenkins/config.xml
One afternoon, the error that showed up when I restarted Jenkins
1 | hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml |
An error saying cannot read /var/lib/jenkins/config.xml.
The owner of /var/lib/jenkins/config.xml is jenkins:jenkins, so why?
After testing and fixing various permission-related things, changing the owner of the entire plugins directory fixed it. Phew.
1 | $ sudo chown -R jenkins:jenkins /var/lib/jenkins/plugins |
I never figured out what plugin behavior could have changed the owner.
I found an article about the same issue, so I’m linking it
#764711 - jenkins: Fails on "Unable to read /var/lib/jenkins/config.xml" - Debian Bug report logs

