To upgrade Jenkins from version 1.466.2
to version 1.557
, I replaced the old jenkins war
file with jenkins war
file in the directory /usr/share/jenkins
. Then on restarting the jenkins from command line I started getting the new Jenkins version 1.557
. But sometime later I messed with security part of it, I checked the security check box while configuring Jenkins. Now I am not able to use Jenkins, if I go to myproject.com:3300
it gives me error: hudson.security.AccessDeniedException2: anonymous is missing the Overall/Administer permission
.
To fix this error I found that I need to change <usesecurity>
from true to false. But when I go to the var/lib/jenkins
(which home directory of Jenkins) to edit config.xml. I am still seeing the old version version 1.466.2
but in GUI at myproject.com:3300
it shows new version.
I am stuck here, please let me know what am I missing, how can I get it running.