# Change Jenkins Home on Linux

**URL:** <https://community.jenkins.io/t/change-jenkins-home-on-linux/4485>\
**Category:** Ask a question\
**Created:** [November 8, 2022, 5:56pm UTC](https://community.jenkins.io/t/change-jenkins-home-on-linux/4485 "2022-11-08T17:56:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcosta](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jcosta](https://community.jenkins.io/u/jcosta)\
**Post date:** [November 8, 2022, 5:56pm UTC](https://community.jenkins.io/t/change-jenkins-home-on-linux/4485/1 "2022-11-08T17:56:08Z")

</div>

I’m running Jenkins on Linux Redhat. I’ve followed this post and others to update the JENKINS\_HOME to my /data drive.  
[How to Change Jenkins Home Directory {Linux or Windows}](https://phoenixnap.com/kb/change-jenkins-home-directory#:~:text=To%20change%20the%20Jenkins%20Home,edit%20the%20Jenkins%20configuration%20file).

However, the JENKINS\_HOME never updates from /var/lib/jenkins

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/3/37843ae37afa7f370f51ccace4427ebf8ca6019c.png)

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [November 8, 2022, 6:03pm UTC](https://community.jenkins.io/t/change-jenkins-home-on-linux/4485/2 "2022-11-08T18:03:15Z")

</div>

Hi there,

Jenkins 2.332.1 switched Jenkins from using System V init to use systemd with its Linux package installers for Debian, Ubuntu, Red Hat, Alma, openSUSE, Rocky, and more. The [LTS Upgrade Guide](https://www.jenkins.io/doc/upgrade-guide/2.332/#upgrading-to-jenkins-lts-2-332-1) describes that transition and how to adapt your environment to the transition.

> **[Upgrading to Jenkins LTS 2.332.x](https://www.jenkins.io/doc/upgrade-guide/2.332/#upgrading-to-jenkins-lts-2-332-1)**
>
> Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software

There is a [blog post](https://www.jenkins.io/blog/2022/03/25/systemd-migration/) about it as well at

> **[Linux installation packages migrated from System V init to systemd](https://www.jenkins.io/blog/2022/03/25/systemd-migration/)**
>
> Starting with Jenkins 2.335, the Jenkins project is migrating from System V init to systemd.

There is also a [video introduction](https://www.youtube.com/watch?v=MkokjTQ2ngc) for RPM based distributions like Red Hat Enterprise Linux, Alma Linux, Rocky Linux, Oracle Linux, and Amazon Linux.

[![](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/5/5d731f86134683079a41351908d8832c01e0a6f4.jpeg "🔴 Managing the Jenkins systemd Service on CentOS 7.9") ](https://www.youtube.com/watch?v=MkokjTQ2ngc)

There is also a [video introduction](https://www.youtube.com/watch?v=pwR9TPW2oG4) for deb based distributions like Debian and Ubuntu

[![](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/0/04a2972bcb9f7e4756fdc406b9992a75a8f47ed2.jpeg "🔴 Managing the Jenkins systemd Service on Ubuntu 20.04") ](https://www.youtube.com/watch?v=pwR9TPW2oG4)

---

<div class="post-metadata">

**Author:** ![jcosta](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jcosta](https://community.jenkins.io/u/jcosta)\
**Post date:** [November 8, 2022, 8:37pm UTC](https://community.jenkins.io/t/change-jenkins-home-on-linux/4485/3 "2022-11-08T20:37:28Z")

</div>

Thanks, makes a lot more sense now. However, after doing the upgrade the correct way. I can’t start the server anymore. Please HELP!

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/b/bec93f4480c4056a03c7a20bb5a38b189260b0c3.jpeg)

---

<div class="post-metadata">

**Author:** ![jcosta](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jcosta](https://community.jenkins.io/u/jcosta)\
**Post date:** [November 9, 2022, 12:12am UTC](https://community.jenkins.io/t/change-jenkins-home-on-linux/4485/4 "2022-11-09T00:12:24Z")

</div>

Issue resolved. I need to update java to version 11.

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [November 9, 2022, 1:15pm UTC](https://community.jenkins.io/t/change-jenkins-home-on-linux/4485/5 "2022-11-09T13:15:46Z")

</div>

Thanks a lot for your feedback @jcosta. 🙏
