Unable to Install any Cloud Add-ons
Problem
Unable to Install Any Add-on on a Cloud Instance
1 Instances Restored from a Backup or Import from a Backup to Cloud
2 Cloud License has expired
msg: Failed to create Connect user remotely: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"404","detail":"No default group for Jira Software","errorType":"NoDefaultGroup","message":"No default group for Jira Software","data":"Jira Software"}
stack: com.atlassian.plugin.connect.api.lifecycle.ConnectAddonInstallException: Failed to create Connect user remotely: {"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"404","detail":"No default group for Jira Software","errorType":"NoDefaultGroup","message":"No default group for Jira Software","data":"Jira Software"}
at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.provisionAddonUserAndScopes(ConnectAddonManager.java:841)
at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.provisionUserIfNecessary(ConnectAddonManager.java:587)
at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonManager.installConnectAddon(ConnectAddonManager.java:164)
at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonInstaller.install(ConnectAddonInstaller.java:226)
at com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonInstaller.install(ConnectAddonInstaller.java:153)
at com.atlassian.plugin.connect.plugin.lifecycle.upm.ConnectUPMInstallHandler.installPlugin(ConnectUPMInstallHandler.java:103)
at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:108)
at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:90)
at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:67)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.lambda$installOrUpdate$7(InstallAndSubscribeRemotePluginTask.java:251)
at com.atlassian.upm.api.util.Either$Right.flatMap(Either.java:203)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.installOrUpdate(InstallAndSubscribeRemotePluginTask.java:236)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.lambda$installIfNeeded$4(InstallAndSubscribeRemotePluginTask.java:207)
at com.atlassian.upm.api.util.Option$4.fold(Option.java:347)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.installIfNeeded(InstallAndSubscribeRemotePluginTask.java:206)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.lambda$executeTask$3(InstallAndSubscribeRemotePluginTask.java:179)
at com.atlassian.upm.api.util.Option$Some.fold(Option.java:313)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.executeTask(InstallAndSubscribeRemotePluginTask.java:174)
at com.atlassian.upm.install.InstallAndSubscribeRemotePluginTask.executeTask(InstallAndSubscribeRemotePluginTask.java:63)
at com.atlassian.upm.core.rest.resources.install.InstallTask.run(InstallTask.java:93)
at com.atlassian.upm.core.rest.resources.install.InstallTask.run(InstallTask.java:38)
at com.atlassian.upm.core.async.AsynchronousTaskManager.executeTaskInternal(AsynchronousTaskManager.java:147)
at com.atlassian.upm.core.async.AsynchronousTaskManager$1.lambda$processMessage$1(AsynchronousTaskManager.java:128)
at java.util.Optional.ifPresent(Optional.java:159)
at com.atlassian.upm.core.async.AsynchronousTaskManager$1.processMessage(AsynchronousTaskManager.java:126)
at com.atlassian.jira.messagequeue.MessageRunnerServiceProvider.lambda$null$1(MessageRunnerServiceProvider.java:243)
at com.atlassian.messagequeue.internal.core.NestedMessageConsumer.consume(NestedMessageConsumer.java:122)
at com.atlassian.messagequeue.internal.sqs.SQSMessageConsumer.consumeMessage(SQSMessageConsumer.java:240)
at com.atlassian.messagequeue.internal.sqs.SQSMessageConsumer.processReceiveMessageResult(SQSMessageConsumer.java:195)
at com.atlassian.messagequeue.internal.sqs.SQSMessageConsumer.run(SQSMessageConsumer.java:121)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Cause
This can be caused, when a Restore from backup is done on an Instance, displacing the default Application access group to your Cloud Instance. Due to this, Plugins are unable to identify the default group required for Installation. The other issue happens when your Cloud Subscription has expired. When attempting to Install an Add-on, the Add-on cross check to validate if the Instance has a valid License. If the subscription is expired, this makes the Cloud license invalid and installing any Add-on becomes impossible.
Resolution 1 : Restore from Backup
In order to fix this, please try the below if you recently did an Import to Cloud
If it's related to "Default Group", navigate to your Admin Management section on https://admin.atlassian.com
- Click on "Product Access" you'll see the below Alert box then Click on "Review Imported groups"
- Click on "Approve" for all Groups
Resolution 2 : Expired Subscription
If your subscription is expired, renewing your subscription should fix the problem. you can tell if your subscription has expired, by checking your Billing cycle.
- Navigate to your Admin Management section https://admin.atlassian.com
- Click on Billing > Manage Subscription and check if your subscription is over.