AWT is not properly configured on this server.
Perhaps you need to run your container with "-Djava.awt.headless=true"?
See also: https://www.jenkins.io/redirect/troubleshooting/java.awt.headless
Fixed it using this : * sudo apt install fontconfig
Post this am getting the below error :
Help is appreciated
There may be deprecated plugins installed on your system that need to be removed.
The Jenkins project stopped distributing the Ruby runtime plugin, the Python runtime plugin, and plugins that depend on those two plugins in January 2022. You can find a detailed list of plugins and more information in the blog post:
That ID is written to the Jenkins log file with a stack trace. Read the Jenkins log to see if it guides you on your next step.
I assume that disabling the deprecated plugins is enough, but ultimately you’ll want to remove them completely. They are no longer usable.
The ruby runtime plugin does not support Java 11 at all. Jenkins weekly already requires Java 11 as its minimum Java version. Jenkins LTS 2.361.1 in September 2022 will require Java 11 as its minimum Java version.
and tried to search for ruby… but nothing. What else can I do to find out which plugin has to be removed? Would appreciate if Jenkins could be bit more verbose to tell what’s wrong. Any help appreciated. Thx!
It is unfortunate that the list of plugins you uploaded is not usable for anyone who wants to attempt to duplicate your configuration. Could you upload the plugin list again based on the system groovy script from “How to report an issue”? That provides the list in a format that others can use to assist.
Looking at the list of plugins you provided, it appears you’re not following the instructions in the upgrade guides. Specifically, the 2.277.1 upgrade guide recommends that you remove deprecated plugins and plugins with known security vulnerabilities.
Plugins to remove because they have known security issues
The ruby-runtime was there! Got listed when I was searching for hudson-apiv2-plugin, then started to dig around… Solved it by removing $JENKINS_HOME/plugins/ruby-runtime*. Can do now the update to 2.361.1.
Hi, removing ruby plugin solved the problem, login page is now coming up.
But ruby plugin is required for gitlab hook plugin. How can we make that work,
I am using jdk 11 and want to upgrade Jenkins.
Appreciate your help.
You can’t make the GitLab hook plugin or any other plugin that requires the Ruby runtime work on a Jenkins controller running Java 11. However, there are much better solutions that the GitLab hook plugin to connect Jenkins controllers to GitLab.