Search Results

ナレッジベース 3817
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
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...
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...
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...
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...
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...
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...
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:...
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 =...
Is it possible to use wildcards with virtual hosts?
Issue We are using Azure and we set the virtual hosts in the portal-ext.properties with virtual.hosts.valid.hosts with oursite-xxxx.region.azurecontainerapps.io We receive a blank landing page like this because the...
How to reference static assets by URL from a client extension on SaaS?
Issue I am trying to use static assets (images) from the test-theme-css client extension that I deployed. When running the project locally, I am able to do this, but on SaaS, the URL does not work. Local 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...
NullPointerException when evaluating AuthLoginGroupSettingsUtil.isPromptEnabled
Issue The following error is thrown in the logs every once in a while: 2024-07-29 06:55:37.018 ERROR [http-nio-8080-exec-7][CTCollectionPreviewFilter:53] java.lang.NullPointerException...
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...
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...
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...
User session being logged out while using iframe
Issue The user's session is getting logged out while using the iframe. Environment Liferay DXP 2024 Q1.0 Resolution The issue is sometimes related to the web server configuration. Therefore, the below property...
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...
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...
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...
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 >...
'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,...
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...
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,...
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,...
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...
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 persist buffered increment value" Error in Liferay Logs
Issue I am seeing the following errors thrown regularly in my Liferay console logs. How can I resolve this? ERROR [BufferedIncrement-default-2][BufferedIncrementRunnable:54] Unable to persist buffered increment...
How to resolve "Attempting to upgrade table UserGroupGroupRole by adding a temporary column" DB2 database upgrade errors
Issue When trying to upgrade Liferay DXP from a 7.4 U release to 2024.q1.3 using a DB2 11.5 database, we encountered the following errors relating to the UserGroupGroupRole table: INFO  [ServerService Thread Pool --...
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:...
How to create schedulers in DXP 7.4 and above?
Issue We've been using the below classes in our project to create schedulers:  com.liferay.portal.kernel.scheduler.StorageType   com.liferay.portal.kernel.scheduler.StorageTypeAware  After upgrading to a...
Batch Error encountered during upgrade using SQL Server 2019
Issue When upgrading from Liferay 7.2 to Liferay 7.4, the following error may be encountered during the upgrade process when using SQL Server 2019 with MSSQL JDBC Jar Version 12.X ERROR [main][DBUpgrader:79] null...
sun.awt.Win32GraphicsEnvironment ClassCastException in the logs
Issue We started to see the below exception in our logs: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: sun.java2d.HeadlessGraphicsEnvironment cannot be cast to...
Table already exists upgrade error
Issue An upgrade is failing with a java.sql.SQLSyntaxErrorException: Table [table name] already exists error Environment Quarterly Releases DXP 7.4 DXP 7.3 DXP 7.2 Resolution NOTE: Be sure to take a backup of...
Feature flag LPS-170809/163118/166126 is not available for company 0
Issue After trying to upgrade to DXP 2023.Q4.4, the database upgrade script is failing with the following errors in the logs: Feature flag LPS-170809 is not available for company 0 Feature flag LPS-163118 is not...
Issue in Workflow node ASSIGNMENTS option
Issue We have a portal with multiple custom roles based on business rules and when trying to select roles in the Workflow node ASSIGNMENTS option the portal crashes. The problem lies in the endpoint that lists...
java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 1
Issue While upgrading to Liferay DXP 7.4, following errors were observed in the logs: ERROR [http-nio-8080-exec-21][OpenIdConnectSessionValidationFilter:53] java.lang.StringIndexOutOfBoundsException: begin 0, end...
View only permission for custom Field does not include frontend restrictions
Issue Facing issues while using 'View' only permissions for 'Custom Field', able to see and even edit the details even after View only permission. Steps to reproduce: 1. Navigate to Control Panel > Roles, and create...
Database connection issue: Failed to validate connection
Issue We are getting some slowness when browsing through DXP and following message is showed in log: HikariPool-1 - WARN … Failed to validate connection …  Possibly consider using a shorter maxLifetime value....
Unsatisfied Reference - Unresolved Declarative Service
Issue When upgrading to the Liferay DXP 7.4, navigate to the Control Panel > System > Gogo Shell and execute the ds:unsatisfied command, then getting the Unsatisfied Reference - Unresolved Declarative Service and...
Need to get values from System Configuration
NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations. Issue...
'Your request failed to complete' while saving the values of Mail settings under Instance settings
Issue Issue while saving the values entered for mail settings under instance settings wherein the values do not get saved and the error says: 'Your request failed to complete'.Steps to reproduce: 1. Start the...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v4_0_0.DDMStructureUpgradeProcess
Issue You might encounter an issue when upgrading from 7.2 to 7.4 where the upgrade step for module com.liferay.dynamic.data.mapping.service fails due to a NoSuchGroupException: 2024-05-22 13:18:39.512 INFO...
Liferay Marketplace cannot be accessed via Control Panel
Issue When accessing Liferay Marketplace via Control Panel, the page does not load anything. Environment Liferay DXP 7.3. Resolution Check that your environment can access the URL https://web.liferay.com/marketplace,...
Text Verification field is not showing validator after clicking on Forgot Password
Issue When clicking on 'Forgot Password', Text Verification field does not showing any kind of validator (*). Steps to reproduce: 1. Navigate to localhost:8080/c/portal/login 2. Click on Forgot Password button....
Unminified CSS
Issue Steps to reproduce: 1. Take Liferay DXP 7.2  fix-pack-20 2. Add the below properties in portal-ext.properties: minifier.enabled=true theme.css.fast.load=true javascript.fast.load=true 3. Inspect the page and...
Custom 'renderUrl' is not working for Liferay DXP 2023.Q4.4
Issue Start the server. Navigate to Product Menu > Site Builder > Pages, and create two pages with the names 'Add Blog' and 'Blog Page' with URLs 'add-blog' and 'blog-page'. (Could also be configure the Page name and...
TemplateException: Unsupported template manager ftl
Issue Our environment is not stable, pages don't load properly and we are not even able to log-in. In the log file, these errors are shown: 2024-04-30 16:52:27.467 ERROR...
Upgrade fails for class 'RadioDDMFormFieldTypeReportProcessor' resulting in NullPointerException
Issue The upgrade is failing from Liferay DXP 7.1 FixPack 21 to Liferay-dxp-2023.q4.4 resulting in the below error: Caused by: java.lang.NullPointerException at...
Not able to configure logging
Issue Our previous configurations for logging are no longer working after upgrading to Liferay's Quarterly Releases. This was previously working in DXP 7.3. When we redeploy a module, the module completely stops...
Custom portlets are not logging correctly with SLF4J
Issue Custom plugins (portlets and hooks) are not properly logging with SLF4J implemented, with no log4j2 configurations changed from previous Liferay versions to 7.4 or Quarterly Release. Environment DXP 7.4 Quarterly...
Getting 'unsatisfied references' error after JAR deployment
Issue When creating a service builder project and after deploying the Jars files, it shows the unsatisfied references'' in the GOGO shell. Steps to reproduce: Start the server. Deploy the JAR file. Navigate to...