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

Debian Stretch upgraded Jenkins conflicts with Tomcat (http port error)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None

      The upgrading process is failed when http_port=-1 in:

      /etc/default/jenkins

      The upgrade doesn't map the settings from default to here:

      /etc/systemd/system/multi-user.target.wants/jenkins.service   -> Environment="JENKINS_PORT= ... " -> default is 8080

      So the starting Jenkins at boot time is conflicted with Tomcat!

      Linux lxc-web-sajat-java 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64 GNU/Linux

      Jenkins 2.332.1

       

          [JENKINS-68118] Debian Stretch upgraded Jenkins conflicts with Tomcat (http port error)

          Basil Crow added a comment -

          Likely a duplicate of JENKINS-68007. The workaround is to set Environment="JENKINS_PORT=-1" in the systemd(8) drop-in unit or to simply disable the jenkins.service service unit completely. For more information, see Overriding service configurations in the documentation.

          Basil Crow added a comment - Likely a duplicate of JENKINS-68007 . The workaround is to set Environment="JENKINS_PORT=-1" in the  systemd(8) drop-in unit or to simply disable the jenkins.service service unit completely. For more information, see Overriding service configurations in the documentation.

          Bela Roboz added a comment -

          ok, thank you very much!

          Bela

          Bela Roboz added a comment - ok, thank you very much! Bela

          Mark Waite added a comment -

          Linux kernel 3.16.0 was used in Debian Jessie (Debian 8). The Debian project stopped supporting Debian Jessie in June, 2020. If that is the Debian version you are running, you should upgrade to a supported version of Debian.

          Mark Waite added a comment - Linux kernel 3.16.0 was used in Debian Jessie (Debian 8). The Debian project stopped supporting Debian Jessie in June, 2020 . If that is the Debian version you are running, you should upgrade to a supported version of Debian.

          Basil Crow added a comment -

          I am planning to close this as "Won't Fix" in the next week if no further update is provided.

          Basil Crow added a comment - I am planning to close this as "Won't Fix" in the next week if no further update is provided.

          Bela Roboz added a comment -

          I use a stretch lxc guest on a jessie host.

          Bela Roboz added a comment - I use a stretch lxc guest on a jessie host.

          Basil Crow added a comment -

          JENKINS-68007 was released in 2.339 and backported to 2.332.2 LTS. Please upgrade and confirm that the issue has been resolved. Thanks!

          Basil Crow added a comment - JENKINS-68007 was released in 2.339 and backported to 2.332.2 LTS. Please upgrade and confirm that the issue has been resolved. Thanks!

          Mark Waite added a comment -

          Closing after two months without a response

          Mark Waite added a comment - Closing after two months without a response

            Unassigned Unassigned
            robozb Bela Roboz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: