<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112431448" />
  <subtitle>Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112431448</id>
  <updated>2026-04-05T22:49:58Z</updated>
  <dc:date>2026-04-05T22:49:58Z</dc:date>
  <entry>
    <title>RE: Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112465293" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112465293</id>
    <updated>2019-02-26T07:39:53Z</updated>
    <published>2019-02-26T07:39:53Z</published>
    <summary type="html">Hi Syed,&lt;br /&gt;&lt;br /&gt;I am glad to hear that, in these cases to be sure that upgrade finished properly is recommended to execute the following commands in the Gogo console:&lt;br /&gt;- upgrade:check (it returns pending upgrade processes)&lt;br /&gt;- dm wtf (it returns pending modules which have any dependency unsatisfied. In some cases there are no pending upgrades because the dependencies are not fulfilled)&lt;br /&gt;&lt;br /&gt;At first glance the log looks fine, you only got an error in the marketplace portlet but it&amp;#39;s not problematic because its upgrade continues.&lt;br /&gt;&lt;br /&gt;Best regards.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2019-02-26T07:39:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112464613" />
    <author>
      <name>Syed Nouman Naseer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112464613</id>
    <updated>2019-02-26T07:07:46Z</updated>
    <published>2019-02-26T07:07:46Z</published>
    <summary type="html">Thanks Alberto, After shifting my old db to new server and then executing the upgrade process resolved all the issues and the migration is successful.&lt;br /&gt;Attached all the log files of successful migration. Please can you go through it and let me know if it is 100% successfull. &lt;br /&gt;​​​​​​​Thanks again</summary>
    <dc:creator>Syed Nouman Naseer</dc:creator>
    <dc:date>2019-02-26T07:07:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112458646" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112458646</id>
    <updated>2019-02-25T15:38:10Z</updated>
    <published>2019-02-25T15:38:10Z</published>
    <summary type="html">Hi Syed,&lt;br /&gt;&lt;br /&gt;As I said before, the reason for traces like this:&lt;br /&gt;2019-02-22 11:08:49.993 INFO  [pool-3-thread-10][UpgradeCompanyId:116] Skipping the creation of companyId column for table Groups_Roles&lt;br /&gt;&lt;br /&gt;is because the column companyId already exists in the table. However after that the process fails because the column does not exist. For that reason, could you verify:&lt;ul style="list-style: disc outside;"&gt;&lt;li&gt;if the skipped tables contain that column?&lt;/li&gt;&lt;li&gt;Could you also verify if the database user you are using can see other Liferay schemas in the database? (in this case the process can access to that schema instead of the one we are performing the upgrade and skip the creation of the column because in that schema the tables already contain the column)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Regarding this:&lt;br /&gt;2019-02-25 12:10:12.376 WARN  [main][UpgradeProcess:438] Attempting to upgrade table AssetEntry by recreating the table due to: ORA-22859: invalid modification of columns_ [Sanitized]&lt;br /&gt;&lt;br /&gt;This is normal in Oracle since some alter are not allowed so the portal needs to recreate the table (notice that it is a warning)&lt;br /&gt;&lt;br /&gt;Best regards.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2019-02-25T15:38:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112456929" />
    <author>
      <name>Syed Nouman Naseer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112456929</id>
    <updated>2019-02-25T13:56:37Z</updated>
    <published>2019-02-25T13:56:37Z</published>
    <summary type="html">Before trying liferay dxp 7.0 migration i was able to successfully migrate for liferay 7.1 CE from lifery 6.2. But in liferay dxp 7.0 i am getting these specific entries in log file,&lt;br /&gt;&lt;br /&gt;2019-02-22 11:08:49.993 INFO  [pool-3-thread-10][UpgradeCompanyId:116] Skipping the creation of companyId column for table Groups_Roles&lt;br /&gt;2019-02-22 11:08:49.968 INFO  [pool-3-thread-8][UpgradeCompanyId:116] Skipping the creation of companyId column for table DLSyncEvent&lt;br /&gt;2019-02-22 11:08:49.968 INFO  [pool-3-thread-1][UpgradeCompanyId:116] Skipping the creation of companyId column for table AnnouncementsFlag&lt;br /&gt;2019-02-22 11:08:49.966 INFO  [pool-3-thread-9][UpgradeCompanyId:116] Skipping the creation of companyId column for table Groups_Orgs&lt;br /&gt;2019-02-22 11:08:49.966 INFO  [pool-3-thread-3][UpgradeCompanyId:116] Skipping the creation of companyId column for table AssetEntries_AssetTags&lt;br /&gt;&lt;br /&gt;Also getting this,&lt;br /&gt;&lt;br /&gt;2019-02-25 12:10:12.376 WARN  [main][UpgradeProcess:438] Attempting to upgrade table AssetEntry by recreating the table due to: ORA-22859: invalid modification of columns_ [Sanitized]&lt;br /&gt;&lt;br /&gt;But was able to successfully create compay id coloumns in previous migration of 7.1 CE.&lt;br /&gt;&lt;br /&gt;Any help in this matter is highly appreciated.&lt;br /&gt;Thanks</summary>
    <dc:creator>Syed Nouman Naseer</dc:creator>
    <dc:date>2019-02-25T13:56:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112434882" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112434882</id>
    <updated>2019-02-22T15:35:20Z</updated>
    <published>2019-02-22T15:35:20Z</published>
    <summary type="html">Hi &lt;span style="color: inherit"&gt;&lt;span style="font-family: inherit"&gt;&lt;span style="font-size: 14px;"&gt;Syed,&lt;br /&gt;&lt;br /&gt;It&amp;#39;s really strange because the process which is failing verifies first if the column companyId exist and then update its value so it shouldn&amp;#39;t return &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;#34;COMPANYID&amp;#34;: invalid identifier&lt;span style="color: inherit"&gt;&lt;span style="font-family: inherit"&gt;&lt;span style="font-size: 14px;"&gt;. I got some strange problems like this with Oracle when the user I have used to connect to the database has persmission to see other Liferay&amp;#39;s schemas, could you verify this? If so, please use a user which only can see the schema which you are trying to upgrade.&lt;br /&gt;&lt;br /&gt;I hope it helps.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Best regards.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2019-02-22T15:35:20Z</dc:date>
  </entry>
  <entry>
    <title>Oracle DB Migration from Liferay 6.2 to Liferay DXP 7.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112431447" />
    <author>
      <name>Syed Nouman Naseer</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112431447</id>
    <updated>2019-02-22T11:24:19Z</updated>
    <published>2019-02-22T11:24:19Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I am trying to do DB migration from 6.2 to liferay DXP 7.0 . After running db_upgrade.bat file i am getting the following exceptions,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.util.concurrent.ExecutionException: java.sql.SQLSyntaxErrorException: ORA-00904: &amp;#34;COMPANYID&amp;#34;: invalid identifier&lt;br /&gt;&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:97)&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:177)&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:144)&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:126)&lt;br /&gt;        at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:171)&lt;br /&gt;        at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:81)&lt;br /&gt;        at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:156)&lt;br /&gt;        at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:102)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br /&gt;        at java.lang.reflect.Method.invoke(Method.java:498)&lt;br /&gt;        at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)&lt;br /&gt;Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: java.util.concurrent.ExecutionException: java.sql.SQLSyntaxErrorException: ORA-00904: &amp;#34;COMPANYID&amp;#34;: invalid identifier&lt;br /&gt;&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:97)&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:122)&lt;br /&gt;        at com.liferay.portal.upgrade.UpgradeProcess_7_0_0.doUpgrade(UpgradeProcess_7_0_0.java:78)&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:92)&lt;br /&gt;        ... 12 more&lt;br /&gt;Caused by: java.util.concurrent.ExecutionException: java.sql.SQLSyntaxErrorException: ORA-00904: &amp;#34;COMPANYID&amp;#34;: invalid identifier&lt;br /&gt;&lt;br /&gt;        at java.util.concurrent.FutureTask.report(FutureTask.java:122)&lt;br /&gt;        at java.util.concurrent.FutureTask.get(FutureTask.java:192)&lt;br /&gt;        at com.liferay.portal.upgrade.util.UpgradeCompanyId.doUpgrade(UpgradeCompanyId.java:65)&lt;br /&gt;        at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:92)&lt;br /&gt;        ... 15 more&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Upgrade logs are attached for reference.</summary>
    <dc:creator>Syed Nouman Naseer</dc:creator>
    <dc:date>2019-02-22T11:24:19Z</dc:date>
  </entry>
</feed>
