留言板

Liferay 6.2 upgrade

Akram MONCER,修改在10 年前。

Liferay 6.2 upgrade

Regular Member 帖子: 106 加入日期: 12-9-25 最近的帖子
hi every one
i try to upgrade from 6.0.6 to 6.2 ce. i follow the steps indicated in the upgrading guide https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/upgrading-liferay-liferay-portal-6-2-user-guide-18-en but i get this error:

15:00:46,381 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
15:02:38,921 WARN  [localhost-startStop-1][VerifyDocumentLibrary:161] Unable to find file entry 2775
com.liferay.portlet.documentlibrary.NoSuchFileException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45593\2775\1.0
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:215)
	at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:178)
	at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:264)
	at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:299)
	at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:452)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1001)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:980)
	at sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.sun.proxy.$Proxy199.getFileAsStream(Unknown Source)
	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:553)
	at com.liferay.portal.verify.VerifyDocumentLibrary$1.performAction(VerifyDocumentLibrary.java:155)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkFileEntryMimeTypes(VerifyDocumentLibrary.java:194)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:259)
	at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:379)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66)
	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:146)
	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:206)
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:68)
	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1238)
	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:206)
	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45593\2775\1.0 (Le chemin d’accès spécifié est introuvable)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:212)
	... 50 more
15:02:39,705 WARN  [localhost-startStop-1][VerifyDocumentLibrary:161] Unable to find file entry 2784
com.liferay.portlet.documentlibrary.NoSuchFileException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45593\2784\1.0
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:215)
	at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:178)
	at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:264)
	at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:299)
	at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:452)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1001)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:980)
	at sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.sun.proxy.$Proxy199.getFileAsStream(Unknown Source)
	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:553)
	at com.liferay.portal.verify.VerifyDocumentLibrary$1.performAction(VerifyDocumentLibrary.java:155)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkFileEntryMimeTypes(VerifyDocumentLibrary.java:194)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:259)
	at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:379)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66)
	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:146)
	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:206)
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:68)
	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1238)
	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:206)
	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45593\2784\1.0 (Le chemin d’accès spécifié est introuvable)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:212)
	... 50 more
15:02:40,658 WARN  [localhost-startStop-1][VerifyDocumentLibrary:161] Unable to find file entry 2814
com.liferay.portlet.documentlibrary.NoSuchFileException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45696\2814\1.0
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:215)
	at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:178)
	at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:264)
	at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:299)
	at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:452)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1001)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:980)
	at sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.sun.proxy.$Proxy199.getFileAsStream(Unknown Source)
	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:553)
	at com.liferay.portal.verify.VerifyDocumentLibrary$1.performAction(VerifyDocumentLibrary.java:155)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkFileEntryMimeTypes(VerifyDocumentLibrary.java:194)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:259)
	at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:379)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66)
	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:146)
	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:206)
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:68)
	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1238)
	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:206)
	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45696\2814\1.0 (Le chemin d’accès spécifié est introuvable)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:212)
	... 50 more
15:02:40,750 WARN  [localhost-startStop-1][VerifyDocumentLibrary:161] Unable to find file entry 2827
com.liferay.portlet.documentlibrary.NoSuchFileException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45698\2827\1.0
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:215)
	at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:178)
	at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:264)
	at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:299)
	at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:452)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1001)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:980)
	at sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.sun.proxy.$Proxy199.getFileAsStream(Unknown Source)
	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:553)
	at com.liferay.portal.verify.VerifyDocumentLibrary$1.performAction(VerifyDocumentLibrary.java:155)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkFileEntryMimeTypes(VerifyDocumentLibrary.java:194)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:259)
	at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:379)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66)
	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:146)
	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:206)
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:68)
	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1238)
	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:206)
	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45698\2827\1.0 (Le chemin d’accès spécifié est introuvable)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:212)
	... 50 more
15:02:40,801 WARN  [localhost-startStop-1][VerifyDocumentLibrary:161] Unable to find file entry 2836
com.liferay.portlet.documentlibrary.NoSuchFileException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45698\2836\1.0
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:215)
	at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:178)
	at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:264)
	at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:299)
	at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:452)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1001)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:980)
	at sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.sun.proxy.$Proxy199.getFileAsStream(Unknown Source)
	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:553)
	at com.liferay.portal.verify.VerifyDocumentLibrary$1.performAction(VerifyDocumentLibrary.java:155)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkFileEntryMimeTypes(VerifyDocumentLibrary.java:194)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:259)
	at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:379)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66)
	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:146)
	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:206)
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:68)
	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1238)
	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:206)
	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: D:\LifeRay2\migration\liferay-portal-6.2.0-ce-ga1\data\document_library\10132\45698\2836\1.0 (Le chemin d’accès spécifié est introuvable)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:212)
	... 50 more
15:02:50,894 ERROR [localhost-startStop-1][MainServlet:209] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the primary key 0
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the primary key 0
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:74)
	at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1238)
	at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:206)
	at javax.servlet.GenericServlet.init(GenericServlet.java:160)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5176)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5460)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the primary key 0
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:61)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:111)
	at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:76)
	at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
	at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:146)
	at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:67)
	at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:240)
	at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:206)
	at com.liferay.portal.events.StartupAction.run(StartupAction.java:68)
	... 19 more
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the primary key 0
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:61)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:66)
	at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:41)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	... 27 more
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileEntryException: No DLFileEntry exists with the primary key 0
	at com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistenceImpl.findByPrimaryKey(DLFileEntryPersistenceImpl.java:11110)
	at com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistenceImpl.findByPrimaryKey(DLFileEntryPersistenceImpl.java:11128)
	at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileEntry(DLFileEntryLocalServiceImpl.java:1111)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
	at com.sun.proxy.$Proxy199.getFileEntry(Unknown Source)
	at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileEntry(DLFileEntryLocalServiceUtil.java:647)
	at com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl.getFileEntry(DLFileVersionImpl.java:97)
	at com.liferay.portal.verify.VerifyDocumentLibrary$2.performAction(VerifyDocumentLibrary.java:218)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
	at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:45)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkFileVersionMimeTypes(VerifyDocumentLibrary.java:249)
	at com.liferay.portal.verify.VerifyDocumentLibrary.checkMimeTypes(VerifyDocumentLibrary.java:260)
	at com.liferay.portal.verify.VerifyDocumentLibrary.doVerify(VerifyDocumentLibrary.java:379)
	at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:58)
	... 30 more
