<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to manage backup/migration from 4.2 to 5.2 ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2898#M839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm new to the community and been working on migrating our current version (4.2) to a new one (5.2) also known as&amp;nbsp;201609-EA. We've been on version 4.2 for quite some time now and has been working fine for us, but because of our recent policy the Java and Tomcat versions are obsolete hence the change to version 5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Context :&lt;/P&gt;&lt;P&gt;Installation on a Windows Server 2008 (64 bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my approach :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Fresh new install -&amp;nbsp;version 5.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The installation was fairly easy and seamless. I could launch it and create document at ease.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;All documents were stored in the dir.root folder as expected. No issues&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; Fine, no questions, no issues to report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Migration from 4.2 to 5.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;EM&gt; 2.1 Backup&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I did perform a backup as instructed&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/community/concepts/ch-backup-restore.html" title="http://docs.alfresco.com/community/concepts/ch-backup-restore.html" rel="nofollow noopener noreferrer"&gt;Backing up and restoring | Alfresco Documentation&lt;/A&gt;&amp;nbsp; (Cold/Hot backup) both.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;EM&gt;2.2 Restore&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Same as the backup, I did followed the instructions (pretty clear).&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;EM&gt;2.3 Alfresco Explorer&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; When launching the Alfresco Explorer to check my documents, I still couldn't see anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;=&amp;gt; Do we need to enable or link something to something ? I couldn't spot a faulty install&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;=&amp;gt; Are the two versions compatible ? Is the database completely different ? Shouldn't matter, does it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Restoration&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;EM&gt;3.1 Install 4.2&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The point here, is to prove that restoration from a previous backup works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;EM&gt; 3.2&amp;nbsp;Database&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Same thing, I followed the instructions pretty clearly.&amp;nbsp;We do use postgresql as our database and did the follow :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;D:\Alfresco-Community\postgressql\bin&amp;gt;pg_dumpall.exe -username=postgres &amp;gt; 20161213_dump&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;EM&gt;3.3 Alfresco Explorer&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Same story, I couldn't launch a thing. No data. Contenstore shown as empty and no documents to display.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; =&amp;gt; I would like more instructions, as such the database we're backing up and restoring&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; =&amp;gt; Doesn't seem the restoration is working at all. I can give you more details on&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As anyone hit the same issues ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 12:46:17 GMT</pubDate>
    <dc:creator>sgsdev</dc:creator>
    <dc:date>2017-01-11T12:46:17Z</dc:date>
    <item>
      <title>How to manage backup/migration from 4.2 to 5.2 ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2898#M839</link>
      <description>Hi all,I'm new to the community and been working on migrating our current version (4.2) to a new one (5.2) also known as&amp;nbsp;201609-EA. We've been on version 4.2 for quite some time now and has been working fine for us, but because of our recent policy the Java and Tomcat versions are obsolete hence the</description>
      <pubDate>Wed, 11 Jan 2017 12:46:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2898#M839</guid>
      <dc:creator>sgsdev</dc:creator>
      <dc:date>2017-01-11T12:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage backup/migration from 4.2 to 5.2 ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2899#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&amp;nbsp;&lt;A href="http://localhost:8080/share" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfresco Explorer has been discontinued since Alfresco 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 13:42:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2899#M840</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-01-11T13:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage backup/migration from 4.2 to 5.2 ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2900#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Angel Borroy,&lt;/P&gt;&lt;P&gt;Well, having an other issue when restoring my database. It won't let me authenticate.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/12151_Alfresco_login.JPG" style="width: 620px; height: 506px;" /&gt;&lt;/P&gt;&lt;P&gt;And checking on the Tomcat log, I'm getting that error :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;eApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:954)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)&lt;BR /&gt; at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)&lt;BR /&gt; at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)&lt;BR /&gt; at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)&lt;BR /&gt; at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)&lt;BR /&gt; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)&lt;BR /&gt; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)&lt;BR /&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;BR /&gt; at java.util.concurrent.FutureTask.run(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt; at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;Caused by: org.postgresql.util.PSQLException: ERROR: relation "alf_auth_status_seq" already exists&lt;BR /&gt; at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)&lt;BR /&gt; at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)&lt;BR /&gt; at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)&lt;BR /&gt; at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)&lt;BR /&gt; at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)&lt;BR /&gt; at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:313)&lt;BR /&gt; at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)&lt;BR /&gt; at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)&lt;BR /&gt; at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.executeStatement(SchemaBootstrap.java:1566)&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptFile(SchemaBootstrap.java:1508)&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptUrl(SchemaBootstrap.java:1148)&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.checkSchemaPatchScripts(SchemaBootstrap.java:1119)&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBootstrap.java:984)&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1737)&lt;BR /&gt; ... 23 more&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking on previous version, we don't have that table in the schema, only in the newer version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/12152_Alfresco_auth_table.JPG" style="width: 620px; height: 34px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 16:45:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2900#M841</guid>
      <dc:creator>sgsdev</dc:creator>
      <dc:date>2017-01-18T16:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage backup/migration from 4.2 to 5.2 ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2901#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, here is the error I'm getting after the full data migration. Which is much more significant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;INFO: Server startup in 336879 ms&lt;BR /&gt;ApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:954)&lt;BR /&gt; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)&lt;BR /&gt; at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)&lt;BR /&gt; at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)&lt;BR /&gt; at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)&lt;BR /&gt; at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)&lt;BR /&gt; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)&lt;BR /&gt; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)&lt;BR /&gt; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)&lt;BR /&gt; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)&lt;BR /&gt; at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)&lt;BR /&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;BR /&gt; at java.util.concurrent.FutureTask.run(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt; at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 00180000 A previous schema upgrade failed or was not completed. Revert to the original database before attempting the upgrade again.&lt;BR /&gt; at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1750)&lt;BR /&gt; ... 23 more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan 18, 2017 5:32:02 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized&lt;BR /&gt;INFO: WSSERVLET12: JAX-WS context listener initializing&lt;BR /&gt;Jan 18, 2017 5:32:07 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate &amp;lt;init&amp;gt;&lt;BR /&gt;INFO: WSSERVLET14: JAX-WS servlet initializing&lt;BR /&gt;Jan 18, 2017 5:32:08 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy&lt;BR /&gt;INFO: WSSERVLET15: JAX-WS servlet destroyed&lt;BR /&gt;Jan 18, 2017 5:32:08 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed&lt;BR /&gt;INFO: WSSERVLET13: JAX-WS context listener destroyed&lt;BR /&gt;Jan 18, 2017 5:32:08 PM org.apache.catalina.core.ApplicationContext log&lt;BR /&gt;INFO: Closing Spring root WebApplicationContext&lt;BR /&gt;Jan 18, 2017 5:32:09 PM org.apache.catalina.core.ApplicationContext log&lt;BR /&gt;INFO: Shutting down log4j&lt;BR /&gt;Jan 18, 2017 5:32:13 PM org.apache.catalina.core.ApplicationContext log&lt;BR /&gt;INFO: No Spring WebApplicationInitializer types detected on classpath&lt;BR /&gt;Jan 18, 2017 5:32:13 PM org.apache.catalina.core.ApplicationContext log&lt;BR /&gt;INFO: Initializing Spring root WebApplicationContext&lt;BR /&gt;Jan 18, 2017 5:32:28 PM org.apache.catalina.core.ApplicationContext log&lt;BR /&gt;INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;looks like it is telling me the database, table structure has changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Sarei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 10:49:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-backup-migration-from-4-2-to-5-2/m-p/2901#M842</guid>
      <dc:creator>sgsdev</dc:creator>
      <dc:date>2017-01-19T10:49:37Z</dc:date>
    </item>
  </channel>
</rss>

