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

            SET Analytics Bot made changes -
            UIS Original: 6 New: 7
            SET Analytics Bot made changes -
            Support reference count Original: 50 New: 51
            Marcin Sasinowski made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 984068 ]
            SET Analytics Bot made changes -
            UIS Original: 12 New: 6
            SET Analytics Bot made changes -
            UIS Original: 18 New: 12
            Marcin Sasinowski made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 974723 ]
            SET Analytics Bot made changes -
            UIS Original: 24 New: 18
            SET Analytics Bot made changes -
            Support reference count Original: 49 New: 50
            SET Analytics Bot made changes -
            UIS Original: 23 New: 24
            SET Analytics Bot made changes -
            UIS Original: 29 New: 23

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

                Created:
                Updated: