<?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 please consider the manual upgrade usecase in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/please-consider-the-manual-upgrade-usecase/m-p/93400#M63913</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;I am currently investigating how we can best upgrade an existing live application from Activiti 5.8 to 5.9. Our deployments all have &amp;lt;property name="databaseSchemaUpdate" value="false"/&amp;gt; set because we need to control this process manually. The reason for this is that our application database do not have the rights to execute DDL, not uncommon from a security POV.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i located the upgrade script org\activiti\db\upgrade\activiti.oracle.upgradestep.58.to.59.engine.sql and executed it on the target schema connected as an admin user. This worked fine, no errors. However restarting the application with Activiti 5.9 then gives me this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Caused by: org.activiti.engine.ActivitiWrongDbException: version mismatch: activiti library version is '5.9', db version is 5.8 Hint: Set &amp;lt;property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.engine.impl.db.DbSqlSession.dbSchemaCheckVersion(DbSqlSession.java:492)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:884)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This means that there is still something being done in code to upgrade the DB, outside of the upgrade script ? Can we not make the upgrade script self-containing so that upgrades can be more easily managed by infra ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For now i did this and it seems to be ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;UPDATE act_ge_property SET value_ = '5.9' WHERE name_='schema.version';&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the difference between an automatic upgrade, there the schema.history field is set as well but i don't think that information is actually used anywhere else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone confirm this is a valid approach ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2012 13:32:58 GMT</pubDate>
    <dc:creator>heymjo</dc:creator>
    <dc:date>2012-03-06T13:32:58Z</dc:date>
    <item>
      <title>please consider the manual upgrade usecase</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-consider-the-manual-upgrade-usecase/m-p/93400#M63913</link>
      <description>Hi,I am currently investigating how we can best upgrade an existing live application from Activiti 5.8 to 5.9. Our deployments all have &amp;lt;property name="databaseSchemaUpdate" value="false"/&amp;gt; set because we need to control this process manually. The reason for this is that our application databa</description>
      <pubDate>Tue, 06 Mar 2012 13:32:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-consider-the-manual-upgrade-usecase/m-p/93400#M63913</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2012-03-06T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: please consider the manual upgrade usecase</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-consider-the-manual-upgrade-usecase/m-p/93401#M63914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same issue with 5.10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1343" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1343&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 15:35:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-consider-the-manual-upgrade-usecase/m-p/93401#M63914</guid>
      <dc:creator>vlagorce</dc:creator>
      <dc:date>2012-08-20T15:35:53Z</dc:date>
    </item>
  </channel>
</rss>

