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
- Install Jira Data Center 8.6.0 or higher
- 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 |
- Restart Jira
- 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.