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

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

 

 

Was this article helpful?
0 out of 0 found this helpful