cancel
Showing results for 
Search instead for 
Did you mean: 

Moving Content - Alfresco not releaseproof ?

norgan
Champ in-the-making
Champ in-the-making
or not foolproof ? (and me beeing the fool)

Good day, together,
I have an installation with Labs 2.9 running and tried to upgrade it to Labs 3 (versions B, C, DStable)

So far - my success is - ZERO (well except for exporting and reimporting single spaces)

I did some extensive category-definitions and usergroup management and rights definitions and all those, I want to keept instead of redoing them space after space. So what do I do ?

I tried :
* Full export & bootstrap
* DB dump + alf_data copy.

I found tipps doing
* deleting lucene index
* apply amps prior to starting first time
* checking "db update" in repository-properties file

Could it be, that following extensions HAVE to be identical in order to succeed ?
* amps incl. version of the amp
* ftl files
* ????

Somehow, either Alfresco is not releaseproof - which I doubt somehow - or I am doing something fundamentally wrong. Am I alone with this, or id the others just quietly give up ?

Regards, Norgan
2 REPLIES 2

norgan
Champ in-the-making
Champ in-the-making
Current Alfresco.log
15:24:34,151 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /data/alf_data
15:24:34,168 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
15:24:34,792 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.webscripts2' (Adds Web Scripts (second set) to Data D
ictionary.).
15:24:35,244 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.customModels' (Adds 'Models' folder to Data Dictionar
y).
15:24:36,532 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.customMessages' (Adds 'Messages' folder to Data Dicti
onary).
15:24:36,621 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.customWebClientExtension' (Adds 'Web Client Extension
' folder to Data Dictionary).
15:24:36,685 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.webscripts3' (Update Web Scripts ReadMe.).
15:24:36,700 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:351)
        at org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch.applyInternal(GenericBootstrapPatch.java:126)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:388)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:382)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:414)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:378)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:437)
        at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:418)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:294)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.access$200(PatchServiceImpl.java:56)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchServiceImpl.java:231)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchServiceImpl.java:229)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:234)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:168)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
….
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 3; column 1273 due to error: Cannot find node referenc
ed by path /app:company_home/app:dictionary/app:content_templates/cm:readme.ftl
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)
        at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:359)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:223)
        at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:465)
        at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:72)
        at org.alfresco.repo.importer.ImporterBootstrap$1$1.execute(ImporterBootstrap.java:340)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.importer.ImporterBootstrap$1.doWork(ImporterBootstrap.java:344)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:437)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:347)
        … 62 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Cannot find node referenced by path /app:company_home/app:dictionary/app:content_templa
tes/cm:readme.ftl
        at org.alfresco.repo.importer.view.ViewParser.processStartReference(ViewParser.java:469)
        at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:259)
        at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)
        … 71 more


=== Applied patch                 ===
ID: patch.webscripts2
RESULT:
Imported view into bootstrap location: /app:company_home/app:dictionary (workspace://SpacesStore/0ea20b04-f6bb-11dc-b00d-9935c33fbe80)
=====================================
15:24:36,717 ERROR [org.alfresco.repo.admin.patch.PatchExecuter]
=== Failed to apply patch         ===
ID: patch.webscripts3
RESULT:
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:351)
        at org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch.applyInternal(GenericBootstrapPatch.java:126)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:388)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:382)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:414)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:378)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:437)
        at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:418)
        at org.alfresco.repo.admin.patc…
=====================================
15:24:36,719 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Not all patches could be applied
        at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(PatchExecuter.java:124)
        at org.alfresco.repo.admin.patch.PatchExecuter.onBootstrap(PatchExecuter.java:132)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

stefanho
Champ in-the-making
Champ in-the-making
Did you find a solution for this problem? I am facing the exat same error during upgrade.

Stefan