Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21608

XWIKI-21509 Broke Upgrade if Tomcat Service is Running, But Not Enabled

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The changes introduced in XWIKI-21509 broke installations where the Tomcat systemd service was not explicitly enabled (for autostart), but started by other means.

      As after this change the XWiki postinst scripts only check for systemctl is-enabled, the Tomcat service possibly not restartet although it's running.

      Proposal: Check yor both is-enabled AND is-active in the postinst scripts.

      (Not sure if it's the cleanest or best approach, but works for me, and appears better to me than just checking for is-enabled.)

      Attachments

        Issue Links

          Activity

            People

              GOhrner Gunter Ohrner
              GOhrner Gunter Ohrner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: