Issue Upgrading Database from 6.2 to 7.2.1-ga2Issue Upgrading Database from 6.2 to 7.2.1-ga2https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1200850952024-03-29T09:47:28Z2024-03-29T09:47:28ZRE: Issue Upgrading Database from 6.2 to 7.2.1-ga2Olaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1201232192020-10-21T07:24:33Z2020-10-21T07:24:33Z<div class="quote-title">srini vasulu:</div><blockquote><br /><br />Hi Any one faced the above issue when upgrade to 7.2.1?<br /></blockquote><br />Can you try manual reindexing in ControlPanel? There's a specific reindex activity just for the User data. Typically, when users aren't shown, this is a function of an index being out of date.Olaf Kock2020-10-21T07:24:33ZRE: Issue Upgrading Database from 6.2 to 7.2.1-ga2srini vasuluhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1201194562020-10-20T16:38:36Z2020-10-20T16:38:36Z<div class="quote-title">srini vasulu:</div><blockquote><br /><div class="quote-title">Christoph Rabel:</div><blockquote><br />v_user_emails and users-roles_v are not Liferay standard. I guess, somebody in your company has created those views manually for some purpose. You probably need to delete them before upgrading the database and if they are still needed, restore them later on.</blockquote><br /><br />Thanks <span style="font-size: 16px;">Christoph Rabel and after removed the views then upgraded database.</span><br />but i got again one more issue is users and organizations are not displaying in control pane users tab and organization tabs.But we can see users in site membership place.even i am added below propertiy in portal-ext.properties and restarted server but still same issue# when starting time reindex<br />database.indexes.update.on.startup=true<br /><br />Thanks,<br /></blockquote><blockquote>Srini</blockquote><br />Hi Any one faced the above issue when upgrade to 7.2.1?srini vasulu2020-10-20T16:38:36ZRE: Issue Upgrading Database from 6.2 to 7.2.1-ga2srini vasuluhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1201053362020-10-16T13:09:31Z2020-10-16T13:09:31Z<div class="quote-title">Christoph Rabel:</div><blockquote><br />v_user_emails and users-roles_v are not Liferay standard. I guess, somebody in your company has created those views manually for some purpose. You probably need to delete them before upgrading the database and if they are still needed, restore them later on.</blockquote><br /><br />Thanks <span style="font-size: 16px;">Christoph Rabel and after removed the views then upgraded database.</span><br />but i got again one more issue is users and organizations are not displaying in control pane users tab and organization tabs.But we can see users in site membership place.even i am added below propertiy in portal-ext.properties and restarted server but still same issue# when starting time reindex<br />database.indexes.update.on.startup=true<br /><br />Thanks,Srinisrini vasulu2020-10-16T13:09:31ZRE: Issue Upgrading Database from 6.2 to 7.2.1-ga2Christoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1200875112020-10-12T20:00:27Z2020-10-12T20:00:27Zv_user_emails and users-roles_v are not Liferay standard. I guess, somebody in your company has created those views manually for some purpose. You probably need to delete them before upgrading the database and if they are still needed, restore them later on.Christoph Rabel2020-10-12T20:00:27ZIssue Upgrading Database from 6.2 to 7.2.1-ga2srini vasuluhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1200850942020-10-12T17:25:30Z2020-10-12T17:25:30ZHi <br />After i followed the steps to upgrade <a href="https://help.liferay.com/hc/en-us/articles/360028711612-Introduction-to-Upgrading-to-Liferay-DXP-7-2">https://help.liferay.com/hc/en-us/articles/360028711612-Introduction-to-Upgrading-to-Liferay-DXP-7-2</a><br /><a href="https://help.liferay.com/hc/en-us/articles/360028711612-Introduction-to-Upgrading-to-Liferay-DXP-7-2"></a>i am getting the below error.<br /><br />com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: org.postgresql.util.PSQLException: ERROR: cannot drop table user_ because other objects depend on it<br /> Detail: view v_user_emails depends on table user_<br />view "users-roles_v" depends on table user_<br /> Hint: Use DROP ... CASCADE to drop the dependent objects too.<br /> at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:101)<br /> at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:173)<br /> at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:140)<br /> at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:122)<br /> at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:154)<br /> at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:85)<br /> at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:174)<br /> at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:105)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> at java.lang.reflect.Method.invoke(Method.java:498)<br /> at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)<br />Caused by: com.liferay.portal.kernel.