Downgrade gitlab from ee to ce getting 502 error

Hi Team,
I am new to git lab, have upgraded to 12.03 EE version in Centos7 and then trying to downgrade it to ce version, when we are trying to login through URL we are getting 502 error.
Could please suggest the steps to resolve the issue.

Thanks and Reagrds,