Migrating from one Instance to another Instance on different Server

Lets see if someone here can help me. I have tried just about everything I have googled to no success. It always turns up the same Internal Server Error or a python error.

We have an ERPNext Instance hosted in Azure installed the easy script method. We are trying to move off of Azure and onto our own hardware. We have tried the easy install method, docker install method, and ERPNext packaged by Bitnami as a last resort.

Backups were made successfully and we were able to get the data off, all is well. When we go to bench restore the database, private, and public files it will say succeeded but the website will return an internal server error. I have also tried running bench migrate

Can anyone point me in the right direction on how to go about this.

Which version of Erpnext have you used in Azure and what version have you installed in your own hardware ?

I am presuming you are in production mode … In that case have you setup supervisor and
nginx using

bench setup production