If you are seeing a "Temporarily Unavailable" error on your UMN Drupal Lite site, the following steps may help.
The full error reads:
Temporarily Unavailable
The website that you're trying to reach is having technical difficulties and is currently unavailable. We are aware of the issue and are working hard to fix it. Thank you for your patience.
When you are unable to edit a page, check other pages on your site that have the same Content Type as the unavailable page. If those other pages are accessible, then unsaved changes may be stuck on the unavailable page. Try the steps below in the order presented to minimize the risk of data loss.
Steps you can take on your own
- Wait for a few hours to 24 hours if you do not urgently need to update your page.
- Sometimes memory exhaustion errors or recursive rendering errors that are causing your page to be unavailable resolve on their own.
- If both the View tab and the Layout tab display the "Temporarily Unavailable" message, check in the Revisions tab and look for a version that can be viewed.
- If there is a recent version that can be viewed, it may be easiest to revert to that version to restore functionality.
- Recreate the page by referencing the content you can access, then delete the unavailable page.
- If there was little to no content on the unavailable page, it may be easiest to create it again.
Steps you can take if the previous options do not resolve the issue
There are 2 different routes you can proceed with next. Different data is lost with each route, so please review the following information carefully. You can reach out to [email protected] to request a new backup of your site database if you want to have the option of rolling your site back before you take either of the routes below because both routes involve losing data on your site.
Option 1: Clearing your drafted Layout Builder changes
The issue is often caused by a stuck Layout Builder change on a particular page. Sometimes deleting drafted changes in the Layout Builder for the page will clear the issue. This option is suitable if you are only experiencing issues with one page.
IMPORTANT: Clearing drafted changes means that all changes made in the Layout Builder since you last saved the page will be lost, so you will need to rebuild all of your changes.
The steps to delete the drafted changes are as follows:
- Navigate directly to YOURSITE.umn.edu/node/[node-ID]/layout/discard-changes and select Confirm.
- Each page on your site has a unique node ID that is displayed in the URL even if the page is unavailable. This is the ID number you should substitute for the [node-ID].
- If you are unable to reach the layout tab at all, you can select Edit to edit the page and see the same node ID in the URL.
- This /discard-changes page discards pending changes to the unavailable page. Once confirmed, return to the layout page to confirm whether discarding the changes resolved the issue.
- Each page on your site has a unique node ID that is displayed in the URL even if the page is unavailable. This is the ID number you should substitute for the [node-ID].
Option 2: Rolling back your website to a backup from a previous date
Per the Drupal Site Backup policy, a daily backup of each website's database is created overnight. Each backup is kept for 30 days, then automatically deleted. For this reason, the Drupal Support Team is able to restore the database from the most recent 30 days.
Drafts in the Layout Builder are stored in your site's database. If you have been working on a draft for multiple days, and do not want to lose all of your drafted progress, restoring your site to a previous version may allow you to preserve some of your drafted changes. If the page was accessible in the past three days, the Drupal Support Team can restore the website to a working version of your site for you to continue your work.
IMPORTANT: This option will roll back your entire site, so all changes made after the backup will be lost. This option is ideal if you were only editing the one broken page.
Send a request to [email protected] to restore your site's database from a backup. Be sure to include the URL of the page with which you're experiencing issues and which backup you'd like to restore from the past 30 days.