Search Results

Knowledge Base 3761
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Can we retrieve the list of Collections/ContentSets' names using headless API?
Issue Using Liferay's headless-delivery API, it’s not possible to retrieve Collections' (referred as ContentSets in the API) names. The user wants to retrieve the collection by its name. There is a similar feature for...
HotDeployException thrown at startup sometimes for some of our custom portlets
Issue we have a problem with our portlets. Sometimes when we restart Liferay, some portlets are failing to deploy. We do not have exact scenario. It can happen for any of our portlet during restart. Here is exception that...
Unable to start Liferay Portal with error: Current URL / generates exception: java.lang.NullPointerException
Issue I am unable to start my Liferay Portal. The following errors are present in the log.  2024-11-19 05:16:09.815 ERROR [main][BundleStartStopLogger:62] file:/opt/liferay/osgi/modules/activation.jar has a null...
com.liferay.expando.kernel.model.ExpandoBridge cannot be found after upgrading to Quarterly Release
Issue After upgrading to Liferay Quarterly Release 2024.Q1.1, the portal logs are displaying an error related to Commerce: ERROR [SystemExecutorServiceUtil-1][ROOT:47] bundle...
In Liferay DXP 2023.q4.4, clustered environment fails to load additional nodes
Issue When using Liferay DXP 2023.q4.4 deployed in an environment, the initial node loads up without any issues, but any additional nodes result with the following traces: In JBoss EAP 7.4 Update 17: 2024-10-05...
Filtering objects by their NestedFields.
Issue Having a relationship between two objects A and B. It is possible to make queries to the /o/c/as api filtering by a field of object B as nestedField. curl -X 'GET' \...
Receiving the 'Unable to parse upload request' when try to upload folder
Issue Receiving the error in the logs when trying to upload the folder using the custom module. Steps to reproduce: 1. Start the server. 2. Deploy the sample portlet for uploading the folder in the bundle. 3....
Getting dozens of "BundleException: A bundle is already installed with the name XXX" errors on sever startup
Issue When starting the server, multiple messages similar to the following are logged, indicating failed module installations (typically after an upgrade): 2024-11-19 10:05:39.082 ERROR...
Upgrade Failed due to the Error "No User exists with the primary key..."
Issue When doing the database upgrade from 7.2 DXP-20 to Liferay DXP 7.4 QR 2024.Q3.0, the upgrade can fail with the following error: ERROR [main][UpgradeExecutor:333] Failed upgrade process for module...
Error: Unable to copy from file:/opt/liferay/osgi/modules/biz.aQute.remote.agent-6.4.0.jar
Issue When starting the server, the following exception is printed in the logs: 2024-09-25 17:50:18.363 ERROR [main][ModuleReadHookImpl:88] Unable to copy from...
Is Liferay vulnerable to CVE-2024-7254?
Issue I would like to know if Liferay is vulnerable to CVE-2024-7254. Is Liferay affected by CVE-2024-7254? This article outlines the concerns of CVE-2024-7254 vulnerability with respect to the Liferay DXP. Environment...
Unable to see the 'SEO' icon in Quarterly Release 2024.Q2
Issue According to Configuring XML Sitemaps documentation, users are unable to locate the 'SEO' icon in 2024.Q2 Environment Quarterly Release 2024.Q2 Resolution In order to see the 'SEO' icon, users need to...
jgroups WARN in the Logs When Starting the Second Node in a Two Node Cluster
Issue During restart of a node in a clustered environment, WARN logs are thrown due to jgroup jgroups receive failures are logged as warnings during cluster node startup WARN...
Log Directory for Liferay
Issue The log folder may become oversized, causing server hang-ups, so how do I configure the logging directory for Liferay? Environment Liferay DXP  7.3 Liferay DXP 7.4 Resolution The following are the steps...
Error message: Portal property "session.timeout.auto.extend" was modularized to com.liferay.frontend.js.web as "auto-extend"
Issue When starting up Liferay DXP, the following error message is displayed in logs: ERROR [main][VerifyProperties:138] Portal property "session.timeout.auto.extend" was modularized to com.liferay.frontend.js.web as...
Certificate details of internal load balancer
Issue There are few static IPs for private S2S connectivity, over different services like webserver and database. However, for webserver whose static IP is 172.xx.xx.xx, the certificate is updated at the...
Spring Boot Client Extension fails with [invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0
Issue We have a Spring Boot extension client that interacts with the Liferay APIs and that makes the OAuth2 challenge via OAuth2AccessToken oAuth2AccessToken =...
Security scan detected a "Reference to Windows file path is present in HTML"
Issue Our security scan detected a "Reference to Windows file path is present in HTML" in the following URL:...
Error message: Portal property "cluster.executor.debug.enabled" was renamed to "cluster.link.debug.enabled"
Issue When starting up Liferay DXP, the following error message is displayed in logs: ERROR [main][VerifyProperties:220] Portal property "cluster.executor.debug.enabled" was renamed to "cluster.link.debug.enabled"...
Unable to initialize bundle
Issue Tomcat folder is missing after running blade gw initbundle command. Steps to reproduce: 1. blade init -v dxp-7.4-u102 liferay-workspace 2. echo >> liferay-workspace/gradle.properties 3. echo...
How to resolve "From address not allowed" email errors in a Liferay SaaS environment
Issue In our SaaS environment, email notifications are failing when the "From Address" domain does not end in "@lxc.app" in our notification template for creating objects (even after adjusting the "Email Sender"...
Custom module fails to start with error "Stopping blacklisted bundle"
Issue I have deployed a custom module, but it is failing to start and does not work. The logs show this message: Stopping blacklisted bundle my-custom-portlet_1.0.0 Environment Liferay DXP 7.4 Liferay PaaS...
Log4j warnings and error on startup after upgrading to Update 36
Issue After upgrading Liferay DXP 7.3 to Update 36, the following warnings and error are printed in the logs on startup: log4j:WARN Continuable parsing error 3 and column 30 log4j:WARN Document root element...
Redirect URL configuration does not persist after a restart
Issue We noticed that after changing the Security Mode of Redirect URL configuration from "IP" to "Domain", and subsequently restarting Liferay, the configuration was back to "IP" again. We want to ensure this...
Errors when attempting to create/edit web content from the control panel
Issue After to recently migrated from Liferay 7.3 to 2023.q3.7, an error occurs immediately upon entering the edit (or creation) of content (and it continues to reproduce in the JS console when switching languages in...
java.sql.SQLException: Illegal mix of collations for operation 'UNION'
NOTE: Be sure to take a backup of your database prior to making any changes. Always test the changes in a lower environment before making changes in production. Making manual changes to the database is not...
Missing default Store
Issue When trying to perform an upgrade, the following error appears in logs: ERROR [main][DBUpgrader:70] Missing default Store Environment Quarterly Release: 2023.Q3, 2023.Q4, 2024.Q1, 2024.Q2 Liferay DXP 7.4...
Unable to include JSP
Issue The following errors are encountered when the user accesses the portal, which increases the log size. ERROR [https-jsse-nio-0.0.0.0-8443-exec-29][DynamicIncludeUtil:81] java.io.IOException: Unable to include...
java.lang.Error: factory already defined when starting up 2024.Q2 with JDK 17
Issue Start up an environment with Liferay DXP 2024.Q2 and JDK 17. The following error message appears: ERROR [io.undertow.servlet.request] (ServerService Thread Pool -- 78) UT015005: Error invoking method...
"SAX Security Manager could not be setup" Warns
Issue We are finding many Warns "SAX Security Manager could not be setup" in the Liferay logs. How can we resolve these messages? Environment Liferay Quarterly Release 2024 Resolution The observed behavior is a...
"Custom Field" data for Navigation Menu is not included, while fetching it from 'Navigation Menus Headless API'
Issue When trying to fetch the details of the "Navigation Menus" via the 'getNavigationMenu' Headless API, the 'Custom Field' data is not included in it. Steps to reproduce: 1. Navigate to Control Panel >...
Libraries missing in DXP 7.3 update 36
Issue We have observed a couple of errors, while building our project for DXP 7.3 u36, since there are libraries missing. Especially the library com.liferay.petra.string which is missing for u36. Are those libraries...
'Pages' option is not visible under the 'Site Builder', after the upgrade
Issue The 'Pages' option is not visible under the 'Site Builder' Steps to Reproduce: Start any DXP 7.4 Update 42 with any Database Navigate to Site Builder> Pages> Create a few pages. After following the above steps,...
DB Upgrade to a Q2 release using JDK 21 results in an error
Issue The following error is being encountered when trying to upgrade to a Q2 release running ./db_upgrade_client.sh and using JDK 21 JVM arguments: [-Dfile.encoding=UTF8, -Duser.country=US, -Duser.language=en,...
Integrity constraint violation: unique constraint or index violation: IX_
Issue When trying to start a clean Liferay bundle with the Hypersonic database and no portal-ext.properties, the following exception is being encountered:  2024-07-22 18:47:13.741 ERROR...
Some redirects executed from a custom module are not performed in JBoss EAP/Wildfly
Issue Given a custom module with a portlet component which includes the following code: ... @Override public void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException,...
There was an error when loading the "text" field
Issue 'There was an error when loading the "text" field' is showing if user clicks on any portlet inside System Settings and Instance Settings. Environment 2024.Q1 2024.Q2 Resolution This behavior is only...
I am getting "Someone may be trying to circumvent the permission checker" while accessing Password Policies
Issue When I try to access Control Panel → Password Policies, I get "Password Policies is temporarily unavailable." I get the following error message: 2024-07-30 13:15:07.411 ERROR...
Upgrading to a Quarterly Release fails due to Elasticsearch exceptions in the logs
Issue When upgrading to a Quarterly Release, coming from an old DXP version, the upgrade fails because of some Elasticsearch errors that can be seen in the logs: ERROR [main][ROOT:47] bundle...
Unable to login without the sameSiteCookies="none"
Issue Without the sameSiteCookies="none" setting up, some vital cookies (e.g., JSESSIONID) are not created at all, preventing portal access. Environment Liferay DXP  Resolution This article:...