Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-107330

Failed upgrade v7_0_0.UpgradeGroup from 6.2 to master-private on sybase 16

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Start a 6.2.10 EE(for example SP20) on Sybase 16.
      2. Upgrade to master-private.

      Expected result:
      Upgrade successfully.

      Actual result:
      Upgrade failed.

      2020-01-19 09:21:51.618 INFO  [main][UpgradeProcess:107] Failed upgrade process com.liferay.portal.upgrade.v7_0_0.UpgradeGroup in 267 ms
      2020-01-19 09:21:51.618 INFO  [main][UpgradeProcess:107] Failed upgrade process com.liferay.portal.upgrade.UpgradeProcess_7_0_0 in 4202 ms
      com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.sybase.jdbc4.jdbc.SybSQLException: Error converting characters into server's character set. Some character(s) could not be converted.
      
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:101)
              at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:173)
              at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:140)
              at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:122)
              at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:154)
              at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:85)
              at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:174)
              at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:105)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)
      Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.sybase.jdbc4.jdbc.SybSQLException: Error converting characters into server's character set. Some character(s) could not be converted.
      
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:101)
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:141)
              at com.liferay.portal.upgrade.UpgradeProcess_7_0_0.doUpgrade(UpgradeProcess_7_0_0.java:92)
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:96)
              ... 12 more
      Caused by: com.sybase.jdbc4.jdbc.SybSQLException: Error converting characters into server's character set. Some character(s) could not be converted.
      
              at com.sybase.jdbc4.tds.Tds.processEed(Tds.java:4131)
              at com.sybase.jdbc4.tds.Tds.nextResult(Tds.java:3247)
              at com.sybase.jdbc4.jdbc.ResultGetter.nextResult(ResultGetter.java:78)
              at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:294)
              at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:276)
              at com.sybase.jdbc4.jdbc.SybStatement.updateLoop(SybStatement.java:2749)
              at com.sybase.jdbc4.jdbc.SybStatement.executeUpdate(SybStatement.java:2733)
              at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeUpdate(SybPreparedStatement.java:335)
              at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
              at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
              at com.liferay.portal.upgrade.v7_0_0.UpgradeGroup.updateGlobalGroupName(UpgradeGroup.java:89)
              at com.liferay.portal.upgrade.v7_0_0.UpgradeGroup.doUpgrade(UpgradeGroup.java:49)
              at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:96)
              ... 15 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              harry.chai Harry Chai
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                37 weeks, 1 day ago

                  Packages

                  Version Package
                  7.2.X
                  7.3.X
                  Master