Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-70711

Blank Clustering page because of old Hipchat classes in the pluginstate table

      Issue Summary

      Starting in Jira 8.6 there's a new Cluster monitoring page available to Jira system administrators gathers real-time data such as node ID, address, uptime (since the last restart), load and memory. The page displays the information for active nodes in your cluster, so whenever a node is down it disappears from the list.

      However, when there are two old Hipchat classes in the pluginstate table, the Clustering page does not work as expected. There are no errors reported in the backend, but in the frontend, you can see a Javascript error in the browser Developer tools:

      Uncaught Error: acm/app/models/node-collection missing ajs
      

      Steps to Reproduce

      1. Install Jira Data Center 8.6.0 or higher
      2. Add the two classes below to your pluginstate table
        pluginkey pluginenabled
        com.atlassian.plugins.base-hipchat-integration-plugin false
        com.atlassian.plugins.base-hipchat-integration-plugin-api false
      3. Restart Jira
      4. Try accessing the Clustering page

      Expected Results

      The Clustering page works regardless of old Hipchat classes in the database.

      Actual Results

      The Clustering page breaks when those classes are present, what is common on installations that are being upgraded from old Jira versions.

      Workaround

      Delete the old classes with the SQL commands below and restart JIRA:

      delete from pluginstate where pluginkey = 'com.atlassian.plugins.base-hipchat-integration-plugin';
      delete from pluginstate where pluginkey = 'com.atlassian.plugins.base-hipchat-integration-plugin-api';
      delete from pluginstate where pluginkey = 'com.atlassian.labs.hipchat.hipchat-for-jira-plugin';
      

      be sure to add the appropriate schema to the table name, if you're using databases such as SQL Server or Oracle.

            [JRASERVER-70711] Blank Clustering page because of old Hipchat classes in the pluginstate table

            Hello Team,

            New update, this morning the customer portal UI broke, we needed to re-enable the HipChat plugin in order to fix the issue, which in turn lead to the previous problem, the clustering tab and other internal Jira pages are not loading. 

            All information have been included in this ticket.

            Please fix this asap, this should not be happening.

            Ioannis Mouskountakis added a comment - Hello Team, New update, this morning the customer portal UI broke, we needed to re-enable the HipChat plugin in order to fix the issue, which in turn lead to the previous problem, the clustering tab and other internal Jira pages are not loading.  All information have been included in this ticket. Please fix this asap, this should not be happening.

            Hello team,

            it would be great to have it soon.

            We are facing major issues.

            Best regards,

            Alexandros Patsogiannis.

            Alexandros Patsogiannis added a comment - Hello team, it would be great to have it soon. We are facing major issues. Best regards, Alexandros Patsogiannis.

            Hi Team, this is also affecting us.

            Clustering tab is not loading correctly.

            Ioannis Mouskountakis added a comment - Hi Team, this is also affecting us. Clustering tab is not loading correctly.

            We encountered this again when upgrading our dev from 9.5.1 to 9.8 and 9.8.1. Strange. I just disabled the hipchat stuff since we don't use it.

            Richard Minick added a comment - We encountered this again when upgrading our dev from 9.5.1 to 9.8 and 9.8.1. Strange. I just disabled the hipchat stuff since we don't use it.

            Thanks rbaldasso for gathering whole information and creating the issue. I'll take a look and try to sort it out.

            Hossein Amiriparian (Inactive) added a comment - Thanks rbaldasso  for gathering whole information and creating the issue. I'll take a look and try to sort it out.

              hamiriparian@atlassian.com Hossein Amiriparian (Inactive)
              rbaldasso Rodrigo Baldasso
              Affected customers:
              6 This affects my team
              Watchers:
              32 Start watching this issue

                Created:
                Updated: