<?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 Activiti version upgrade mechanism in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77303#M51108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're about to go into controlled production on the current Activiti version (5.5).&amp;nbsp; What can we expect wrt upgrading an installation (containing live customer data) without impacting that customer's workflows?&amp;nbsp; I did see some discussion in another topic (&lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1138&amp;amp;p=4615&amp;amp;hilit=database+upgrades#p4615" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1138&amp;amp;p=4615&amp;amp;hilit=database+upgrades#p4615&lt;/A&gt;&lt;SPAN&gt;), but it's not clear what the intended approach is in the near and longer term.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 04:32:32 GMT</pubDate>
    <dc:creator>bwd</dc:creator>
    <dc:date>2011-05-24T04:32:32Z</dc:date>
    <item>
      <title>Activiti version upgrade mechanism</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77303#M51108</link>
      <description>Hi,We're about to go into controlled production on the current Activiti version (5.5).&amp;nbsp; What can we expect wrt upgrading an installation (containing live customer data) without impacting that customer's workflows?&amp;nbsp; I did see some discussion in another topic (http://forums.activiti.org/en/viewtopic.p</description>
      <pubDate>Tue, 24 May 2011 04:32:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77303#M51108</guid>
      <dc:creator>bwd</dc:creator>
      <dc:date>2011-05-24T04:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti version upgrade mechanism</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77304#M51109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By 'upgrade', I mean installing a new version of Activiti - not changing things like the underlying database vendor.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 04:34:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77304#M51109</guid>
      <dc:creator>bwd</dc:creator>
      <dc:date>2011-05-24T04:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti version upgrade mechanism</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77305#M51110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;upon boot, by default (override with configuration) Activiti checks if the database schema is in sync with the library used.&amp;nbsp; if not, an automatic upgrade is performed.&amp;nbsp; all your data will be maintained during those upgrades.&amp;nbsp; but we only have limited coverage of these upgrade procedures so it's always good to perform a backup with database specific tools before upgrading the library in production.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the sourcecode and library contains the upgrade scripts.&amp;nbsp; @see eg /activiti-engine/src/main/resources/org/activiti/db/upgrade/activiti.h2.upgradestep.54.to.55.engine.sql&amp;nbsp; you can review them in advance if you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the 5.6 upgrade, there will be a known limitation (still all data will be preserved):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Known upgrade limitation&lt;BR /&gt;&lt;BR /&gt;In the DB schema creation scripts, we've enlarged the max size of certain varchar columns from 255 to 4000. See ACT-236. These schema updates are not part of the automatic upgrade procedure.&lt;BR /&gt;&lt;BR /&gt;Max length of following columns has been set to 4000:&lt;BR /&gt;&lt;BR /&gt;ACT_RU_JOB.EXCEPTION_MSG_&lt;BR /&gt;ACT_RU_JOB.HANDLER_CFG_&lt;BR /&gt;ACT_RE_PROCDEF.RESOURCE_NAME_&lt;BR /&gt;ACT_RE_PROCDEF.DGRM_RESOURCE_NAME_&lt;BR /&gt;ACT_RU_TASK.DESCRIPTION_&lt;BR /&gt;ACT_RU_VARIABLE.TEXT_&lt;BR /&gt;ACT_RU_VARIABLE.TEXT2_&lt;BR /&gt;ACT_HI_TASKINST.DESCRIPTION_&lt;BR /&gt;ACT_HI_TASKINST.DELETE_REASON_&lt;BR /&gt;ACT_HI_DETAIL.TEXT_&lt;BR /&gt;ACT_HI_DETAIL.TEXT2_&lt;BR /&gt;ACT_HI_COMMENT.MESSAGE_&lt;BR /&gt;ACT_HI_ATTACHMENT.DESCRIPTION_&lt;BR /&gt;ACT_HI_ATTACHMENT.URL_&lt;BR /&gt;If you want to perform these changes, you can do that manually. Check your database capabilities for the easiest way on changing the type of columns from varchar(255) to varchar(4000). As a fall back, for each table affected, you can:&lt;BR /&gt;&lt;BR /&gt;create a new temporary table&lt;BR /&gt;copy the contents from the original to the temporary table&lt;BR /&gt;delete the original table&lt;BR /&gt;recreate the original table using the new create script with the proper lengths&lt;BR /&gt;copy the contents from the temporary table back to the new original table&lt;BR /&gt;drop the temporary table&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 08:05:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-version-upgrade-mechanism/m-p/77305#M51110</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-05-24T08:05:23Z</dc:date>
    </item>
  </channel>
</rss>

