Jenkins won't start up: "Update required: SSH server" - jenkins

I have Jenkins installed on a Debian 9 from apt repo. After update (from Repo) to version 2.168, Jenkins won't start up any more. The log contains multiple errors related to many plugins - but it's exactly the same error for all of them:
- Failed to load: REST API for Blue Ocean (blueocean-rest 1.25.2)
- Update required: SSH server (sshd 3.1.0) to be updated to 3.236.ved5e1b_cb_50b_2 or higher
I have SSH server installed on the system, but it's version 1:7.4p1-10+deb9u7 - nothing like 3.1.0.
What can I do to get Jenkins to start up again?

You can try installing the Plugin manually. For this, you have to download the .hbi file of the plugin and place it in <JENKINS_HOME>/plugins directory before starting the server.

Related

Cannot install plugins on Jenkins

I'm new to Jenkins and am trying to get a simple pipeline setup and struggling with the plugins page. I want to install the Azure credentials plugin but in the Plugin Manager page, when I select the plugin checkbox, there is no "Install" button so I don't know what to do next.
Tried on latest Chrome and Firefox with same issue. No errors in the console.
I looked at the documentation and it does not describe any reasons why the buttons won't appear. I am unsure if this is a bug or a problem with the documentation.
I am running v2.249.1 LTS version on Windows Server 2016.
Because this issue seems to be present in both 2.235.1 as ell as 2.260, the weekly release, I would recommend using the Jenkins CLI in the meantime. You can find the documentation here: https://www.jenkins.io/doc/book/managing/cli/ - I just used it and it works well. Do not forget to download the jenkins-cli.jar file as well as generted an API token.
wget https://localhost:8080/jnlpJars/jenkins-cli.jar
I have the same bug here, try Jenkins 2.249.1 fresh installation using ubuntu 20.04 and cannot install plugin from web UI https://prnt.sc/uudmrw
So I downgrade jenkins to older version to version 2.235.1, now I can install plugin from web ui https://prnt.sc/uue9tl
sudo apt-get install jenkins=2.235.1

I am unable to configure Jenkins with git lab community edition (12.6.0) getting below error ,Help me to resolve

Question 1:
i am trying to install Jenkins GitLab Plugin and Jenkins Git Plugin.But in my Jenkins version(2.210) it won't available to download .Can anybody explain any alternative way to download this ?
Question 2 :
I have successfully installed ruby plugin and but still getting same error ?i am configuring Jenkins with windows 10.
Dependency errors:
Some plugins could not be loaded due to unsatisfied dependencies. Fix these issues and restart Jenkins to restore the functionality provided by these plugins.
Gitlab Hook Plugin version 1.4.2
ruby-runtime version 0.12 is missing. To fix, install version 0.12 or later.[enter image description here][1]
I think Jenkins requires plugin https://plugins.jenkins.io/ruby-runtime last version
And you plugin require JRuby 1.7.18

jenkins - plugin (credentials) install manually

I'm trying to setup jenkins version 1.651.3 with manual installation of credentials plugin.
But failed to install the plugin.
Here is what I tried;
Download jenkins from http://pkg.jenkins-ci.org/debian-stable/binary/jenkins_1.651.3_all.deb.
Install jenkins_1.651.3_all.deb on Ubuntu 16.04.
I can see the default credentials plugin version is 1.18.
Delete old files; rm -rf /var/lib/jenkins/plugins/credentials*.
Download latest credentials plugin from https://updates.jenkins-ci.org/download/plugins/credentials/2.1.13/credentials.hpi.
Restart jenkins; service jenkins restart.
Still the credentials version is 1.18 not 2.1.13.
How can I install the latest credentials plugin manually? I mean without accessing web UI (Manage Jenkins -> Manage plugins)?
Jenkins creates a directory named after the plugin for every .hpi file you have in your $JENKINS_HOME/plugins/.
Try to find that directory (name should be 'credentials') and delete it.
I found the doc describing this behavior; plugin pinning.
https://wiki.jenkins.io/plugins/servlet/mobile?contentId=46334825#content/view/46334825
After creating xxx.jpi.pinned it worked.

jenkins 2 dependency errors loading some plugins

I have a newly intalled jenkins v 2.36 on ubuntu 14.04 LTS. during the installation process jenkins installed all plugins except pipeline and got stuck on installation. After that i restarted jenkins with
service jenkins restart and was able to create new administrative user, Here is the screen shot of error on jenkins dashboard, the correct button doesnt fix this error.
what should i do to resolve this error ?
The error is
There are dependency errors loading some plugins:
Pipeline: Stage View Plugin v2.4
pipeline-rest-api v2.4 is missing. To fix, install v2.4 or later.
Pipeline v2.4
Pipeline: Stage View Plugin v2.4 failed to load. Fix this plugin first.
It is always good to install the plugin via "Manage Jenkins -> Plugin Manager" , so that the plugin will install its dependencies automatically.
But sometimes due to slow internet connection or other reasons, it fails to do automatically. In that case, we need to do it manually under the Manage Plugins -> Advances Option -> Upload plugin.
So, in your case, it is failing for the below two dependent plugins:
pipeline-rest-api v2.4 is missing. To fix, install v2.4 or later.
Please install the pipeline-rest-api plugin. Also, please install other dependent plugins too for safer side.
List of dependent plugins for any Jenkins plugin.:
https://plugins.jenkins.io/workflow-aggregator
https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Stage+View+Plugin
Helpful link jenkins_dependency_error that helped me solve this issue
Download the plugin from here latest pipeline.
Go to jenkins dashboard > Manage jenkins> Manage Plugin > [select Advanced Tab]
select upload plugin file (select the option "restart after installation" )

OpenShift Cloud Computing: Advanced installation

I want to install OpenShift using the advanced installation - method on Centos7 (EC2). But first I need to know some issues:
URL of tutorial: https://docs.openshift.com/enterprise/3.0/admin_guide/install/advanced_install.html#installing-ansible
First I need to configure the prerequisitions on the master and its 2 nodes (https://docs.openshift.org/latest/install_config/install/prerequisites.html).
When that's done the advanced installation will start.
1) Do I have to install ansible on the master only and running the installer at the end or do I need to install anything on the node (except docker)?
2) Which steps do I have to follow here: https://github.com/openshift/openshift-ansible or just download the repo and following the tutorial.
3) Is there something necessary what needs to be installed or configured which is not cited?
You are correct to start with the prerequisite steps outlined in the origin documentation.
In particular,
Ensure that you've completed host preparation steps. These steps include packages that must be installed on every system.
Ensure that you've configured host access. The ansible installer uses ssh key authentication by default so you must be able to login to each system (including the master) from the master with ssh key authentication.
Ensure that the output of hostname -f outputs the correct hostname of each system.
Once you've finished with the prerequisite steps, you will move on to the advanced installation section. Steps for installing ansible and creating an ansible host inventory can be found here. You only need to install ansible on the master. Once you've installed ansible and created a host inventory you can run the ansible playbook to begin the installation.
Afterwards, you can verify the installation and then complete follow up items such as configuring authentication, creating a router and creating a docker registry.
If you encounter any problems with the advanced installer, create an issue with the openshift-ansible project.

Resources