Stopping the server due to unexpected startup errors
</init></init></init></init></init>


can anyone help please.
thumbnail
Juan Gonzalez,修改在10 年前。

RE: Liferay 6.2 upgrade

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Hi Akram.

seems that some files exists in DB but not in your file system.

The issue is this:

https://issues.liferay.com/browse/LPS-42839

As always, the sources are in github ;-)
Akram MONCER,修改在10 年前。

RE: Liferay 6.2 upgrade

Regular Member 帖子: 106 加入日期: 12-9-25 最近的帖子
hi thank you for your response, but it seems that they fix the error for liferay EE and i'm using CE
thumbnail
Juan Gonzalez,修改在10 年前。

RE: Liferay 6.2 upgrade

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Hi Akram,

if it's solved in master then you can get the code changes searching for that LPS in github.

But you have to patch manually and maybe solution isn't 100% compatible or the right one for 6.2.
srini vasulu,修改在7 年前。

RE: Liferay 6.2 upgrade

Regular Member 帖子: 139 加入日期: 11-2-22 最近的帖子
Hi
I am upgrading from liferay-portal-6.1.1-ce-ga2 to liferay-portal-6.2-ce-ga6 and getting same error like NoSuchFile exception
but server started properly and loged into portlet and checked in document and library i can see all the files but when click on download then i am getting the NOT Found error as attached.
Could you Please let me know what steps i need to follow to resolve this issue.


ERROR [localhost-startStop-1][VerifyUtil:264] com.liferay.portlet.documentlibrary.NoSuchFileException: C:\Upgrade\liferay-portal-6.2-ce-ga6\data\document_library\10154\10656\21\1.0
com.liferay.portlet.documentlibrary.NoSuchFileException: C:\Upgrade\liferay-portal-6.2-ce-ga6\data\document_library\10154\10656\21\1.0
        at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:224)
        at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:178)
        at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:264)
        at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:300)
        at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:452)
        at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1101)
        at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.getFileAsStream(DLFileEntryLocalServiceImpl.java:1084)
        at sun.reflect.GeneratedMethodAccessor308.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.sun.proxy.$Proxy201.getFileAsStream(Unknown Source)
        at com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceUtil.getFileAsStream(DLFileEntryLocalServiceUtil.java:613)
        at com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl.getContentStream(DLFileVersionImpl.java:53)
        at com.liferay.sync.util.SyncUtil.getChecksum(SyncUtil.java:161)
        at com.liferay.sync.util.SyncUtil.toSyncDLObject(SyncUtil.java:453)
        at com.liferay.sync.util.SyncUtil.toSyncDLObject(SyncUtil.java:384)
        at com.liferay.sync.util.VerifyUtil$2.performAction(VerifyUtil.java:258)
        at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:324)
        at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActions(BaseActionableDynamicQuery.java:46)
        at com.liferay.sync.util.VerifyUtil.verifyDLFileEntriesAndFolders(VerifyUtil.java:278)
        at com.liferay.sync.util.VerifyUtil.doVerify(VerifyUtil.java:103)
        at com.liferay.sync.util.VerifyUtil.verify(VerifyUtil.java:52)
        at com.liferay.sync.hook.events.StartupAction.doRun(StartupAction.java:44)
        at com.liferay.sync.hook.events.StartupAction.run(StartupAction.java:30)
        at com.liferay.portal.kernel.events.InvokerSimpleAction.run(InvokerSimpleAction.java:42)
        at com.liferay.portal.deploy.hot.HookHotDeployListener.initEvent(HookHotDeployListener.java:1390)
        at com.liferay.portal.deploy.hot.HookHotDeployListener.initEvents(HookHotDeployListener.java:1453)
        at com.liferay.portal.deploy.hot.HookHotDeployListener.initPortalProperties(HookHotDeployListener.java:1775)
        at com.liferay.portal.deploy.hot.HookHotDeployListener.doInvokeDeploy(HookHotDeployListener.java:720)
        at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:314)
        at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:230)
        at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
        at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
        at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
        at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
        at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
        at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
        at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
        at com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:151)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: C:\Upgrade\liferay-portal-6.2-ce-ga6\data\document_library\10154\10656\21\1.0 (The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:221)
        ... 58 more</init>
thumbnail
Anna Pakkala,修改在7 年前。

RE: Liferay 6.2 upgrade

New Member 帖子: 16 加入日期: 13-8-15 最近的帖子
I'm getting this as well. When I access files via Documents & media portlet, they work fine, but trying to access them from asset publisher or (if they are attachments) form the wiki pages/discussion threads results in not found.

I need a solution that does not involve remigration emoticon
thumbnail
Juan Gonzalez,修改在7 年前。

RE: Liferay 6.2 upgrade

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Then you need to create a script (for later execution in control Panel) that checks if all files actually exists. If not, remove then from database (using API of course).