Legacy Knowledge Base
Published Sep. 10, 2025

After creating a new instance, we cannot log in to it.

Written By

Jorge Diaz

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.

Issue

We have created a new instance using the example.com domain. After creating it, we cannot log in to the new instance using the user: test / password: test credentials.

What can we do to solve our problem?

Environment

Any Liferay version

Resolution

To solve this problem, you have to check the following points:

1. Check the default user, password, and email prefix configuration

When a new instance is created, the user, password, and email prefix of the administrator user are controlled by the following properties of portal.properties:

default.admin.screen.name=test
default.admin.password=test
default.admin.email.address.prefix=test

You have to check if your portal-ext.properties file has any of these properties defined and use the values defined in this file if this is your case.

2. Check you are using the correct email domain

If your Liferay installation is configured to authenticate by email address (default configuration) check that you are using the correct email domain of the new instance.

3. Check the admin user information directly from the database

To make sure that you have the correct data, you can always get the administrator data from the DB with the SQL:

select * from User_ where companyId = <id of the new instance> and defaultUser = 0

This SQL returns the instance users. The one with the lower userId is usually the first administrator user of the instance.

 

Additional Information

 

 

Did this article resolve your issue ?

Legacy Knowledge Base