Issues migrating to Alfresco 6.1.2 Community

cancel
Showing results for 
Search instead for 
Did you mean: 
phivuu-2
Partner

Issues migrating to Alfresco 6.1.2 Community

I need to migrate from 5.2.7 Enterprise to 6.X Community. I have previously attempted to migrate to 6.2 but the endpoint in share-config-custom.xml /wcs didn't work. And it seems like I need this endpoint for Kerberos.

My second attempt was to migrate to 6.1.2 and could verify that Kerberos is working. But the Alfresco environment isn't working correctly. Tags can't be loaded, sites aren't loading in the banner.

I get a couple of errors in the log right away during boot up of the server. It's trying to set som bean properties related to subsystems and solr6. 

 2020-06-15 10:34:45,058 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2020-06-15 10:34:45,174 WARN [management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] [localhost-startStop-1] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transformer.worker.ImageMagick' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/thirdparty/default/imagemagick-transform-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'enabled' of bean class [org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker]: Bean property 'enabled' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
2020-06-15 10:34:45,176 WARN [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transformer.worker.ImageMagick' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/thirdparty/default/imagemagick-transform-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'enabled' of bean class [org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker]: Bean property 'enabled' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1718)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1433)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:824)
at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:1098)
at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:637)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:221)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:186)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:206)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'enabled' of bean class [org.alfresco.repo.content.transform.magick.ImageMagickContentTransformerWorker]: Bean property 'enabled' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyException(BeanWrapperImpl.java:243)
at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:426)
at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:266)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:77)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1714)
... 37 more
020-06-15 10:34:49,772 WARN [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transformer.worker.JodConverter' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/OOoJodconverter/default/jodconverter-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'enabled' of bean class [org.alfresco.repo.content.transform.JodContentTransformer]: Bean property 'enabled' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1718)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1433)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:824)
at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:1098)
at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:637)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:221)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:186)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:206)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'enabled' of bean class [org.alfresco.repo.content.transform.JodContentTransformer]: Bean property 'enabled' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyException(BeanWrapperImpl.java:243)
at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:426)
at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:266)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:77)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1714)
... 37 more
2020-06-15 10:36:03,761 WARN [management.subsystems.ChildApplicationContextFactory$ChildApplicationContext] [http-nio-8080-exec-9] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerAccessor' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot resolve reference to bean 'search.alfrescoCoreBackupTrigger' while setting bean property 'triggers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'search.alfrescoCoreBackupTrigger' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot create inner bean 'org.springframework.scheduling.quartz.JobDetailFactoryBean#1645d1f3' of type [org.springframework.scheduling.quartz.JobDetailFactoryBean] while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.JobDetailFactoryBean#1645d1f3' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot resolve reference to bean 'search.alfrescoCoreSolrBackupClient' while setting bean property 'jobDataAsMap' with key [TypedStringValue: value [solrBackupClient], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'search.alfrescoCoreSolrBackupClient' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot resolve reference to bean 'solrAdminClient' while setting bean property 'solrAdminClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'solrAdminClient' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-search-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'storeMappings' of bean class [org.alfresco.repo.solr.SOLRAdminClient]: Bean property 'storeMappings' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
2020-06-15 10:36:04,212 WARN [management.subsystems.ChildApplicationContextFactory] [http-nio-8080-exec-9] Startup of 'Search' subsystem, ID: [Search, managed, solr6] failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerAccessor' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot resolve reference to bean 'search.alfrescoCoreBackupTrigger' while setting bean property 'triggers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'search.alfrescoCoreBackupTrigger' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot create inner bean 'org.springframework.scheduling.quartz.JobDetailFactoryBean#1645d1f3' of type [org.springframework.scheduling.quartz.JobDetailFactoryBean] while setting bean property 'jobDetail'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.JobDetailFactoryBean#1645d1f3' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot resolve reference to bean 'search.alfrescoCoreSolrBackupClient' while setting bean property 'jobDataAsMap' with key [TypedStringValue: value [solrBackupClient], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'search.alfrescoCoreSolrBackupClient' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-backup-context.xml]: Cannot resolve reference to bean 'solrAdminClient' while setting bean property 'solrAdminClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'solrAdminClient' defined in URL [jar:file:/srv/tomcat/alfrescorepo/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.131.jar!/alfresco/subsystems/Search/solr6/solr-search-context.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'storeMappings' of bean class [org.alfresco.repo.solr.SOLRAdminClient]: Bean property 'storeMappings' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

1 Reply
jpotts
Professional

Re: Issues migrating to Alfresco 6.1.2 Community

I have successfully migrated multiple clients from 5.2 to 6.1 without issue.

Have you made customizations or configuration changes?

Did you migrate your a-g.p file, share-config-custom, and slingshot context files to bring over your config without losing any of the settings that may have changed in 6.x?

Did you install 6.x manually or are you running with docker?