Resolution
Follow these steps before restoring your testing environment to match your production environment. If there are any additional aspects of the restoration that you are unsure of, you can open a Help Center ticket.
- Before you do anything with either environment, backup everything. This is for safe measure in case something goes wrong.
- Make sure that the databases, documents, and images are updated and in-sync. This means that the ones that you use from the production backup are all taken at the exact same time. If they are out of sync, you run the possibility of not only losing important data but also encountering issues in Liferay when expected data is not found.
- Portal-ext.properties must be the same for the test and production environments with the exception of production environment data such as, Liferay home, document library location, database connection settings, cluster settings, etc.
- All portlets, themes, and additional customizations should be deployed with the latest versions, being careful to match the same versions found in the production environment.
- Make sure that any configured mail server settings are removed or changed to be different from the production environment. This is to prevent sending email from the wrong portal.