Installing or upgrading applications through the versions & licenses admin page may fail with an unexpected error

XMLWordPrintable

    • 9.12
    • 7
    • Severity 2 - Major
    • 24

      Issue Summary

      Trying to install or upgrade a Jira application (Jira Software or Jira Service Management) through the Versions & licenses admin page may fail.

      Steps to Reproduce

      Trying to install Jira Service Management

      1. Install a vanilla instance of Jira Software Data Center.
        • This was validted on JSW DC versions 9.12.22, 10.3.5 and 10.6.0.
      2. Go to the Versions & licenses admin page through Administration > Applications.
      3. Within Other Jira applications, click on Try it for free to install Jira Service Management.
      4. When the Start free trial popup appears, click on Accept.

      Trying to upgrade Jira Service Management

      1. Install a vanilla instance of Jira Software Data Center together with Jira Service Management.
        • Choose the latest-1 bug fix version; i.e. if testing with Jira 10.3 and the latest is 10.3.5, install 10.3.4.
      2. Upgrade Jira through the JSW DC tar.gz file to the latest bug fix version.
        • This will only upgrade the JSW binaries, leaving JSM outdated.
      3. Go to the Versions & licenses admin page through Administration > Applications.
      4. Within the Jira Service Management section, try to upgrade it.

      Expected Results

      Trying to install Jira Service Management
      The JSM installation beggins and there will be a status bar showing the progress of the installation.
      The installation progress and the status bar moves accordingly until it completes without any error.

      Trying to upgrade Jira Service Management
      The JSM upgrade beggins and there will be a status bar showing the progress of the installation.
      The upgrade progress and the status bar moves accordingly until it completes without any error.

      Actual Results

      Trying to install Jira Service Management
      From the UI, it feels like the JSM installation started as the status bar appears.
      However, the status bar never moves and the installation never completes.
      On the backend, the download did not start.
      If the process is tried with the browser developer tools opened, a request to <Jira-BaseURL>/rest/plugins/1.0/?token=<upm-token> fails with HTTP 403 and a response similar to the below.

      Plugins can only be installed from Atlassian Marketplace
      

      Trying to upgrade Jira Service Management
      The status bar appears and quicly moves to the end with a popup error with the following text.

      An unexpected error occurred. Refer to the logs for more information.
      

      Although the message tell to refer to the logs, there's nothing on the application logs that will hint about this problem.

      If the process is tried with the browser developer tools opened, a request to <Jira-BaseURL>/rest/plugins/1.0/?token=<upm-token> fails with HTTP 403 and a response similar to the below.

      Plugins can only be installed from Atlassian Marketplace
      

      Workaround

      Follow the steps from How to re-enable plugin upload in Jira Data Center before trying to install or upgrade an application from the Versions & licenses admin UI.

            Assignee:
            Unassigned
            Reporter:
            Thiago Masutti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: