Atlassian Troubleshooting and Support Tools plugin can't be enabled after update

XMLWordPrintable

    • 8
    • Severity 3 - Minor
    • 6

      Summary

      Updating ATST from 2.5.1 to 2.6.1 fails on Crowd.

      Version info

      • ATST version 2.5.1 and 2.6.1

      Description

      Issue Summary

      Crowd comes with ATST plugin 2.5.1 bundled. It shows that an UPDATE is available to the latest version 2.6.1. However, after the upgrade it fails to enable as shown below: 

      We see the below errors in the logs:

      2025-03-07 14:51:53,346 UpmAsynchronousTaskManager:thread-2 INFO [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.atlassian.troubleshooting.plugin-crowd' from version '2.5.1' to version '2.6.1'
      ...
      2025-03-07 14:51:54,800 UpmAsynchronousTaskManager:thread-2 ERROR [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Troubleshooting Resources License limit healthcheck config' of plugin 'com.atlassian.troubleshooting.plugin-crowd'. Disabling.
      org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.atlassian.troubleshooting.healthcheck.data.LicenseUserLimitDataProvider': Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.sal.api.features.DarkFeatureManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
      ...
      Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.sal.api.features.DarkFeatureManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
      
      2025-03-07 14:51:54,888 UpmAsynchronousTaskManager:thread-2 ERROR [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginModuleDisabledEvent for com.atlassian.troubleshooting.plugin-crowd:troubleshooting-shc-whitelist (null)] from the invoker [com.atlassian.event.internal.ComparableListenerInvoker@4a88f6fd]
      java.lang.RuntimeException: The request object has been recycled and is no longer associated with this facade. Listener: com.atlassian.analytics.client.listener.DefaultAnalyticsEventListener event: com.atlassian.plugin.event.events.PluginModuleDisabledEvent
      	at com.atlassian.event.internal.SingleParameterMethodListenerIn
      ...
      Caused by: java.lang.IllegalStateException: The request object has been recycled and is no longer associated with this facade
      	at org.apache.catalina.connector.RequestFacade.checkFacade(RequestFacade.java:856) ~[catalina.jar:9.0.98]
      

      Steps to Reproduce

      1. Install Crowd 6.2.2
      2. Try to update the ATST plugin from 2.5.1 to 2.6.1

      Expected Results

      The ATST plugin should be enabled automatically after the update.

      Actual Results

      The ATST plugin fails to enable after the update.

      Workaround

      Follow the KB: Unable to start Crowd due to corrupted plugin caches to clear the plugins:

      1. Backup your Crowd Home Directory
      2. Stop Crowd
      3. Delete the following folders:
        • <crowd-home>/bundled-plugins
        • <crowd-home>/caches
      4. Start Crowd

              Assignee:
              Unassigned
              Reporter:
              Ozhan Aydar (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: