Login error at Jenkins

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Login error at Jenkins



For the continuous integration I am using Jenkins. I have installed a fresh Jenkins following Installing Jenkins on Ubuntu.



As:


wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -

sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'

sudo apt-get update

sudo apt-get install jenkins



Restart the Jenkins server as $ sudo service jenkins restart.


$ sudo service jenkins restart



And browse at localhost:8080.


localhost:8080



I have signed up for administrator, and when I am going to log in the first time there is a error like this:



admin is missing the Overall/Read permission.


admin is missing the Overall/Read permission.



How do I fix it?





Possible duplicate of Jenkins Github Authentication error: user is missing the Overall/Read permission
– Xavjer
Jan 18 '16 at 11:37





stackoverflow.com/questions/22717773/… . this not what that gives the answer for my problem
– Girish Kumar
Jan 18 '16 at 12:08






i have a fresh installation of jenkins, and for the first time login it does cause the error.
– Girish Kumar
Jan 18 '16 at 12:11





May be you installed jenkins on a server with garbadge from previous Jenkins installations, try: -Stop Jenkins, find config.xml file in $JENKINS_HOME, Look for the <useSecurity>true</useSecurity> element in this file, Replace true with false, Start Jenkins
– Vano
Jan 18 '16 at 15:26





1 Answer
1



In the $JENKINS_HOME directory, /Users/Shared/Jenkins/Home/ in my case, there is the users/directory which stores some user info, and it had an admin directory. So far so good. The user seemed to be alive.



I went to $JENKINS_HOME/config.xml and it had permission tags like this:
1 2 3



<permission>hudson.model.Computer.Build:Admin</permission><permission>hudson.model.Computer.Configure:Admin</permission> <permission>hudson.model.Computer.Connect:Admin</permission>


<permission>hudson.model.Computer.Build:Admin</permission><permission>hudson.model.Computer.Configure:Admin</permission> <permission>hudson.model.Computer.Connect:Admin</permission>



Do you see any inconsistency?



Yes, the Admin user here starts with a capital letter for some reason. Could that be a problem? I changed all Admin to admin in the file and restarted Jenkins.





To be clear, did you have a problem, changed to lowercase, and the problem went away?
– Peter Mortensen
Aug 12 at 8:43






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard