<?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: Couldn't upgrade db schema ?? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73853#M48273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, that explains it. You can't use an older engine against a newer DB, as the database structure might have evolved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, the engine checks on boot if the database is in the right state. If not, it tries to fix it, hence the errors you are seeing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 09:54:57 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2011-07-11T09:54:57Z</dc:date>
    <item>
      <title>Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73846#M48266</link>
      <description>Hello, I was using activiti 5.4 with my own vaadin explorer and mysql as db. It was working fine. Then I decided to change to the last version (5.6). I compiled my project, deployed it on my glassfish server and started using my app. It was also working fine. BUT when I redeployed my project and tri</description>
      <pubDate>Mon, 04 Jul 2011 14:47:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73846#M48266</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-07-04T14:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73847#M48267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So if I understand you correct, the database upgrade is run whenever you redeploy your app?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's definitely not what it should do: the upgrade should upgrade the database schema, and in the next redeploys the engine should see that the schema is up to date now. Can you verify what the values of the ACT_GE_PROPERTY table is? There is the current schema version saved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2011 07:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73847#M48267</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-07-05T07:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73848#M48268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So if I understand you correct, the database upgrade is run whenever you redeploy your app?&lt;BR /&gt;&lt;BR /&gt;That's definitely not what it should do: the upgrade should upgrade the database schema, and in the next redeploys the engine should see that the schema is up to date now. Can you verify what the values of the ACT_GE_PROPERTY table is? There is the current schema version saved.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You understand me correct. And another person working on the same project but with tomcat and your activiti explorer has a similar problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in my db, the schema in ACT_GE_PROPERTY, is create(5.6) upgrade(5.6 -&amp;gt; 5.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In his db, the schema is is the same except he has no exception and much more upgrades…&amp;nbsp; create (5.6) upgrade(5.6 -&amp;gt; 5.4) upgrade(5.4 -&amp;gt; 5.6) upgrade(5.6 -&amp;gt; 5.4) upgrade(5.4 -&amp;gt; 5.6) upgrade(5.6 -&amp;gt; 5.4) upgrade(5.4 -&amp;gt; 5.6), etc… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bhj2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 06:44:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73848#M48268</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-07-06T06:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73849#M48269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I set the schema.version to "5.6" and the history to "create(5.6)" and I think (didn't do lots of tests) that it is working now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 07:25:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73849#M48269</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-07-06T07:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73850#M48270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually it is not working. I thought it was because i put &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property name="databaseSchemaUpdate" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in activiti.cfg.xml&amp;nbsp; …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 08:27:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73850#M48270</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-07-06T08:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73851#M48271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Very bizar. Are you using a shared database? the upgrade details seem completely screwed …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 07:56:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73851#M48271</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-07-07T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73852#M48272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was using two different applications. I didn't notice that one was still using engine5.4.jar But shouldn't it be possible to use engine 5.4 with db 5.6?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 09:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73852#M48272</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-07-11T09:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Couldn't upgrade db schema ??</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73853#M48273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, that explains it. You can't use an older engine against a newer DB, as the database structure might have evolved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, the engine checks on boot if the database is in the right state. If not, it tries to fix it, hence the errors you are seeing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 09:54:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/couldn-t-upgrade-db-schema/m-p/73853#M48273</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-07-11T09:54:57Z</dc:date>
    </item>
  </channel>
</rss>

