We have a Jenkins server installed on the windows server, but planning to move Jenkins to ubuntu server. How can I migrate users to old Jenkins server to new server? Tried with copying config.xml, secrets, users folder to the new server, but not able to log in.
Asked
Active
Viewed 3,801 times
1
-
How do you Configure Global Security? – pcjr Apr 12 '18 at 15:37
1 Answers
1
You should copy also the plugins or at least the plugin that you use for authentication purposes (matrix based, LDAP). I have migrated data between Jenkins servers using thinBackup plugin. You should be able to login using the initial Jenkins password.
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
I have written a guide on the Jenkins setup in Ubuntu, it could help you.

K. B.
- 3,342
- 3
- 19
- 32