Overview
You have changed your school's homepage template and are now trying to restore the homepage from an older template after unpublishing the site with the newer template. But, no previous versions of the homepage are available for restore.
Solution
When the homepage is changed to a completely new template, a warning You will lose all your current homepage content if you continue
is shown:
After the Implement
button is clicked, the homepage is changed. Now, you want to switch to a previous template version of the homepage, but that option is not available.
Open a Support request with us, so that we can recover a previous version of the homepage when it is not shown available on the site directly.
<supportagent>
The most likely cause of this issue is that the customer used unsupported characters like Unicode/emojis. The fix for this is pending release (V28). So, a workaround to update an XML RAW raw field in the database is needed. Another cause of this issue can be that there was a School Loop outage and post that the School's site was unpublished, a newer homepage was selected and now none of the older versions of the homepage are available for restore.
There are logs from the school server needed to verify the issue and involvement from the SaaS team is also needed.
- Escalate to L2 Support.
- L2 agent should get the logs and verify from
web.log
that the user had changed the homepage template. This indicates that the user clicked onImplement
when the warning (in the above image) was shown to them. - Download a database dump for the School/District and upload it to the FTP.
- Create a Jira escalation to the PCA as a SaaS incident (with the database dump/FTP information), so that they can fix the data in the database.
After the SaaS team confirms that the data has been updated, follow the below steps to restore the version that the customer needed:
- Login to the School as the Webmaster user.
- Select
Site Center
underToolbox
. - Select the
Tools
tab. - Click on the
Select
button forSelect Homepage
. - Click on
Restore Previous Homepage
(this option should now be available). - Select the version of the page that the customer requested to be restored. This has the
Last Modified
date and time for multiple previous pages, with names likeFast-N-Easy Templates (launched) i4gj3rtyh4j6
- Click on
Undelete
. - If you get a page that says
Select Homepage SLS2
, restart the school instance server preferably in the evening during a low traffic window.
Note: In case that there's an error (eg: NullPointerException) seen during the server restart, then, work with the PCA to fix the same. There can be some database queries that need to be run by them to fix this.
Publish the site/homepage using the below steps:
- Login to the School as the Webmaster user
- Select
Site Center
underToolbox
. - Select the
Tools
tab - Click on
Publish
forPublish/Unpublish SLS2
- Check
SLS1 & SLS2 Changed
- Click on
Publish Only
</supportagent>