AnsweredAssumed Answered

SVN and repository upgrade

Question asked by deniv on Jan 25, 2007
Latest reply on Feb 1, 2007 by deniv
Just curious whether Alfresco supposed to upgrade repository automatically after SVN-update/build or it is required to start with clear repository each time?

I’ve just upgraded the server from revision 109 (14/12/2006 just after WCM was merged into HEAD) to 399 (25/01/2007) and receive an error when access existing web projects:

[size=75]Caused by: org.alfresco.service.cmr.avm.AVMNotFoundException: Store not found.
        at org.alfresco.repo.avm.AVMRepository.getListing(AVMRepository.java:887)
        at org.alfresco.repo.avm.AVMServiceImpl.getDirectoryListing(AVMServiceImpl.java:198)
        at org.alfresco.repo.avm.AVMServiceImpl.getDirectoryListing(AVMServiceImpl.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:
181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:92)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy57.getDirectoryListing(Unknown Source)
        at org.alfresco.web.bean.wcm.AVMBrowseBean.getWebapps(AVMBrowseBean.java:414)
        at org.alfresco.web.bean.wcm.AVMBrowseBean.getWebappsSize(AVMBrowseBean.java:430)
[/size]

While everything is OK when I create new web projects from scratch.
Any suggestions how to manually upgrade the repository?

PS: I know that WCM functionality is just in community preview stage  :)
PSS: tried to Export/Import full repository - same result…

Outcomes