I have not upgraded my AEM from 6.2 to 6.4 but I was facing the same
issue that contexthub.kernel.js was giving 404. I found one more
solution:As it is suggested contexthub path is to be configured in root
page properties as '/libs/settings/cloudsettings/legacy/contexthub' and
when we go to this path, this node has 'sling:resourceType' as
I copied this node to '/apps/settings/cloudsettings/legacy/contexthub'
and changed its...