First when I tried to activate community site feature, it gave me the below error:
Site The Site scoped feature being activated has a dependency on hidden Site Collection scoped feature 'FeatureDefinition/15/4326e7fc-f35a-4b0f-927c-36264b0a4cf0' (ID: '4326e7fc-f35a-4b0f-927c-36264b0a4cf0'). Hidden features cannot be auto-activated across scopes. There may be one or more visible Site Collection scoped features that auto-activate the dependent hidden feature.
And 3-4 messages similar to above message.
So I then activated 'SharePoint Server Publishing Infrastructure' at site collection level and 'SharePoint Server Publishing' at site level. And then I tried again to activate 'Community Site Feature' and I got the below error:
"Cannot add the file
/sites/mySiteName/SitePages/Community Home.aspxbecause it is a draft item"
Does anyone have any idea, how to resolve this ?