Discussion:
Jenkins Migration
Cornelius Ele
2018-11-21 19:40:18 UTC
Permalink
Hello all,

I am trying to migrate a Jenkins instance from a windows machine
installation to a new .war file installation.
I copy pasted all the files from C:\Program Files (x86)\Jenkins to the new
systems C:\Users\corn\.jenkins directory.
The SSH remote hosts section in localhost:8080/configure all fails its
connection checks, how do I fix this?

Also, I supposedly need to change ownership for new Jenkins file: chown -R
jenkins:jenkins $JENKINS_HOME
(https://stackoverflow.com/questions/8724939/how-to-move-jenkins-from-one-pc-to-another?rq=1)
But where and how do I make the ownership changes?

Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ec72ed90-7696-4556-85b0-10a50c7d7d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pranav Kv
2018-11-21 19:59:14 UTC
Permalink
Hi,
Migrating one server to another is not only just copying entire home
directory to the new one.. There will be lots configuration sections
(hardcoded) on ur exiting instance, so u must configure this things
according to ur new instance(config.xml file) and jobconfig before running
ur new instance. Recently I had migrated around 1000 jobs from one server
to another. (redhat machine, that doesn't have Internet)

Regards
Pranav KV
Post by Cornelius Ele
Hello all,
I am trying to migrate a Jenkins instance from a windows machine
installation to a new .war file installation.
I copy pasted all the files from C:\Program Files (x86)\Jenkins to the new
systems C:\Users\corn\.jenkins directory.
The SSH remote hosts section in localhost:8080/configure all fails its
connection checks, how do I fix this?
Also, I supposedly need to change ownership for new Jenkins file: chown
-R jenkins:jenkins $JENKINS_HOME (
https://stackoverflow.com/questions/8724939/how-to-move-jenkins-from-one-pc-to-another?rq=1
)
But where and how do I make the ownership changes?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ec72ed90-7696-4556-85b0-10a50c7d7d5f%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/ec72ed90-7696-4556-85b0-10a50c7d7d5f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAHwQEkJv%3DaERs%2BJmvYYW-eF52RL4A8TmqH6vb_53UiyenU6C8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Cornelius Ele
2018-11-21 21:18:49 UTC
Permalink
Thank you for the reply. Indeed there are lots of local references on the
old Jenkins server.
For instance, the GRADLE_HOME is referencing a folder inside downloads
folder.
Is there a strategy to change all this simultaneously (through the Web GUI)
or otherwise?
It seems like at this current moment, I'll have to go through 50 .xml files
on my JENKINS_HOME directory and make sure none of them are referencing
locally.


Thanks in advance.
Post by Pranav Kv
Hi,
Migrating one server to another is not only just copying entire home
directory to the new one.. There will be lots configuration sections
(hardcoded) on ur exiting instance, so u must configure this things
according to ur new instance(config.xml file) and jobconfig before running
ur new instance. Recently I had migrated around 1000 jobs from one server
to another. (redhat machine, that doesn't have Internet)
Regards
Pranav KV
Post by Cornelius Ele
Hello all,
I am trying to migrate a Jenkins instance from a windows machine
installation to a new .war file installation.
I copy pasted all the files from C:\Program Files (x86)\Jenkins to the
new systems C:\Users\corn\.jenkins directory.
The SSH remote hosts section in localhost:8080/configure all fails its
connection checks, how do I fix this?
Also, I supposedly need to change ownership for new Jenkins file: chown
-R jenkins:jenkins $JENKINS_HOME (
https://stackoverflow.com/questions/8724939/how-to-move-jenkins-from-one-pc-to-another?rq=1
)
But where and how do I make the ownership changes?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ec72ed90-7696-4556-85b0-10a50c7d7d5f%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/ec72ed90-7696-4556-85b0-10a50c7d7d5f%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f213cfe6-5990-48e1-b64f-dfffe26ed966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...