Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56955

Uninstalling Blueocean Plugin 1.4.0 plugin doesnt resolve dependency errors

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Environment:
      jenkins.noarch 0:2.171-1.1
      on Red Hat Enterprise Linux Server release 7.6 (Maipo)

      see attached jenkins_systeminfo.txt for systeminfo output
    • Similar Issues:

      Description

      I'm experiencing the same issue as described in JENKINS-44935  but for version 1.4.0.

      The Blue Ocean UI has never started succesfully so I decided to remove it.

      I uninstalled all plugins containing blue. 

      Errors shown on manage page.

      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.Config API for Blue Ocean version 1.14.0blueocean-commons version 1.14.0 is missing. To fix, install version 1.14.0 or later.Pipeline SCM API for Blue Ocean version 1.14.0blueocean-rest version 1.14.0 is missing. To fix, install version 1.14.0 or later.JWT for Blue Ocean version 1.14.0blueocean-commons version 1.14.0 is missing. To fix, install version 1.14.0 or later.Downstream dependency errors:These plugins failed to load because of one or more of the errors above. Fix those and these plugins will load again.GitHub Pipeline for Blue Ocean version 1.10.2Pipeline implementation for Blue Ocean version 1.14.0 failed to load. Fix this plugin first.Git Pipeline for Blue Ocean version 1.14.0Pipeline implementation for Blue Ocean version 1.14.0 failed to load. Fix this plugin first.Config API for Blue Ocean version 1.14.0JWT for Blue Ocean version 1.14.0 failed to load. Fix this plugin first.REST Implementation for Blue Ocean version 1.14.0JWT for Blue Ocean version 1.14.0 failed to load. Fix this plugin first.Bitbucket Pipeline for Blue Ocean version 1.14.0Pipeline implementation for Blue Ocean version 1.14.0 failed to load. Fix this plugin first.Pipeline implementation for Blue Ocean version 1.14.0Pipeline SCM API for Blue Ocean version 1.14.0 failed to load. Fix this plugin first.
      

       

      Installed plugins matching blue search

      Green Balls
        Because green is better than blue! For color blind support configure user property.
      

       

       

        Attachments

          Activity

          Hide
          halkeye Gavin Mogan added a comment -

          how did you remove it? Your error says you are trying to load something that isn't there, which sounds right for removing random files.

          https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean/pom.xml#L23-L128 is the list of plugins the blueocean package installs

          Show
          halkeye Gavin Mogan added a comment - how did you remove it? Your error says you are trying to load something that isn't there, which sounds right for removing random files. https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean/pom.xml#L23-L128  is the list of plugins the blueocean package installs
          Hide
          cverbiest Carl Verbiest added a comment -

          Gavin Mogan thank you for your reply.

          I use yum to install / upgrade jenkins

          I used the uninstall button on the pluginManager/installed page in Jenkins to remove plugins.

          I selected all installed blue ocean plugins in one go. The message about depenancies appear after the next restart of jenkins.

          It's unclear to me what I should do with the pom.xml file , should I check that file against installed packages ?

           

          Show
          cverbiest Carl Verbiest added a comment - Gavin Mogan thank you for your reply. I use yum to install / upgrade jenkins I used the uninstall button on the pluginManager/installed page in Jenkins to remove plugins. I selected all installed blue ocean plugins in one go. The message about depenancies appear after the next restart of jenkins. It's unclear to me what I should do with the pom.xml file , should I check that file against installed packages ?  
          Hide
          cverbiest Carl Verbiest added a comment -

          Not sure if this helps, some yum and rpm info

          # yum list | grep jenkins
          jenkins.noarch                         2.173-1.1             @jenkins
          hudson.noarch                          1.395-1.1             jenkins
          jenkins.noarch                         2.174-1.1             jenkins
          python-jenkins.noarch                  0.4.14-2.el7          epel
          python2-jenkins-job-builder.noarch     1.4.0-3.el7           epel
          # rpm -qa | grep jenkins
          jenkins-2.173-1.1.noarch
          

          I also did a find for blueocean in the jenkins directory.

          find /var/lib/jenkins -name *blueocean*
          /var/lib/jenkins/plugins/blueocean-config.jpi
          /var/lib/jenkins/plugins/blueocean-core-js
          /var/lib/jenkins/plugins/blueocean-core-js/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-core-js/META-INF/maven/io.jenkins.blueocean/blueocean-core-js
          /var/lib/jenkins/plugins/blueocean-core-js/WEB-INF/lib/blueocean-core-js.jar
          /var/lib/jenkins/plugins/blueocean-commons
          /var/lib/jenkins/plugins/blueocean-commons/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-commons/META-INF/maven/io.jenkins.blueocean/blueocean-commons
          /var/lib/jenkins/plugins/blueocean-commons/WEB-INF/lib/blueocean-commons.jar
          /var/lib/jenkins/plugins/jenkins-design-language/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-pipeline-scm-api.jpi
          /var/lib/jenkins/plugins/blueocean-rest-impl.jpi
          /var/lib/jenkins/plugins/blueocean-pipeline-scm-api
          /var/lib/jenkins/plugins/blueocean-pipeline-scm-api/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-pipeline-scm-api/META-INF/maven/io.jenkins.blueocean/blueocean-pipeline-scm-api
          /var/lib/jenkins/plugins/blueocean-pipeline-scm-api/WEB-INF/lib/blueocean-pipeline-scm-api.jar
          /var/lib/jenkins/plugins/blueocean-rest-impl
          /var/lib/jenkins/plugins/blueocean-rest-impl/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-rest-impl/META-INF/maven/io.jenkins.blueocean/blueocean-rest-impl
          /var/lib/jenkins/plugins/blueocean-rest-impl/WEB-INF/lib/blueocean-rest-impl.jar
          /var/lib/jenkins/plugins/blueocean-rest-impl/images/24x24/blueocean.png
          /var/lib/jenkins/plugins/blueocean-rest-impl/images/48x48/blueocean.png
          /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline
          /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline/META-INF/maven/io.jenkins.blueocean/blueocean-bitbucket-pipeline
          /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline/WEB-INF/lib/blueocean-bitbucket-pipeline.jar
          /var/lib/jenkins/plugins/blueocean-pipeline-api-impl
          /var/lib/jenkins/plugins/blueocean-pipeline-api-impl/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-pipeline-api-impl/META-INF/maven/io.jenkins.blueocean/blueocean-pipeline-api-impl
          /var/lib/jenkins/plugins/blueocean-pipeline-api-impl/WEB-INF/lib/blueocean-pipeline-api-impl.jar
          /var/lib/jenkins/plugins/blueocean-core-js.bak
          /var/lib/jenkins/plugins/blueocean-commons.bak
          /var/lib/jenkins/plugins/blueocean-pipeline-api-impl.jpi
          /var/lib/jenkins/plugins/blueocean-github-pipeline
          /var/lib/jenkins/plugins/blueocean-github-pipeline/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-github-pipeline/META-INF/maven/io.jenkins.blueocean/blueocean-github-pipeline
          /var/lib/jenkins/plugins/blueocean-github-pipeline/WEB-INF/lib/blueocean-github-pipeline.jar
          /var/lib/jenkins/plugins/blueocean-jwt.bak
          /var/lib/jenkins/plugins/blueocean-config.bak
          /var/lib/jenkins/plugins/blueocean-web
          /var/lib/jenkins/plugins/blueocean-web/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-web/META-INF/maven/io.jenkins.blueocean/blueocean-web
          /var/lib/jenkins/plugins/blueocean-web/WEB-INF/lib/blueocean-web.jar
          /var/lib/jenkins/plugins/blueocean-web.bak
          /var/lib/jenkins/plugins/blueocean-github-pipeline.jpi
          /var/lib/jenkins/plugins/blueocean-git-pipeline
          /var/lib/jenkins/plugins/blueocean-git-pipeline/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-git-pipeline/META-INF/maven/io.jenkins.blueocean/blueocean-git-pipeline
          /var/lib/jenkins/plugins/blueocean-git-pipeline/WEB-INF/lib/blueocean-git-pipeline.jar
          /var/lib/jenkins/plugins/blueocean-rest
          /var/lib/jenkins/plugins/blueocean-rest/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-rest/META-INF/maven/io.jenkins.blueocean/blueocean-rest
          /var/lib/jenkins/plugins/blueocean-rest/WEB-INF/lib/blueocean-rest.jar
          /var/lib/jenkins/plugins/blueocean-config
          /var/lib/jenkins/plugins/blueocean-config/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-config/META-INF/maven/io.jenkins.blueocean/blueocean-config
          /var/lib/jenkins/plugins/blueocean-config/WEB-INF/lib/blueocean-config.jar
          /var/lib/jenkins/plugins/blueocean-jwt
          /var/lib/jenkins/plugins/blueocean-jwt/META-INF/maven/io.jenkins.blueocean
          /var/lib/jenkins/plugins/blueocean-jwt/META-INF/maven/io.jenkins.blueocean/blueocean-jwt
          /var/lib/jenkins/plugins/blueocean-jwt/WEB-INF/lib/blueocean-jwt.jar
          /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline.jpi
          /var/lib/jenkins/plugins/blueocean-git-pipeline.jpi
          /var/lib/jenkins/plugins/blueocean-jwt.jpi
          /var/lib/jenkins/plugins/blueocean-rest.bak
          /var/lib/jenkins/plugins/blueocean-git-pipeline.bak
          /var/lib/jenkins/plugins/blueocean-pipeline-scm-api.bak
          /var/lib/jenkins/plugins/blueocean-github-pipeline.jpi.tmp
          /var/lib/jenkins/plugins/blueocean-github-pipeline.bak
          /var/lib/jenkins/plugins/blueocean-pipeline-api-impl.bak
          /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline.bak
          /var/lib/jenkins/plugins/blueocean-rest-impl.bak
          
          Show
          cverbiest Carl Verbiest added a comment - Not sure if this helps, some yum and rpm info # yum list | grep jenkins jenkins.noarch 2.173-1.1 @jenkins hudson.noarch 1.395-1.1 jenkins jenkins.noarch 2.174-1.1 jenkins python-jenkins.noarch 0.4.14-2.el7 epel python2-jenkins-job-builder.noarch 1.4.0-3.el7 epel # rpm -qa | grep jenkins jenkins-2.173-1.1.noarch I also did a find for blueocean in the jenkins directory. find /var/lib/jenkins -name *blueocean* /var/lib/jenkins/plugins/blueocean-config.jpi /var/lib/jenkins/plugins/blueocean-core-js /var/lib/jenkins/plugins/blueocean-core-js/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-core-js/META-INF/maven/io.jenkins.blueocean/blueocean-core-js /var/lib/jenkins/plugins/blueocean-core-js/WEB-INF/lib/blueocean-core-js.jar /var/lib/jenkins/plugins/blueocean-commons /var/lib/jenkins/plugins/blueocean-commons/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-commons/META-INF/maven/io.jenkins.blueocean/blueocean-commons /var/lib/jenkins/plugins/blueocean-commons/WEB-INF/lib/blueocean-commons.jar /var/lib/jenkins/plugins/jenkins-design-language/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-pipeline-scm-api.jpi /var/lib/jenkins/plugins/blueocean-rest-impl.jpi /var/lib/jenkins/plugins/blueocean-pipeline-scm-api /var/lib/jenkins/plugins/blueocean-pipeline-scm-api/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-pipeline-scm-api/META-INF/maven/io.jenkins.blueocean/blueocean-pipeline-scm-api /var/lib/jenkins/plugins/blueocean-pipeline-scm-api/WEB-INF/lib/blueocean-pipeline-scm-api.jar /var/lib/jenkins/plugins/blueocean-rest-impl /var/lib/jenkins/plugins/blueocean-rest-impl/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-rest-impl/META-INF/maven/io.jenkins.blueocean/blueocean-rest-impl /var/lib/jenkins/plugins/blueocean-rest-impl/WEB-INF/lib/blueocean-rest-impl.jar /var/lib/jenkins/plugins/blueocean-rest-impl/images/24x24/blueocean.png /var/lib/jenkins/plugins/blueocean-rest-impl/images/48x48/blueocean.png /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline/META-INF/maven/io.jenkins.blueocean/blueocean-bitbucket-pipeline /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline/WEB-INF/lib/blueocean-bitbucket-pipeline.jar /var/lib/jenkins/plugins/blueocean-pipeline-api-impl /var/lib/jenkins/plugins/blueocean-pipeline-api-impl/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-pipeline-api-impl/META-INF/maven/io.jenkins.blueocean/blueocean-pipeline-api-impl /var/lib/jenkins/plugins/blueocean-pipeline-api-impl/WEB-INF/lib/blueocean-pipeline-api-impl.jar /var/lib/jenkins/plugins/blueocean-core-js.bak /var/lib/jenkins/plugins/blueocean-commons.bak /var/lib/jenkins/plugins/blueocean-pipeline-api-impl.jpi /var/lib/jenkins/plugins/blueocean-github-pipeline /var/lib/jenkins/plugins/blueocean-github-pipeline/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-github-pipeline/META-INF/maven/io.jenkins.blueocean/blueocean-github-pipeline /var/lib/jenkins/plugins/blueocean-github-pipeline/WEB-INF/lib/blueocean-github-pipeline.jar /var/lib/jenkins/plugins/blueocean-jwt.bak /var/lib/jenkins/plugins/blueocean-config.bak /var/lib/jenkins/plugins/blueocean-web /var/lib/jenkins/plugins/blueocean-web/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-web/META-INF/maven/io.jenkins.blueocean/blueocean-web /var/lib/jenkins/plugins/blueocean-web/WEB-INF/lib/blueocean-web.jar /var/lib/jenkins/plugins/blueocean-web.bak /var/lib/jenkins/plugins/blueocean-github-pipeline.jpi /var/lib/jenkins/plugins/blueocean-git-pipeline /var/lib/jenkins/plugins/blueocean-git-pipeline/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-git-pipeline/META-INF/maven/io.jenkins.blueocean/blueocean-git-pipeline /var/lib/jenkins/plugins/blueocean-git-pipeline/WEB-INF/lib/blueocean-git-pipeline.jar /var/lib/jenkins/plugins/blueocean-rest /var/lib/jenkins/plugins/blueocean-rest/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-rest/META-INF/maven/io.jenkins.blueocean/blueocean-rest /var/lib/jenkins/plugins/blueocean-rest/WEB-INF/lib/blueocean-rest.jar /var/lib/jenkins/plugins/blueocean-config /var/lib/jenkins/plugins/blueocean-config/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-config/META-INF/maven/io.jenkins.blueocean/blueocean-config /var/lib/jenkins/plugins/blueocean-config/WEB-INF/lib/blueocean-config.jar /var/lib/jenkins/plugins/blueocean-jwt /var/lib/jenkins/plugins/blueocean-jwt/META-INF/maven/io.jenkins.blueocean /var/lib/jenkins/plugins/blueocean-jwt/META-INF/maven/io.jenkins.blueocean/blueocean-jwt /var/lib/jenkins/plugins/blueocean-jwt/WEB-INF/lib/blueocean-jwt.jar /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline.jpi /var/lib/jenkins/plugins/blueocean-git-pipeline.jpi /var/lib/jenkins/plugins/blueocean-jwt.jpi /var/lib/jenkins/plugins/blueocean-rest.bak /var/lib/jenkins/plugins/blueocean-git-pipeline.bak /var/lib/jenkins/plugins/blueocean-pipeline-scm-api.bak /var/lib/jenkins/plugins/blueocean-github-pipeline.jpi.tmp /var/lib/jenkins/plugins/blueocean-github-pipeline.bak /var/lib/jenkins/plugins/blueocean-pipeline-api-impl.bak /var/lib/jenkins/plugins/blueocean-bitbucket-pipeline.bak /var/lib/jenkins/plugins/blueocean-rest-impl.bak
          Hide
          danielbeck Daniel Beck added a comment -

          /var/lib/jenkins/plugins/blueocean-config.jpi

          This plugin is installed, just not loaded due to failure to load (which is my guess why it doesn't show on the UI).

          Remove all .jpi files (and also the now obsolete directories) for plugins you wanted to remove, and it should be fixed after a restart.

          There may be a core bug here related to batch-uninstalling plugins, but without a reasonable reproduction case I doubt anyone will care enough to address it.

          Show
          danielbeck Daniel Beck added a comment - /var/lib/jenkins/plugins/blueocean-config.jpi This plugin is installed, just not loaded due to failure to load (which is my guess why it doesn't show on the UI). Remove all .jpi files (and also the now obsolete directories) for plugins you wanted to remove, and it should be fixed after a restart. There may be a core bug here related to batch-uninstalling plugins, but without a reasonable reproduction case I doubt anyone will care enough to address it.
          Hide
          cverbiest Carl Verbiest added a comment - - edited

          Ok, thank you for the information.
          Solved using following steps

          • systemctl stop jenkins.service
          • mkdir /var/lib/jenkins/badplugins
          • mv /var/lib/jenkins/plugins/blueocean /var/lib/jenkins/badplugins
          • systemctl start jenkins.service
          Show
          cverbiest Carl Verbiest added a comment - - edited Ok, thank you for the information. Solved using following steps systemctl stop jenkins.service mkdir /var/lib/jenkins/badplugins mv /var/lib/jenkins/plugins/ blueocean /var/lib/jenkins/badplugins systemctl start jenkins.service

            People

            • Assignee:
              Unassigned
              Reporter:
              cverbiest Carl Verbiest
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: