Jenkins is not starting up after upgrade to Version: 2.387.3

228 views
Skip to first unread message

Ravindra Verma

unread,
May 4, 2023, 7:11:53 AM5/4/23
to Jenkins Users
Hi  Folks , 

I upgrade Jenkins to Version: 2.387.3 on ubuntu using package Manager .

now its crashed and not stating up , from the logs i found below errors : 

 - Failed to load: Pipeline: Shared Groovy Libraries (workflow-cps-global-lib 2.17)

- Failed to load: Jenkins Git client plugin (git-client 3.5.1)

- java.io.IOException: Failed to load: NodeJS Plugin (nodejs 1.3.9)


Please suggest how to fix this .

Mark Waite

unread,
May 4, 2023, 7:52:49 AM5/4/23
to Jenkins Users
Check earlier in the log file and you'll probably find a reason why those plugins did not load.  Some other plugin may have failed to load or a dependency was not satisfied or some other issue was stated in the log file.

Based on the version numbers of those plugins, you may have missed the instructions in previous upgrade guides that state that you need to upgrade plugins to their most recent releases and you need to remove deprecated plugins.

The workflow cps global lib plugin 2.17 is deprecated and should be uninstalled.  Replace it with https://plugins.jenkins.io/pipeline-groovy-lib/

The git client plugin 3.5.1 was released 2.5 years ago.  Upgrade it to git client plugin 4.2.0

NodeJS plugin 1.3.9 was released 2.5 years ago.  Upgrade it to nodejs plugin 1.6.0

Based on those three versions, there are probably other plugin versions that need to be upgraded.

Ravindra Verma

unread,
May 4, 2023, 8:29:18 AM5/4/23
to jenkins...@googlegroups.com
I can't access the UI anymore , is there any way I can do it without the UI ?

Regards
Ravindra 

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a50b69a5-33ff-4017-9682-5a8246685f62n%40googlegroups.com.

Mark Waite

unread,
May 4, 2023, 8:41:17 AM5/4/23
to Jenkins Users
On Thursday, May 4, 2023 at 6:29:18 AM UTC-6 Ravindra wrote:
I can't access the UI anymore , is there any way I can do it without the UI ?


I think that you may have misunderstood what I wrote.  The most important part of what I wrote is the first paragraph that says:


> Check earlier in the log file and you'll probably find a reason why those plugins did not load.  Some other plugin may have failed to load or a dependency was not satisfied or some other issue was stated in the log file.


Performing the other actions is secondary to understanding what caused the plugins to fail to load.  Read the log file.  If the log file contents are not clear to you, then upload the log file to some public location where you can share the link with others so that they can read the log file if you don't understand the details of what it is saying.  GitHub gist or some other snippet hosting service would be a good place to put the log file for review by others.  If the log file contains sensitive information, you'll want to remove that sensitive information before you upload it.

Alternatively, you can use the Ubuntu package manager to install the older version.  However, that won't provide you the critical information that you need.  The critical information that you need is, "Why did the plugins fail to load?"  That information is in the log file.

Mark Waite

Biswajit Patnaik

unread,
May 4, 2023, 8:42:47 AM5/4/23
to jenkins...@googlegroups.com
You can upgrade it in ur cli .Go to the directory cd /var/lib/jenkins/ where jenkins is installed.Use the below command.
java -jar jenkins-cli.jar -s http://localhost:8080/ install-plugin PLUGIN_NAME

To upgrade all plugins at once 
java -jar jenkins-cli.jar -s http://localhost:8080/ install-plugin --all

Replace  http://localhost:8080 with your jenkins local instance.

Restart the jenkins
java -jar jenkins-cli.jar -s http://localhost:8080/ safe-restart

Source-jenkins doc.

--
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-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages