Yes, you can upgrade. However, do not forget to do firmware update before upgrading ESXi. After the upgrade, you will minimize the problems. We can also check ESXi compatibility if you write the brand and model information of the hardware you have used.--
vBlogger, vExpert, Cisco Champions
Please, if this solution helped your problem, "Helpful" if it solves your problem "Correct Answer" to mark.