NoSuchUserException in the logs after updating to DXP 7.4 U72
István Gergely-Tárnoki
更新
Issue
We have deleted the default Test user from our environment in the past
Now when we updated to U72 and above, we get an exception in our logs during startup:
com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the key {companyId=1042185, screenName=test}
Environment
Liferay DXP 7.4 U72+
Resolution
This intended behavior was introduced by LPS-180586, making the exception occur when the default admin user, which is defined by the default.admin.screen.name=test property has been deleted,
You need to add the new admin user's screen name to this property to remove the exception from the startup logs