1

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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
akhil krishna
  • 316
  • 1
  • 4
  • 14

1 Answers1

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