Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.0.6 GA, 6.1.0 CE GA1
-
Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
-
Component/s: Infrastructure, Infrastructure > DBs, Upgrades
-
Labels:
-
Environment:mysql 5.5 , tomcat 7
-
Similar Issues:
Description
Hi,
Upgrade from liferay 6.0.6-20110225 to 6.1 GA1 is failing . Below is the error
04:42:20,616 INFO [DialectDetector:80] Determine dialect for MySQL 5 04:42:20,663 INFO [DialectDetector:145] Found dialect org.hibernate.dialect.MySQLDialect 04:42:43,585 INFO [BaseDB:409] Database does not support case sensitive queries 04:42:43,757 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.UpgradeProcess_6_1_0 04:42:43,757 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeSchema 04:42:49,460 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeUserName 04:42:49,522 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeAdminPortlets 04:42:49,600 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeBlogs 04:42:49,632 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeCamelCasePortletPreferences 04:42:50,819 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeCountry 04:42:50,897 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeDocumentLibrary 04:42:51,257 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeExpando 04:42:51,257 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeGroup 04:42:51,304 INFO [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeImageGallery 04:42:51,600 ERROR [MainServlet:198] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portlet.documentlibrary.DuplicateFileException: Z:\LiferayCode\Liferay6.1\liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760\liferay-portal-6.1.0-ce-ga1\data\document_library\10132\0\document_thumbnail\10413\238\10734\17708.gif\1.0 com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portlet.documentlibrary.DuplicateFileException: Z:\LiferayCode\Liferay6.1\liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760\liferay-portal-6.1.0-ce-ga1\data\document_library\10132\0\document_thumbnail\10413\238\10734\17708.gif\1.0 at com.liferay.portal.events.StartupAction.run(StartupAction.java:58) at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1267) at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:195) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5001) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portlet.documentlibrary.DuplicateFileException: Z:\LiferayCode\Liferay6.1\liferay-portal-tomcat-6.1.0-ce-ga1-20120106155615760\liferay-portal-6.1.0-ce-ga1\data\document_library\10132\0\document_thumbnail\10413\238\10734\17708.gif\1.0 at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:211) at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:93) at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:46) at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:81) at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:40) at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:119) at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:144) at com.liferay.portal.events.StartupAction.run(StartupAction.java:52) ... 20 more
Please suggest a solution.
Thanks
Regards,
Venugopal

Hi Venugopal,
Please before creating an issue, search if it isn't opened yet.
This issue is duplicated from
LPS-25041and it's solved in next CE version (6.1.1 GA2), to be released in few weeks.If you can't wait, just patch 6.0.6 with this patch:
https://github.com/caorongjin/liferay-portal/commit/f83c4dd305635e18262088a6bd45828dbe4794ed.patch
This issue can be closed (as duplicated).