To remove duplicate OSGi configs, please see this SLING issue: https://issues.apache.org/jira/browse/SLING-6313
There are two methods to resolve the issue described there:
- https://helpx.adobe.com/nl/experience-manager/kb/AEM-does-not-pick-Filedatastore-location-and-start-successfully-on-upgrading-from-56x-to-6x.html
- https://issues.apache.org/jira/browse/SLING-6313?focusedCommentId=17352074&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17352074