Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Paro Nasser
Problem: Upgrade 6.0.6 to 6.1.0 (ce)
February 29, 2012 12:58 AM
Answer

Paro Nasser

Rank: New Member

Posts: 15

Join Date: January 12, 2012

Recent Posts

Hello,

i have a problem by upgrade my liferay to 6.1, i use a mysql db and tomcat server.

 1
 2..................................................................................
 308:51:52,140 INFO  [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeGroup
 408:51:52,423 INFO  [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeImageGallery
 508:51:53,596 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.NoSuchFileException: C:\....\liferay-portal-6.1.0-ce-ga1\data\images\10\40\10400.png
 6com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portlet.documentlibrary.NoSuchFileException: C:\....\liferay-portal-6.1.0-ce-ga1\data\images\10\40\10400.png
 7    at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
 8    at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1267)
 9    at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:195)
10    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
11    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
12    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
13    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
14    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5001)
15    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289)
16    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
17    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
18    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
19    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
20    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
21    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581)
22    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
23    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
24    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
25    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
26    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
27    at java.lang.Thread.run(Thread.java:619)
28Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portlet.documentlibrary.NoSuchFileException: C:\.....\liferay-portal-6.1.0-ce-ga1\data\images\10\40\10400.png
29    at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:211)
30    at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:93)
31    at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:46)
32    at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:81)
33    at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:40)
34    at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:119)
35    at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:144)
36    at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
37    ... 20 more
38.................................................................


Can someone maybe help?
Mika Koivisto
RE: Problem: Upgrade 6.0.6 to 6.1.0 (ce)
March 1, 2012 2:04 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

Are you sure you have correct hook set for image gallery?
Paro Nasser
RE: Problem: Upgrade 6.0.6 to 6.1.0 (ce)
March 2, 2012 3:39 AM
Answer

Paro Nasser

Rank: New Member

Posts: 15

Join Date: January 12, 2012

Recent Posts

Hi Mika,

i dont touch the hook for image gallery, can you say me what i must do in it?
Juan Gonzalez
RE: Problem: Upgrade 6.0.6 to 6.1.0 (ce)
March 2, 2012 10:11 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2800

Join Date: October 28, 2008

Recent Posts

Paro Nasser:
Hi Mika,

i dont touch the hook for image gallery, can you say me what i must do in it?



Please read this:

http://www.liferay.com/es/documentation/liferay-portal/6.1/user-guide/-/ai/upgrading-lifer-5
Paro Nasser
RE: Problem: Upgrade 6.0.6 to 6.1.0 (ce)
March 5, 2012 12:03 AM
Answer

Paro Nasser

Rank: New Member

Posts: 15

Join Date: January 12, 2012

Recent Posts

Hi Juan,

i try the liferay guide, but the same exception. i set
1image.hook.impl=com.liferay.portal.image.FileSystemHook
in portal-ext.properties, because my 6.0 use this too. but the error comes again by UpgradeImageGallery:

108:51:52,423 INFO  [UpgradeProcess:205] Upgrading com.liferay.portal.upgrade.v6_1_0.UpgradeImageGallery
208:51:53,596 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.NoSuchFileException: ..........


what to do?
Peter B West
RE: Problem: Upgrade 6.0.6 to 6.1.0 (ce)
August 2, 2012 1:06 AM
Answer

Peter B West

Rank: Junior Member

Posts: 57

Join Date: March 23, 2009

Recent Posts

This thread was hijacked, and no-one seems to have bothered to answer the original question.

Paro, did you resolve this? I have just encountered the same problem, after applying a patch which fixed another 6.0.6 -> 6.1.0 DocumentLibrary upgrade bug.
James Falkner
Thread Split
August 2, 2012 7:27 AM
Answer

James Falkner

Community Moderator

Rank: Liferay Legend

Posts: 1406

Join Date: September 17, 2010

Recent Posts

I split this thread to remove the hijackers :-)

The new thread can be found at http://www.liferay.com/community/forums/-/message_boards/view_message/13168105.