I am not sure about the upgrade. If you are running 5.2 then you need to find out if ecommerce has a new version tagged openacs-5-2-compat.