AnsweredAssumed Answered

Alfresco 4.2.c upgrade to 5.0.c

Question asked by jalu on Mar 20, 2015
Latest reply on Mar 20, 2015 by afaust
Hi,

I'm very new to Alfresco and seldom uses it. I've been issued with the task of upgrading Alfresco from 4.2.c to 5.0.c.

On one server I tried it everything looks okay. On the other I can't preview any documents. No idea why on the one server it shows fine and the other not.

In my alfresco.log file I have a few errors. How do I solve these. Any suggestions on the preview?

09:19:24,542 ERROR [org.apache.solr.core.SolrCore] [pool-1-thread-1] java.lang.NullPointerException
   at org.alfresco.solr.AlfrescoSolrEventListener.newSearcher(AlfrescoSolrEventListener.java:182)
   at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1146)
   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)

09:19:26,819 ERROR [org.apache.solr.core.SolrCore] [pool-3-thread-1] java.lang.NullPointerException
   at org.alfresco.solr.AlfrescoSolrEventListener.newSearcher(AlfrescoSolrEventListener.java:182)
   at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1146)
   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)

09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] In order to support dynamic setting of transformer options, Spring XML configuration
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] is no longer used to initialise these options.
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] 
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] Your system appears to contains custom Spring configuration which should be replace by
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] the following Alfresco global properties. In the case of the Enterprise edition these
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] values may then be dynamically changed via JMX.
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] 
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.wkhtmltopdf.extensions.html.pdf.priority=50
09:20:32,901 ERROR [org.alfresco.repo.content.transform.ContentTransformerHelper] content.transformer.wkhtmltopdf.extensions.html.pdf.supported=true
09:20:32,901 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'Transformers' subsystem, ID: [Transformers, default]
09:20:32,901 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'Transformers' subsystem, ID: [Transformers, default]
09:20:32,901 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Transformers' subsystem, ID: [Transformers, default]
09:20:33,072 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete
09:20:33,104 ERROR [intecon.stargate.InteconUsersConstraint] Person service is now set
09:20:33,104 ERROR [intecon.stargate.InteconUsersConstraint] Search service is now set
09:20:33,213 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
09:20:33,213 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
09:20:37,596 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
09:20:37,643 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete

Outcomes