Fórum

upgrade from 6.0.6 to 6.1.1 : VerifyException and upgrade fails

thumbnail
Marco Ferretti, modificado 11 Anos atrás.

upgrade from 6.0.6 to 6.1.1 : VerifyException and upgrade fails

Regular Member Postagens: 100 Data de Entrada: 04/10/10 Postagens Recentes
Hi all,

I am testing the upgrade process of one of our servers. The starting LF release is 6.0.6CE, the target is 6.1.1 CE .

The upgrade process stops with the following exception :

08:20:30,116 ERROR [pool-2-thread-1][MainServlet:217] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileException: {fileName=58, versionLabel=1.0}
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileException: {fileName=58, versionLabel=1.0}
        at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
        at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1306)
        at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:214)
        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:5015)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
        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:1585)
        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:662)
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileException: {fileName=58, versionLabel=1.0}
        at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:87)
        at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:113)
        at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:78)
        at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:47)
        at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:136)
        at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:52)
        at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:210)
        at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:182)
        at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
        ... 20 more
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileException: {fileName=58, versionLabel=1.0}
        at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:87)
        at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:92)
        at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
        at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:84)
        ... 28 more
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: {fileName=58, versionLabel=1.0}
        at com.liferay.portlet.documentlibrary.store.JCRStore.getFileContentNode(JCRStore.java:886)
        at com.liferay.portlet.documentlibrary.store.JCRStore.getFileAsStream(JCRStore.java:441)
        at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:163)
        at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:249)
        at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:272)
        at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:425)
        at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:738)
        at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
        at $Proxy184.getFileAsStream(Unknown Source)
        at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:463)
        at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:135)
        at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:230)
        at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:84)
        ... 31 more
Stopping the server due to unexpected startup errors


So I rolled the backups of the data directory and the database, went into the database to locate the file, fired 6.0.6, went into manage->control panel->document library of the community the file belongs to, looked for the file and downloaded it without a problem .

Can someone please help me out with this ?
Abc Defg, modificado 11 Anos atrás.

RE: upgrade from 6.0.6 to 6.1.1 : VerifyException and upgrade fails

New Member Postagens: 16 Data de Entrada: 11/05/12 Postagens Recentes
Hi, did you figure this out? Looks like you are not the only one:
https://www.liferay.com/community/forums/-/message_boards/message/18266326

Thank you.
thumbnail
Riccardo Ferrari, modificado 11 Anos atrás.

RE: upgrade from 6.0.6 to 6.1.1 : VerifyException and upgrade fails

Regular Member Postagens: 139 Data de Entrada: 13/11/10 Postagens Recentes
Hi,

Has the file the very same version (1.0)?
Have you tried to reindex before upgrading?

Best,
Riccardo