Changing custom runmodes when cloning environments
Should it be possible to copy and AEM 6.1 publish instance between UAT and dev environments and have that instance pick up the target environment's config ?
I have copied a publish instance back from UAT to a dev server.
I then deleted the sling.id.file and reset the clusterid, using the oak-run tool, and have changed the custom runmode from UT to dev and finally started up the instance.
Whilst the instance has seemingly started up ok, It appears to be still picking up some UT configuration rather than dev.
The configuration is stored in a single package, containing all environments, so my repository contains config:
/etc/map.publish.dev
/etc/map.publish.st
/etc/map.publish.ut
/etc/map.publish.prod
Should it be possible to restart a cloned publish instance using a custom runmode other than the one it was originally built with? If so, is there something I have missed?
Many thanks in advance.