Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Upgrade fails due to 'No Group exists with the primary key X' error
Issue While running the DB Upgrade Tool, I see a failed upgrade process for UpgradeDiscussionSubscriptionClassName with an error something like: INFO[main][UpgradeProcess:115] Failed upgrade process...
How can I upgrade to jQuery version 3.5.0 on Liferay DXP?
Issue After a vulnerability test on my portal, it has been recommended that we upgrade to jQuery version 3.5.0, since the current version is vulnerable to Cross-site Scripting (XSS). We currently have jQuery...
How to resolve a "failed to 'KillContainer' ... context deadline exceeded" error observed in a Liferay PaaS service's status logging during deployment
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Whenever we deploy a build (even if the image versions are...
Known Issue [Resolved]: Using the Liferay PaaS CLI lcp deploy command removes the git origin configuration
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After using the lcp deploy command in the CLI to deploy a...
Getting a JSON object through Liferay REST API no longer works on 7.2
Issue After migrating to Liferay DXP 7.2 from previous versions, customers may notice that REST API implemented on the portal according to the JAX-RS tutorial and targeted to get a JSON object will return: No...
Error when deserializing a session
Issue You might get an error when trying to deserialize a session, which looks similar to this: java.lang.IllegalStateException: Error deserializing Session [2522563CC05A5789E25189BD49FFB38C]...
A lot of services have unsatisfied references when running gogo shell ds:unsatisfied
Issue A lot of services have unsatisfied references in the output after running the gogo shell command ds:unsatisfied Environment Liferay DXP 7.3 GA1 Resolution This issue is caused by the settings...
Known Issue: Fragment section background colors are no longer full width after upgrading to 7.3 GA1
Issue After upgrading from 7.2 to 7.3, we noticed that some of our page fragments (contained within layout sections on content pages) that had been configured to use a full-width background color had the width...
The Widgets disappeared after applying Fix Pack 8
Issue After applying the Fix Pack 8, the portal no longer displays the Widgets. The portal log shows the following error: 2021-01-25 20:01:12.321 INFO [Portal Dependency Manager Component...
Unable to send message: Could not convert socket to TLS
Issue In Fix Pack 92 we add the mail.session.mail.smtp.starttls.enable property to the portal.properties file to successfully configure the outlook mail server. After installing this Fix Pack or a higher one you...
Upgrade fails for bundle(s) due to "Table 'X' already exists" error
Issue When running the DB Upgrade Tool, I'm seeing that my upgrade process fails due to an error that looks something like the following: Bundle X has invalid content in tables.sql:_create table X ... caused by ... Table...
When attempting to use a Read/Write database split configuration, the Liferay startup logging warns that Hypersonic is in use
Issue When setting up an environment that uses a read/write database split, it appears that Liferay tries to use Hypersonic (HSQL) instead of the configured database, as the startup logs note: WARN ...
How to resolve Jenkins builds no longer completing after GitHub user contact adjustments
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After a user left our company (who had previously created a...
Fail to upgrade to fixpack dxp-8 or higher due to duplicate key error
Issue When trying to upgrade Liferay DXP 7.2 to fixpack dxp-8 or higher, the process fails due to the following error: ERROR [Portal Dependency Manager Component...
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 errors appear on a portal 6.2 cluster environment
Issue The following error messages occupy 90% of the log files which are now having a big size: ERROR [catalina-exec-54][LiferayMethodExceptionEventHandler:34] java.lang.IndexOutOfBoundsException: Index: 2, Size: 2...
Headless Delivery API fails after patching to dxp-7
Issue After patching to dxp-7, the headless delivery API cURL command '/o/headless-delivery/v1.0/structured-contents/{journalArticleResourcePrimKey}/rendered-content/{templateKey}' is returning 500 status code...
Password Policies is inaccessible after upgrading from 6.2 to DXP 7.2 - workaround without rolling back to 6.2
Issue After upgrading from 6.2 to 7.2, navigating to Control Panel > Users > Password Policies shows a UI error "Password Policies is temporarily unavailable", and an error is thrown in the logs: ERROR...
Permissions with Web Content
Issue Whenever the Guest and Site Member view permissions of the Web Content are removed, user is still able to see the web content added in the Web content Display Portlet. Environment Liferay DXP 7.0 Resolution This...
Using Virtual Instances on Liferay Cloud
Issue Despite creating additional Virtual Instances for DXP and adding custom domain(s) to the webserver service, users are still redirected to the default Virtual Instance. Environment Liferay Cloud Resolution...
LayoutFriendlyURLsException Thrown on Upgrade to 7.3
Issue Upon upgrading to 7.3, a LayoutFriendlyURLsException was thrown on startup, even though no failures were present in the upgrade logs: WARN [Portal Dependency Manager Component...
After upgrading to stack v4, the portal shows the message "This server has not been activated with Liferay Connected Services"
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After upgrading to stack v4, the portal shows the message...
'Nested Applications temporarily unavailable' error
Issue After upgrading to DXP 7.2+, I see that some Nested Applications widgets are not displayed on my pages and instead show a Nested Applications temporarily unavailable error. Environment Upgrading from DXP 7.0 to DXP...
Jackson libraries are missing in Liferay 7.2
Issue I would like to use the Jackson libraries with the RestTemplate in Liferay 7.2 to convert messages to and from JSON, but receiving errors upon trying to use the MappingJackson2HttpMessageConverter. ...
Search Results Pagination uses IP Address instead of DNS Name when NGINX is configured
Issue NGINX load balancer is set up in my environment. All URLs in the portal redirect using friendly DNS name. This does not work for the Search Results widget. When navigating the Search Results widget, it uses the...
Unable to install .cfg file after updating or upgrading to DXP 7.3 Fix Pack 1
Issue When placing a *.cfg file in the LIFERAY_HOME/osgi/configs folder an error is generated in the log: Unable to install .cfg file "{cfg-file-name}", please use .config file instead. Files with the *.cfg extension...
ClassCastException in Xerces with JBoss EAP 7.3 and IBMJava
Issue When Liferay 7.3 is deployed on JBoss EAP 7.3 using IBMJava, the following exception is thrown at startup and the server fails to start: ERROR [ServerService Thread Pool --...
Upgrade to DXP 7.3 fails due to error about an already existing column
Issue When running the DB Upgrade Tool, the upgrade fails due to an error regarding a duplicate or already existing defaultvirtualHost column. (See examples of the error below) Upgrading Oracle DB Caused by:...
Intermittent LDAP login failures due to LDAP response read time out
Issue With large LDAP directories, user login can sometimes fail if the LDAP query takes longer than the configured read timeout (default value is 500ms)  WARN [http-bio-exec][LDAPAuth:176] Failed to bind to the LDAP...
How to resolve an IllegalArgumentException when attempting to update a Destination Worker's Core Size and Maximum Size
Issue When attempting to update the Worker Core Size and Worker Maximum Size (for example, changing the liferay/background_task destination name to a core size of 5 and a max size of 10), though the update appears...
Caching js_resolve_modules calls
Issue The load time and the amount of data that is requested from the server by caching resolved_modules should be reduced. Environment Liferay 7.2 with DXP-8 Resolution A hotfix has been provided and below is the...
Local development Liferay bundle will stop working with IllegalStateException: Send redirect after commit
Issue Portal developers running a local Liferay bundle with a developer Activation Key may suddenly be unable to use the server. The interface will redirect to /c/portal/license URL showing the License Server...
Unable to override lpkg files in hotfix
Issue I attempted to override an lpkg file in a hotfix through these steps: Create a customized .jar file and place the file in /osgi/marketplace/override Clear osgi/state and restart Liferay See that Liferay is unable...
Violation of PRIMARY KEY constraint on startup after DB upgrade
Issue After successfully upgrading your DB with the db-upgrade tool you might face a similar error to the following one on fresh startup:...
Freemarker showing verbose exception
Issue Freemarker is showing verbose exception on site, even though RETHROW is set. Environment Liferay DXP 7.2 Resolution The Journal Article error template can be configured with the following steps: Navigate to...
After upgrading a staged environment from 6.2 to DXP, the tag function does not work properly
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Warnings get thrown while attempting to upgrade Lock_ table
Issue Several warnings get thrown, while the migration tool is trying to upgrade Lock_ table. WARN [main][UpgradeProcess:446] Attempting to upgrade table Lock_ by recreating the table due to: You have an...
Upgrade from Liferay DXP 7.2 FP5 to Liferay DXP 7.3 GA1 fails
Issue When running the DB upgrade process from Liferay DXP 7.2 FP5 to Liferay DXP 7.3 GA1, it fails due to Duplicate column name 'defaultVirtualHost':...
Customising soy files in ext plugins
Issue 1) Create Ext-plugin by adding ext-files (SelectCategory.es.js and SelectCategory.soy). 2) Deploy through Gradle "deploy" Or place the jar to osgi/marketplace/override folder. 3) Deployed path should be:...
Unexpected URLs in Page Analytics
Issue The URL pattern of different pages in the page analytics is changed i.e., starting with 'https:///' such as 'https:///login'. Environment Liferay 7.2 Resolution This is certainly an invalid URL because, even...
Change to portal-ext.properties files not being reflected in node
Issue After making changes to different properties in the portal-ext.properties file, these changes are not being reflected in the environment when Liferay is being started up. Environment Liferay DXP 7.0 Resolution...
Disable Pragma: no-cache header
Issue Liferay adding a "Pragma: no-cache" to the response header, and this is preventing the app server, or the client from caching the data. Environment Liferay DXP 7.2 Resolution Set the browser.cache.disabled...
How do I remove the Speedwell theme from Liferay DXP 7.3?
This article is intentionally set as Internal Only Issue When not using Liferay Commerce in a DXP 7.3 environment, the Speedwell theme may remain as the default fall back theme when deploying a custom...
Deployment of Ext-plugin module
Issue Below exceptions are occurring while deploying "Asset Publisher Web Module" ext-plugin...
SSL Exception with MySQL and JDK 11
Issue After starting Liferay with MySQL and JDK11, and after waiting for some time, the following traces might occur: ** BEGIN NESTED EXCEPTION ** javax.net.ssl.SSLException MESSAGE: closing inbound before...
LPKG Index Validation takes too long and ends up in out of memory error
Issue When we start our test server with -Xmx1024Mb after applying a new patch, the LPKG Index Validator is running too long and we are getting GC overhead exception, ending up in OutOfMemoryError: WARN [HikariPool-1...
After setting up Liferay DXP on a fresh application server via WAR file and dependencies, "java.lang.NullPointerException: entry" thrown on startup
Issue I set up Liferay DXP on a fresh application server using the WAR file, dependencies and OSGi dependencies according to the Installing Liferay DXP on Tomcat guide, and the following errors are thrown on startup:...
"Unable to deploy LPKG file ..." errors after making environmental changes
Issue When freshly downloading a bundle, starting it up with Hypersonic database, stopping it, configuring a different database in the portal-ext.properties file then starting the portal again there are...
Config file deployment with values in special Unicode characters are not visible properly in User Interface
Issue When exporting some settings from Control Panel → System Settings, the resulting OSGi config file will be UTF-8 encoded. However, at the next startup, when reading that file, Liferay does not assume that it...
Login fails in local environment.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Understanding a "There is no order guarantee on which result is returned" Portlet Preferences warning when using embedded Hypersonic
Issue When unzipping and launching a 7.1 SP4 bundle, the following WARN is shown in the logs: 2020-09-30 15:21:30.057 WARN [http-nio-8080-exec-2][PortalPreferencesPersistenceImpl:208]...
How to give permission to users to see the title and description of Calendar events?
Issue Unauthenticated users or users with the default User role can not see the title and description of Calendar events  Environment DXP 7.2 DXP 7.1 DXP 7.0 Resolution Log in as your administrator user to Liferay Go...
How to resolve Jenkins failing to build a service in Liferay PaaS with a non-zero exit value of 137
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue When attempting to build a Liferay PaaS service, our Jenkins...
Resolving When a .lar File Exported From Asset Publisher is Empty
Issue I exported a .lar file directly from the Asset Publisher using Widget Menu -> Export didn't contain any assets and was only a few kb in size. Our environment is patched to de-92 Environment DXP 7.0 DXP 7.1...
Cannot Access Login Portlet After Changing Root Context and Updating Patches
Issue After changing the root context in my Liferay DXP 7.2 instance and installing fix pack dxp-6, the login portlet is grayed out and inaccessible. In the browser console, I see that the root context is doubled...
Unable to disable the footer option after upgrading to Liferay DXP 7.2
Issue 1) Not able to disable the footer option of the classic theme after upgrading the Liferay 7.0 to Liferay 7.2 2) Steps to reproduce Go to the public page configuration To disable show footer, unchecked show...
Known issue: Error "Invalid version number: Version number may be negative or greater than 255" when starting up Liferay 6.2 using jdk 8u261 or later
Issue The following error was reported when starting up Liferay Portal 6.2 using jdk 8u261 or later Oct 19, 2020 3:02:57 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet...
JSPs stop working if their osgi module is restarted and direct.servlet.context.reload property is configured to false
Issue JSPs stop working if their osgi module is restarted and the direct servlet context reload functionality is disabled with the direct.servlet.context.reload=false setting. The issue is also reproduced in case: You...
Liferay PaaS - DB user doesn't have super privileges for the database service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay PaaS backup service will throw: ERROR 1227...
Java parameter UseContainerSupport doesn't work
Issue We are trying to specify the amount of memory Liferay can use by setting the -XX:+UseContainerSupport property However, it seems to take no effect and we don't see the specified limit shown in the...
'Connection reset by peer' when uploading files
Issue You are encountering the following exception in the logs: java.io.IOException: Connection reset by peer Users cannot upload files and errors like the following are printed (some examples): WARN...