AnsweredAssumed Answered

problem upgrading to 4.2.e

Question asked by sharifu on Jan 8, 2014
Latest reply on Jan 8, 2014 by sharifu
I am running centos 6.4, mysql 5.5. I managed to upgrade one server from 4.2.c to 4.2.e fine and the 2nd server i get the error


Jan 08, 2014 12:25:06 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
Jan 08, 2014 12:25:06 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jan 08, 2014 12:25:06 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 0.9.8o 01 Jun 2010)
Jan 08, 2014 12:25:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jan 08, 2014 12:25:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Jan 08, 2014 12:25:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
Jan 08, 2014 12:25:07 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1083 ms
Jan 08, 2014 12:25:07 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 08, 2014 12:25:07 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
Jan 08, 2014 12:25:07 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /opt/alfresco-4.2.e/tomcat/conf/Catalina/localhost/solr.xml
Jan 08, 2014 12:25:07 PM org.apache.catalina.startup.SetContextPropertiesRule begin
WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.
2014-01-08 12:25:13,664  WARN  [handler.component.SpellCheckComponent] [localhost-startStop-1] No queryConverter defined, using default converter
2014-01-08 12:25:15,286  WARN  [handler.component.SpellCheckComponent] [localhost-startStop-1] No queryConverter defined, using default converter
Jan 08, 2014 12:25:15 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/alfresco-4.2.e/tomcat/webapps/share.war
2014-01-08 12:25:24,426  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2014-01-08 12:25:24,504  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2014-01-08 12:25:24,505  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2014-01-08 12:25:24,509  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2014-01-08 12:25:28,161  INFO  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 356 Web Scripts (+0 failed), 371 URLs
2014-01-08 12:25:28,162  INFO  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2014-01-08 12:25:28,162  INFO  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2014-01-08 12:25:28,411  INFO  [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring Surf Container Web Script Container (in 3890.1978ms)
2014-01-08 12:25:28,419  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2014-01-08 12:25:28,423  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2014-01-08 12:25:28,641  INFO  [site.servlet.SSOAuthenticationFilter] [localhost-startStop-1] SSOAuthenticationFilter initialised.
Jan 08, 2014 12:25:28 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /opt/alfresco-4.2.e/tomcat/webapps/alfresco.war
Jan 08, 2014 12:25:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/alfresco-4.2.e/tomcat/webapps/ROOT
Jan 08, 2014 12:25:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/alfresco-4.2.e/tomcat/webapps/host-manager
Jan 08, 2014 12:25:28 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/alfresco-4.2.e/tomcat/webapps/manager
Jan 08, 2014 12:25:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8080"]
Jan 08, 2014 12:25:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
Jan 08, 2014 12:25:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
Jan 08, 2014 12:25:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 21800 ms
2014-01-08 12:25:30,403  ERROR [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-2] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00080000 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1059)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1897)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1227)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:513)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2014-01-08 12:25:30,403  ERROR [solr.tracker.CoreTracker] [SolrTrackerScheduler_Worker-3] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 00080001 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1059)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1897)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1227)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:513)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)


It skips the whole upgrade process, which does not make any sense. I did the exact same steps as 1st server of the upgrade process.


* hot backup
* restore db
* restore contentstore
* restore lucene indexes
* copy all configuration without replacing exisitng files
* set re-index to AUTO

Outcomes