Latest security update breaks upgrade process in initContainer (apply_config.sh)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Critical
    • Component/s: core
    • Environment:

      https://www.jenkins.io/security/advisory/2022-06-22/ 

      We're deploying Jenkins on Kubernetes. The latest Security update breaks something related to the plugins folder in the initContainer. 

      {{Error logs:}}
      {{cp: cannot stat '/usr/share/jenkins/ref/plugins/*': No such file or directory}}

      This happened when trying to update from 2.319.3-lts to 2.346.1-lts. I decided to update then to 2.332.3-lts and everything went fine this time. However, this also happened when updating to 2.332.4 (A simple patch upgrade - I don't know but the container in DockerHub doesn't include the suffix LTS because it is indeed an LTS version).
      So I was left without the urgent security updates.

      This occurs while the apply_config.sh inside the initContainer is running. There is no other log.

            Assignee:
            Unassigned
            Reporter:
            Sergio
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: