# Jenkins Newbie- how to upgrade

**URL:** <https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168>\
**Category:** Ask a question\
**Created:** [February 1, 2024, 4:36pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168 "2024-02-01T16:36:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechQA](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@TechQA](https://community.jenkins.io/u/TechQA)\
**Post date:** [February 1, 2024, 4:36pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/1 "2024-02-01T16:36:00Z")

</div>

Hi Jenkins Fam!

I was promoted to Jenkins admin when the previous admin left. I’ve been reading documentation and watching videos and am more confused now.

What’s the best methodology for me to upgrade my current Jenkins/Windows version: 2.164.1 (2017) to the newest version 2.426.3 (2024-01)?  
Should I “upgrade Automatically” or manually?  
Can I do this in one step or do I need to upgrade one version at a time?

Thank you in advance for your guidance and resources!

-JNewbie

---

<div class="post-metadata">

**Author:** ![slide\_o\_mix](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/slide_o_mix/32/20977_2.png) [@slide\_o\_mix](https://community.jenkins.io/u/slide_o_mix)\
**Post date:** [February 1, 2024, 5:05pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/2 "2024-02-01T17:05:42Z")

</div>

The best way would be to copy the contents of the JENKINS\_HOME directory to another server and try the upgrade on there first. Then you can gain some confidence since you are upgrading from a version that is 7 years old. There have been MANY changes in that time, so you want to make sure you don’t kill your currently working instance. If it does work, you can upgrade automatically on the original server and be off and running.

---

<div class="post-metadata">

**Author:** ![TechQA](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@TechQA](https://community.jenkins.io/u/TechQA)\
**Post date:** [February 1, 2024, 5:11pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/3 "2024-02-01T17:11:52Z")

</div>

@slide_o_mix - Thank you. I searched my c-drive and d-drive and didn’t find a jenkins\_home directory to copy.

If I build a new Jenkins server, is there a tool or process I can use to copy my plugins and projects to the new server? Is this a faster/simpler process?

---

<div class="post-metadata">

**Author:** ![TechQA](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@TechQA](https://community.jenkins.io/u/TechQA)\
**Post date:** [February 1, 2024, 6:06pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/4 "2024-02-01T18:06:03Z")

</div>

How can I upgrade my Java to v.11 if my Windows Java service won’t start?

The upgrade was successful, but I didn’t realize that my Java8 needed to be upgraded to Java11 before the Jenkins upgrade.

I’m searching the community, Google and youtube and haven’t discovered the solution yet.

Thank you.

---

<div class="post-metadata">

**Author:** ![slide\_o\_mix](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/slide_o_mix/32/20977_2.png) [@slide\_o\_mix](https://community.jenkins.io/u/slide_o_mix)\
**Post date:** [February 1, 2024, 7:43pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/5 "2024-02-01T19:43:48Z")

</div>

JENKINS\_HOME is just a placeholder, you need to determine where that directory is. I you look in C:\Program Files\Jenkins, there should be a jenkins.exe.xml or similar file, you can look there to see where JENKINS\_HOME is. That file also specifies which java runtime to use, so you will need to update that file anyway so that the Java 11 is used to run the service.

---

<div class="post-metadata">

**Author:** ![TechQA](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@TechQA](https://community.jenkins.io/u/TechQA)\
**Post date:** [February 1, 2024, 8:22pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/6 "2024-02-01T20:22:33Z")

</div>

Thank you. I’m starting over with a restored server, these primary steps and a bottle of Tylenol - lol.

1. Backup the “Jenkins\_Home” directory
2. Upgrade jenkins-java/JVM to v.11
3. Upgrade Jenkins to v.2.426.3 (current release)
4. Validate Jenkins works, post-upgrade
5. Update plugins as needed

---

<div class="post-metadata">

**Author:** ![mwp565733](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mwp565733](https://community.jenkins.io/u/mwp565733)\
**Post date:** [February 2, 2024, 1:23pm UTC](https://community.jenkins.io/t/jenkins-newbie-how-to-upgrade/12168/7 "2024-02-02T13:23:02Z")

</div>

I threw together a blog post a few months ago, recapping my adventure upgrading a linux distro flavor of Jenkins. Certainly there are parallels in your own adventure.

Have a review ([Back of the Napkin Guide to Updating Jenkins, for the uninitiated](https://www.jenkins.io/blog/2023/10/31/marc-s-napkin-upgrade-guide/)) make backups, make mistakes, take notes, and rollback. I did that a few times before I hit my stride. Feedback always appreciated.

GLHF
