Legacy Knowledge Base
Published Jul. 2, 2025

No Access to the Control Panel if Guest Site is Inactive

Written By

Daniel Couso

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

This article documents a known issue where users are able to deactivate the default Liferay Portal site, which then prevents access to any existing live site with a public page. The basic functionality is that as long as there is one live site with a public page, users should be able to log in. However, there is a bug where users see a warning message, This site is inactive. Please contact the administrator, when they attempt to access the Control Panel.

This issue exists on legacy Liferay Portal 6.1 EE and 6.2 EE.

Resolution

Steps to Reproduce

  1. Navigate to the Control Panel → Sites.
  2. Click AddCommunity Site. (It does not matter which site template as long as there is a page on the site).
  3. Enter the following:
    • Name: Site 1
    • Details: Site 1 description
  4. Click Save.
  5. Navigate to the Control Panel → Sites.
  6. Click Liferay site.
  7. Click Configuration → Site Settings.
  8. Uncheck the Active checkbox.
  9. Click Save.
  10. Sign out.
  11. In the browser URL, enter the following: http://${your host name}:${your port number}/web/site-1. (e.g. http://localhost:8080/web/site-1)
  12. Users should see that they are able to view Site 1 pages.
  13. Next, attempt to access the Control Panel from the URL: http://${your host name}:${your port number}/group/control_panel (e.g. http://localhost:8080/group/control_panel).

At this point, the error message appears.

Workaround:

In order to gain access to the Control Panel once more, administrators must reactivate the default Guest site.

Solution

This issue has been resolved in Liferay Portal Fix Pack Portal-151. The fix pack introduced a new change in functionality so that the default Guest site cannot be deactivated.

Additional Information

If the platform has an Single Sign-On or Single Log-out (SSO/SLO) like SAML or Shibboleth enabled, the SSO settings will override and redirects to the SSO specified Identity Provider URL.

This known issue is also found in Liferay Portal 6.1 EE. Because this version has reached EOSL, only subscribers with extended premium support will receive a fix if they request one.

Did this article resolve your issue ?

Legacy Knowledge Base