RE: Upgrade liferay database from Liferay 6.2 EE to Liferay DXP 7.2

thumbnail
Aditya Bhardwaj, modified 5 Years ago. Junior Member Posts: 78 Join Date: 1/8/15 Recent Posts
Hi,I tried to migrate from Liferay 6.2 to Liferay DXP 7.2. Everything during migration is fine . Server is stared but now i am not able to see various portlets like webcontent, Document and media . Add (+) is also not working .





When i use ds:unsatisfied their is lot of errors like :-Bundle {id: 1421, name: com.liferay.dynamic.data.mapping.change.tracking, version: 1.0.8}
        Declarative Service {id: 1459, name: com.liferay.dynamic.data.mapping.change.tracking.internal.configuration.DDMStructureCTConfigurationRegistrar, unsatisfied references:
                {name: _ddmStructureLocalService, target: null}
                {name: _ddmStructureVersionLocalService, target: null}
        }
        Declarative Service {id: 1463, name: com.liferay.dynamic.data.mapping.change.tracking.internal.service.CTDDMTemplateLocalServiceWrapper, unsatisfied references:
                {name: DDMTemplateLocalService, target: null}
                {name: _ddmTemplateLocalService, target: null}
                {name: _ddmTemplateVersionLocalService, target: null}
        }
        Declarative Service {id: 1461, name: com.liferay.dynamic.data.mapping.change.tracking.internal.service.CTDDMStructureLocalServiceWrapper, unsatisfied references:
                {name: DDMStructureLocalService, target: null}
                {name: _ddmStructureLocalService, target: null}
                {name: _ddmStructureVersionLocalService, target: null}
        }
        Declarative Service {id: 1462, name: com.liferay.dynamic.data.mapping.change.tracking.internal.service.CTDDMStructureVersionLocalServiceWrapper, unsatisfied references:
                {name: _ddmStructureVersionLocalService, target: null}
        }
        Declarative Service {id: 1460, name: com.liferay.dynamic.data.mapping.change.tracking.internal.configuration.DDMTemplateCTConfigurationRegistrar, unsatisfied references:
                {name: _ddmTemplateLocalService, target: null}
                {name: _ddmTemplateVersionLocalService, target: null}
        }
Bundle {id: 1422, name: com.liferay.dynamic.data.mapping.data.provider.impl, version: 3.0.2}
        Declarative Service {id: 1466, name: com.liferay.dynamic.data.mapping.data.provider.internal.rest.DDMRESTDataProvider, unsatisfied references:
                {name: ddmDataProviderInstanceService, target: null}
        }
        Declarative Service {id: 1465, name: com.liferay.dynamic.data.mapping.data.provider.internal.DDMDataProviderInvokerImpl, unsatisfied references:
                {name: ddmDataProviderInstanceService, target: null}
        }
and so on.
Complete Error Logs

Please help how can i resolve this issue
thumbnail
Olaf Kock, modified 5 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Aditya Bhardwaj:

Hi,I tried to migrate from Liferay 6.2 to Liferay DXP 7.2. Everything during migration is fine . Server is stared but now i am not able to see various portlets like webcontent, Document and media . Add (+) is also not working .
It's fine to look for community help on this, but notice: Since you're asking about the EE/DXP releases, you're paying for support, and should also definitely open a support ticket in Helpcenter first, to get the clock ticking. Upgrades are supported and if this is a known issue, support will be able to fix it quickly.
Also note that you should upgrade to the latest available fix/service pack (SP1 or FP3), as it might contain updated upgrade routines.
Irina Dozortseva, modified 5 Years ago. New Member Posts: 3 Join Date: 3/31/14 Recent Posts
I have exact problem and the same errors. Have you resolved it? If yes, how?  I have installed the latest SP1 (with Patch2) and then updated with Patch 4. None of this helped with the issue.
thumbnail
Alberto Chaparro, modified 5 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hi Irina,
This usually happens when a module fails during the upgrade and other modules depend on it. Please analyze carefully the upgrade.log to figure out what's happening. If you don't get any clue, please share your findings and the log.
Irina Dozortseva, modified 5 Years ago. New Member Posts: 3 Join Date: 3/31/14 Recent Posts
Thank you Alberto for reply. My last upgrade ended with success:
2020-03-31 20:59:41.984 INFO  [main][BaseAutoDeployListener:43] Copying themes for /tmp/20200331205941901VJOBWFRX/admin-theme.war
2020-03-31 20:59:42.126 INFO  [main][BaseDeployer:871] Deploying admin-theme.war
2020-03-31 20:59:50.175 INFO  [main][BaseAutoDeployListener:50] Themes for /tmp/20200331205941901VJOBWFRX/admin-theme.war copied successfully
2020-03-31 20:59:54.487 INFO  [main][BundleStartStopLogger:39] STARTED admin-theme_3.0.28 [1102]
2020-03-31 20:59:54.532 INFO  [main][BaseAutoDeployListener:43] Copying themes for /tmp/20200331205954490VATPCZCG/classic-theme.war
2020-03-31 20:59:54.661 INFO  [main][BaseDeployer:871] Deploying classic-theme.war
2020-03-31 21:00:02.034 INFO  [main][BaseAutoDeployListener:50] Themes for /tmp/20200331205954490VATPCZCG/classic-theme.war copied successfully
2020-03-31 21:00:06.039 INFO  [main][BundleStartStopLogger:39] STARTED classic-theme_3.0.30 [1104]Completed Liferay core upgrade and verify processes in 121 seconds
Checking to see if all upgrades have completed... done.
Nevertheless, Web Content never transferred and catalina.out has following error:
************
 2020-03-30 16:24:08.606 ERROR [http-nio-8080-exec-4][ImageImpl:69] Error reading image 17357
 Line 9584: 2020-03-30 16:24:08.606 ERROR [http-nio-8080-exec-4][ImageImpl:69] Error reading image 17357
 Line 9643:  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 Line 9643:  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 Line 9670: 2020-03-30 16:24:09.191 ERROR [http-nio-8080-exec-1][ImageImpl:69] Error reading image 17357
 Line 9670: 2020-03-30 16:24:09.191 ERROR [http-nio-8080-exec-1][ImageImpl:69] Error reading image 17357
 Line 9729:  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 Line 9729:  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 Line 9884: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-7][ImageImpl:69] Error reading image 35564
 Line 9884: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-7][ImageImpl:69] Error reading image 35564
 Line 9897: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-5][ImageImpl:69] Error reading image 17185
 Line 9897: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-5][ImageImpl:69] Error reading image 17185
 Line 9910: 2020-03-30 16:24:26.313 ERROR [ForkJoinPool-2-worker-2][ImageImpl:69] Error reading image 17182*
