If you get an error when activating Community, (activation key not compatible) you can run this script.
update systemsettings set value='0' where [name]='system.client_id'
update systemsettings set value='0' where [name]='system.property_id'
update systemsettings set value='2' where [name]='system.installed_productId'