Migrating to 7.4: absence of some core services after connecting to migrated database

Components

Affects versions

Fix versions

None

Labels

Description

I am observing weird behavior:

  1. when 7.4.3.7 with bundled tomcat is run using empty HSQL database, GoGo shell system:check doesn't report any issues

  2. when migrated database is used instead, the server is executed, but displaying pages fails (NPE because of absence of some services, e.g. LayoutSEOxxx). After tweaking core JSPs I managed to access GoGo shell and found lot of unsatisfied references, e.g. AssetHelper. As this service is used in several modules, these are listed as well.

I've tried to activate AssetHelper's module (com.liferay.asset.service) using several GoGo commands (stop xxx/start xxx/felix:refresh), but nothing helped.

I've also tried to restart the server with cleared osgi/status folder.

It is apparent the problem is in database entries. I could find three candidate tables:

This returns the list of marketplace modules. Not only Asset ones are duplicated. The first date corresponds to the 7.3 version.

 

Another related table:

And the last one:

Is there something suspicious in these tables? I am missing another settings which could have impact on availability of core services?

OpenJDK 11, PostgreSQL 12, bundled tomcat-9.0.56

Activity

Show:

Jan TošovskýFebruary 1, 2022 at 6:24 AM

This turned out to be related to "unrelated" database migration issue (in DDM tables). After fixing DDMContent entries before the migration now the portal starts smoothly.

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Zendesk Support

Created January 28, 2022 at 2:10 AM
Updated September 28, 2022 at 11:11 AM
Resolved September 28, 2022 at 11:11 AM