Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.2.2, 7.3.4, 7.3.8, 7.4.1, 7.6.3
-
7.02
-
85
-
Severity 3 - Minor
-
7
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
The following 2 services which exist in Cloud but not in JIRA server are imported into server installation during restore from Atlassian Cloud:
- Avatar synchronization service
- Attachment MediaApi synchronization service
Steps to Reproduce
Restore a cloud instance to JIRA server
Expected Results
Incompatible services or jobs are removed by tasks during export from cloud or import to server.
Actual Results
This incompatible services are imported into server and throw the following exception atlassian-jira.log file:
2016-11-09 19:01:41,633 JIRA-Bootstrap ERROR [c.a.jira.service.OfBizServiceConfigStore] The class 'com.atlassian.jira.avatar.media.AvatarSynchronizationService' could not be found. This can happen when a plugin is uninstalled or disabled 2016-11-09 19:01:41,633 JIRA-Bootstrap ERROR [c.a.jira.service.OfBizServiceConfigStore] A NoOp Service has been returned and hence 'Avatar synchronization service' will not do anything until fixed. 2016-11-09 19:01:41,675 JIRA-Bootstrap ERROR [c.a.jira.service.OfBizServiceConfigStore] Unable to create a service config for service with the name : Attachment MediaApi synchronization service com.atlassian.jira.service.OfBizServiceConfigStore$ClassNotFoundServiceException: Could not find class: com.atlassian.jira.issue.attachment.store.media.sync.AttachmentSynchronizationService at com.atlassian.jira.service.OfBizServiceConfigStore.instantiateServiceContainer(OfBizServiceConfigStore.java:216) ... Caused by: java.lang.ClassNotFoundException: Class 'com.atlassian.jira.issue.attachment.store.media.sync.AttachmentSynchronizationService' not found. at com.atlassian.jira.plugin.DefaultComponentClassManager.constructEvenIfNotEnabled(DefaultComponentClassManager.java:122)
2016-11-09 21:59:00,033 Caesium-1-4 ERROR anonymous Attachment MediaApi synchronization service [c.a.jira.service.ServiceRunner] An error occurred while trying to run service 'Attachment MediaApi synchronization service'. This method is not supported in an UnloadableJiraServiceContainer java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at com.atlassian.jira.service.UnloadableJiraServiceContainer.run(UnloadableJiraServiceContainer.java:98)
Workaround
- Navigate to Services Administration page: Administration > System > Services, delete both services from there
Attachments
Issue Links
- relates to
-
JRACLOUD-63117 Class com.atlassian.jira.avatar.media.AvatarSynchronizationService not found after import from Cloud
- Closed