<?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 Re: Database upgrade from 4.1.10 to 5.1.1 fails in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307660#M260790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a known issue which has been around for a while. See &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-16716" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-16716&lt;/A&gt;&lt;SPAN&gt; . We are now doing the following to upgrade from 4.1.x to 5.1.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Follow Alfresco instructions and perform the upgrade process up to the point when the script migrate-activiti-workflows.sql hangs/takes a VERY long time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Reboot the database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Stop Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Drop the table alf_bootstrap_lock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Manually ran each sql command in the script migrate-activiti-workflows.sql (the problematic statement only takes a few seconds to run)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Start Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) The rest of the upgrade then continues without a problem &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 23:30:41 GMT</pubDate>
    <dc:creator>pcharsle</dc:creator>
    <dc:date>2016-08-29T23:30:41Z</dc:date>
    <item>
      <title>Database upgrade from 4.1.10 to 5.1.1 fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307657#M260787</link>
      <description>We are following the instructions at http://docs.alfresco.com/5.1/tasks/upgrade-process.html to upgrade from 4.1.10 to 5.1.1. We are using AWS RDS MySQL 5.6 with tomcat7 as supported by Alfresco. We successfully install and run Alfresco 5.1.1 with all our extensions. We then do the following:1) Stop</description>
      <pubDate>Sun, 21 Aug 2016 21:28:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307657#M260787</guid>
      <dc:creator>pcharsle</dc:creator>
      <dc:date>2016-08-21T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Database upgrade from 4.1.10 to 5.1.1 fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307658#M260788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;According to this &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/concepts/upgrade-path.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/concepts/upgrade-path.html&lt;/A&gt;&lt;SPAN&gt; you need an intermediate migration to 5.0 and then to 5.1&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 06:41:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307658#M260788</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2016-08-24T06:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Database upgrade from 4.1.10 to 5.1.1 fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307659#M260789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've have been testing an upgrade from 4.2 to 5.1 and migrate-activiti-workflows.sql patch has been taking many, many, many hours, but it does eventually complete. I do not, however suffer from a timeout exception. I suspect the slow patch may be due to the use of nested queries, which MySQL is known to have speed issues with. I am, however, far from being a MySQL DB expert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using mariadb-java-client-1.1.9.jar instead of mysql-connector-java.jar which maybe different to your setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, I read the direct upgrade path from 4.1.x to 5.1 as being supported.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 10:11:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307659#M260789</guid>
      <dc:creator>ianw</dc:creator>
      <dc:date>2016-08-24T10:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Database upgrade from 4.1.10 to 5.1.1 fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307660#M260790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a known issue which has been around for a while. See &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-16716" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-16716&lt;/A&gt;&lt;SPAN&gt; . We are now doing the following to upgrade from 4.1.x to 5.1.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Follow Alfresco instructions and perform the upgrade process up to the point when the script migrate-activiti-workflows.sql hangs/takes a VERY long time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Reboot the database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Stop Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Drop the table alf_bootstrap_lock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Manually ran each sql command in the script migrate-activiti-workflows.sql (the problematic statement only takes a few seconds to run)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) Start Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) The rest of the upgrade then continues without a problem &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 23:30:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307660#M260790</guid>
      <dc:creator>pcharsle</dc:creator>
      <dc:date>2016-08-29T23:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Database upgrade from 4.1.10 to 5.1.1 fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307661#M260791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for posting this back, however it did not work for me. Running the query manually took just as long.&lt;/P&gt;&lt;P&gt;The solution for me was to upgrade the database. I was using MariaDB 5.5 as supplied as standard with Centos 7, but, Alfresco requires a Mysql 5.6. I believe that MariaDB 10 is also supported. I upgraded to MariaDB 10.1 and the &lt;SPAN&gt;migrate-activiti-workflows.sql&lt;/SPAN&gt; took about 3 seconds without any work-arounds being required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 08:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307661#M260791</guid>
      <dc:creator>ianw</dc:creator>
      <dc:date>2016-09-23T08:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Database upgrade from 4.1.10 to 5.1.1 fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307662#M260792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were able to migrate from 4.2.2 to 5.1.f two months ago. We also had an issue initially, only to realize that we had not give the "alfresco" db user enough privileges. So give full access to the user that connects to the DB from Alfresco; it will enable the user to alter, update or drop tables as required by the upgrade scripts.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 13:39:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-upgrade-from-4-1-10-to-5-1-1-fails/m-p/307662#M260792</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2016-09-23T13:39:26Z</dc:date>
    </item>
  </channel>
</rss>

