Reputation: 326
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.
Upvotes: 1
Views: 4645
Reputation: 3690
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.
Upvotes: 1