I updated jenkins from 2.375.4 to 2.387.2 on CentOS7 using the GUI interface. Then jenkins start an I can access it via the browser. However, when i get the status of the service via sudo systemctl status jenkins i obtain :
If you installed using the package manager, you should only update using the package manager, you should not upgrade Jenkins via the web UI. Is there a reason you didn’t use the package manager to upgrade? You will want to go and do that instead of using the UI.
The advice from @slide_o_mix is exactly the advice you need to follow.
You’ll also want to transition from CentOS 7 as soon as you can. CentOS 7 support ends June 30, 2024 and the platform SIG is discussing and preparing a plan to end Jenkins support of CentOS 7 even before the official end of life of CentOS 7.
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 describes that transition and how to adapt your environment to the transition. You must use the Linux installer to perform the upgrade.
“we want to do it not the way you provided, but want you to help us anyways”
If you use yum, you need to continue using yum, and upgrade the package which upgrades the scripts
if you don’t want to use yum, uninstall the rpm, install the war manually, and write your own startup scripts.
Using a hybrid method does not work, has proven not to work, and won’t be helped with.
if you want to do something more custom, i recommend paying a vendor, or hiring someone to contribute to the project.