# Version upgrade - Jenkins service getting failed but the application is running fine

**URL:** <https://community.jenkins.io/t/version-upgrade-jenkins-service-getting-failed-but-the-application-is-running-fine/3766>\
**Category:** Ask a question\
**Created:** [September 13, 2022, 3:46pm UTC](https://community.jenkins.io/t/version-upgrade-jenkins-service-getting-failed-but-the-application-is-running-fine/3766 "2022-09-13T15:46:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnu](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vishnu](https://community.jenkins.io/u/vishnu)\
**Post date:** [September 13, 2022, 3:46pm UTC](https://community.jenkins.io/t/version-upgrade-jenkins-service-getting-failed-but-the-application-is-running-fine/3766/1 "2022-09-13T15:46:30Z")

</div>

We have upgraded our jenkins instance from 2.277.4 to 2.319.3 using jenkins.war. After upgrade, the jenkins service is getting failed [systemctl] but the application is up and running fine. Can anyone help to fix this issue.

---

<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:** [September 13, 2022, 6:05pm UTC](https://community.jenkins.io/t/version-upgrade-jenkins-service-getting-failed-but-the-application-is-running-fine/3766/2 "2022-09-13T18:05:39Z")

</div>

tl;dr don’t upgrade war if you are using system packages, update system packages

* * *

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:** ![vishnu](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vishnu](https://community.jenkins.io/u/vishnu)\
**Post date:** [September 14, 2022, 5:40am UTC](https://community.jenkins.io/t/version-upgrade-jenkins-service-getting-failed-but-the-application-is-running-fine/3766/3 "2022-09-14T05:40:14Z")

</div>

Hi Gavin,

Thanks for your response. Can you please provide the alternate way to upgrade jenkins to 2.319.3 instead of war file upgrade. The current version has been installed using war file.

As you said, 2.332.1 switched Jenkins from using System V init to use systemd. But we are upgrading to 2.319.3 only, so we would like to understand why the service is going to failed state.