******************
Line 9962: 2020-03-30 16:24:26.331 ERROR [ForkJoinPool-2-worker-2][UpgradeImageTypeContent:184] Unable to add the journal article image 17182 into the file repository
 Line 9986: 2020-03-30 16:24:26.332 ERROR [ForkJoinPool-2-worker-5][UpgradeImageTypeContent:184] Unable to add the journal article image 17185 into the file repository
 Line 10010: 2020-03-30 16:24:26.334 ERROR [ForkJoinPool-2-worker-4][UpgradeImageTypeContent:184] Unable to add the journal article image 17184 into the file repository
 Line 10034: 2020-03-30 16:24:26.333 ERROR [ForkJoinPool-2-worker-0][ImageImpl:69] Error reading image 35876
 Line 10034: 2020-03-30 16:24:26.333 ERROR [ForkJoinPool-2-worker-0][ImageImpl:69] Error reading image 35876
 ********************
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 Line 9729:  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
 Line 9884: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-7][ImageImpl:69] Error reading image 35564
 Line 9884: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-7][ImageImpl:69] Error reading image 35564
 Line 9897: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-5][ImageImpl:69] Error reading image 17185
 Line 9897: 2020-03-30 16:24:26.312 ERROR [ForkJoinPool-2-worker-5][ImageImpl:69] Error reading image 17185
 Line 9910: 2020-03-30 16:24:26.313 ERROR [ForkJoinPool-2-worker-2][ImageImpl:69] Error reading image 17182
 Line 9910: 2020-03-30 16:24:26.313 ERROR [ForkJoinPool-2-worker-2][ImageImpl:69] Error reading image 17182
 *********************
Line 61771: 2020-03-30 16:24:28.420 ERROR [ForkJoinPool-2-worker-0][UpgradeImageTypeContent:184] Unable to add the journal article image 3161460 into the file repository
 Line 61799: 2020-03-30 16:24:28.428 ERROR [CM Event Dispatcher (Fire ConfigurationEvent: pid=com.liferay.portal.store.file.system.configuration.AdvancedFileSystemStoreConfiguration)][ReleaseManagerOSGiCommands:147] Failed upgrade process for module com.liferay.journal.service
 Line 62092: ERROR - Failed upgrade process for module com.liferay.journal.service
 Line 62534: 30-Mar-2020 16:34:46.176 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
 Line 62535: 2020-03-30 16:34:46.220 ERROR [main][PortalContextLoaderListener:114] java.lang.NullPointerException
 Line 62581: 2020-03-30 16:34:46.225 ERROR [main][PortalContextLoaderListener:114] java.lang.NullPointerException
 Line 62627: 2020-03-30 16:34:46.228 ERROR [main][PortalBeanLocatorUtil:66] BeanLocator is null
 Line 62792: 2020-03-30 16:34:46.253 ERROR [Portal Spring Init Thread][ContextLoader:225] Context initialization failed
 Line 62793: java.lang.NoClassDefFoundError: org.springframework.core.NestedExceptionUtils
 Line 62821: Exception in thread "Tomcat JDBC Pool Cleaner[1494337391:1585586076771]" java.lang.NoClassDefFoundError: org.apache.tomcat.jdbc.pool.FairBlockingQueue$FairIterator
 Line 62915: 30-Mar-2020 16:47:29.585 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
 Line 62916: 2020-03-30 16:47:29.626 ERROR [main][PortalContextLoaderListener:114] java.lang.NullPointerException
 
Although I completed upgrade for DXP 7.2 SP1, then installed SP4 and ran upgrade again with the hope to fix the journal services issues. I was able to start LifeRay, login and view all component except Web Content. 
Any suggestions will be helpful. 
 
thumbnail
Alberto Chaparro Terleira, modified 5 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hi Irina,
It seems that the journal service module didn't upgrade properly. It seems that it can't read files from the document library file system. please be sure you have configure your filesystem properly:https://portal.liferay.dev/docs/7-2/deploy/-/knowledge_base/d/preparing-a-new-product-server-for-data-upgrade#configure-your-documents-and-media-file-store

Including the creation of the specific file with the rootDir.
Since you are using the EE version, please, contact Liferay Support to assist you on this.
Cheers!