Fix elasticsearch data directories and ports for upgrade.