6.2 to DXP 7.1 Upgrade- Audience Targeting6.2 to DXP 7.1 Upgrade- Audience Targetinghttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1145030162024-03-28T21:52:56Z2024-03-28T21:52:56ZRE: 6.2 to DXP 7.1 Upgrade- Audience TargetingOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1146034342019-08-05T07:48:49Z2019-08-05T07:48:49ZAs this is all on EE/DXP, I'd suggest to open a ticket with support. Upgrading is supported, and if there are problems, the team might be interested to document it for future upgrades (or be able to point you to such documentation that they might already have written)Olaf Kock2019-08-05T07:48:49ZRE: 6.2 to DXP 7.1 Upgrade- Audience TargetingGopal Prasad Satapathyhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1146015572019-08-05T07:17:49Z2019-08-05T07:17:49ZAttaching the missed logGopal Prasad Satapathy2019-08-05T07:17:49ZRE: 6.2 to DXP 7.1 Upgrade- Audience TargetingGopal Prasad Satapathyhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1146015352019-08-05T07:16:51Z2019-08-05T07:16:51ZHello Eduardo,<br /><br />Just to update, i re-executed the upgrade process and following are the observations:<br /><br />1=>The upgrade completed with following error. Complete log attached(output04-08-2019-1.log)<br /><br />2019-08-04 11:44:08.127 ERROR [main][com_liferay_portal_upgrade_impl:97] Invocation to listener threw exception <br />com.liferay.portal.kernel.upgrade.UpgradeException: Bundle com.liferay.content.targeting.anonymous.users.service_3.0.0 [977] has invalid content in tables.sql:_create table CT_AU_AnonymousUser (_ uuid_ VARCHAR(75) null,_ anonymousUserId LONG not null primary key,_ companyId LONG,_ userId LONG,_ userName VARCHAR(75) null,_ createDate DATE null,_ modifiedDate DATE null,_ lastIp VARCHAR(75) null,_ typeSettings TEXT null_); [Sanitized] <br />Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'CT_AU_AnonymousUser' already exists <br />at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br /><br />This time we had AT 3.0.0 in the DXP 7.1<br /><br />2=> While the upgrade was running it took around 14 Hours to complete and noticed that significant time was used for Audience Target related tables(alter/update operations). Mainly for CT_Analytics_AnalyticsEvent & CT_Analytics_AnalyticsReferrer tables which has row count as 54744339 & 105391825 respectively. <br /><br />Please suggest how to deal with this situation.<br /><br />Thanks<br />GopalGopal Prasad Satapathy2019-08-05T07:16:51ZRE: 6.2 to DXP 7.1 Upgrade- Audience TargetingGopal Prasad Satapathyhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1145582462019-08-01T11:07:37Z2019-08-01T11:07:37ZHello <strong><span style="color: inherit"><span style="font-family: inherit"><span style="font-size: 14px;">Eduardo ,<br /></span></span></span></strong><br />In 6.2, Audience Targeting 1.1.5 is installed<br /><br /><strong>6.2 environment has following --></strong><br /><br /><em>Loading product and patch information... <br />Product information: <br />* installation type: binary <br />* build number: 6210 <br />* service pack version: <br />- available SP version: 18 <br />- installable SP version: 18 <br />* patching-tool version: 22 <br />* time: 2019-04-24 14:01Z <br />* plugins: Analytics Hook Hook, Catalyst, Ehcache Cluster EE Web, Index Checker Portlet, Kaleo Workflow EE Web, Link Scanner Portlet, Marketplace Portlet, Portal 6.2 Compatibility Hook for Audience Targeting, SAML 2.0 Provider EE Portlet, Simulator Hook Hook, Solr 4 Search Engine EE Web, User Export Import Portlet, athome-layouttpl Layouttpl, XXXXXX-assetpublisher-hook Hook, XXXXXX-javascript-hook Hook, XXXXXX-language-hook Hook, XXXXXX-search-hook Hook,<br /><br />Currently installed patches: hotfix-26945-6210<br /><br />Available patches: portal-145-6210, hotfix-26945-6210<br /><br />Detailed patch list: <br />[ D] portal-145-6210 :: Currently not installed; Won't be installed: the same issues were fixed in the following patch(es): hotfix-26945-6210 :: Built for LIFERAY <br />[*I] hotfix-26945-6210 :: Installed; Will be installed. :: XXXXXXXXX-18 :: Built for XXXXXXXX</em><br /><br /><strong>DXP 7.1 environment has following --></strong><br /><br />Loading product and patch information...<br />Product information:<br /> * installation type: binary<br /> * build number: 7110<br /> * service pack version:<br /> - available SP version: 2<br /> - installable SP version: 2<br /> * patching-tool version: 2.0.11<br /> * time: 2019-07-30 16:25Z<br /> * host: XXXXXX-liferay-36-p8fzl (48 cores)<br /> * plugins: Liferay User Synchronization, XXXXXX4me-dxp-theme<br /><br />Currently installed patches: dxp-11-7110<br />Available patches: hotfix-739-7110, dxp-10-7110, dxp-11-7110<br />Detailed patch list: <br /> [ o] hotfix-739-7110 :: Currently not installed; Won't be installed: Cannot be installed as it's not compatible with dxp-11 :: 4868 :: Built for XXXXXXXXX<br /> [ -] dxp-10-7110 :: Currently not installed; Won't be installed: dxp-11 contains the fixes included in this one :: Built for LIFERAY<br /> [*I] dxp-11-7110 :: Installed; Will be installed. :: Built for LIFERAY<br /><br />For upgrade following procedure was followed.<br /><br />1.The 6.2 database and doc/lib dump was imported to another environment with DXP 7.1<br />2. As per liferay documentation the indexing was disabled and db upgrade was run using the upgrade tool<br /><br /><br />Initially with only core upgrade upgrade was successful but during startup Audience Target would start upgrading and will through error.Now this time i did the whole upgrade again and ended up with error as shared before.Attaching the complete upgrade log for reference.<br /><br />Could you please specify at which step i need to install the latest Audience Targeting (i guess latest one is 3.0.0)?<br /><br />Thanks<br />GopalGopal Prasad Satapathy2019-08-01T11:07:37ZRE: 6.2 to DXP 7.1 Upgrade- Audience TargetingEduardo P. Garcíahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1145559382021-02-24T16:58:44Z2019-08-01T09:46:26ZHi Gopal,<br /><br />Could you please provide the steps you're following and the Liferay 6.2 EE and 7.1 DXP versions you're using?<br /><br />Are you installing the compatible version of Audience Targeting for Liferay 7.1?<br /><br />ThanksEduardo P. García2019-08-01T09:46:26ZRE: 6.2 to DXP 7.1 Upgrade- Audience TargetingGopal Prasad Satapathyhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1145526532019-08-01T05:11:03Z2019-08-01T05:11:03ZHello,<br /><br />Getting following exception during the upgrade process for Audience Targeting.<br /><br /><em>2019-07-31 10:04:09.090 ERROR [main][com_liferay_portal_upgrade_impl:97] bundle com.liferay.portal.upgrade.impl:2.0.16 (499)[com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands(2221)] : The activate method has thrown an exception <br />com.liferay.portal.kernel.upgrade.UpgradeException: Bundle com.liferay.content.targeting.anonymous.users.service_3.0.0 [1032] has invalid content in tables.sql:_create table CT_AU_AnonymousUser (_ uuid_ VARCHAR(75) null,_ anonymousUserId LONG not null primary key,_ companyId LONG,_ userId LONG,_ userName VARCHAR(75) null,_ createDate DATE null,_ modifiedDate DATE null,_ lastIp VARCHAR(75) null,_ typeSettings TEXT null_); [Sanitized]</em><br /><br /><em>2019-07-31 10:04:09.098 WARN [main][com_liferay_portal_upgrade_impl:103] bundle com.liferay.portal.upgrade.impl:2.0.16 (499)[com.liferay.portal.upgrade.internal.registry.UpgradeStepRegistratorTracker(2219)] : Could not get service from ref {com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands}={osgi.command.scope=upgrade, service.id=4219, service.bundleid=499, service.scope=bundle, osgi.command.function=[check,execute,executeAll,list], <br />component.name=com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands, component.id=2221}</em><br /><br /><em>2019-07-31 10:04:09.124 ERROR [main][com_liferay_portal_upgrade_impl:97] bundle com.liferay.portal.upgrade.impl:2.0.16 (499)[com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands(2221)] : The activate method has thrown an exception <br />com.liferay.portal.kernel.upgrade.UpgradeException: Bundle com.liferay.content.targeting.anonymous.users.service_3.0.0 [1032] has invalid content in tables.sql:_create table CT_AU_AnonymousUser (_ uuid_ VARCHAR(75) null,_ anonymousUserId LONG not null primary key,_ companyId LONG,_ userId LONG,_ userName VARCHAR(75) null,_ createDate DATE null,_ modifiedDate DATE null,_ lastIp VARCHAR(75) null,_ typeSettings TEXT null_); [Sanitized]<br /><br /></em>Any pointer towards solution would be of great help<br /><br />Thanks<em></em>Gopal Prasad Satapathy2019-08-01T05:11:03Z6.2 to DXP 7.1 Upgrade- Audience TargetingGopal Satapathyhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1145030152019-07-30T11:12:40Z2019-07-30T11:12:40ZHi,<b