<?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: Activiti 7 Docker Database Issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33987#M14370</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80126"&gt;@hbobertz&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for returning to explain how you resolved your issue - that's really helpful to other users.&lt;/P&gt;
&lt;P&gt;Best wishes,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 17:09:35 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2020-02-28T17:09:35Z</dc:date>
    <item>
      <title>Activiti 7 Docker Database Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33984#M14367</link>
      <description>&lt;P&gt;I recently cloned the&amp;nbsp;&lt;A href="https://github.com/Activiti/activiti-cloud-examples" target="_blank" rel="noopener nofollow noreferrer"&gt;acitiviti docker example&lt;/A&gt;&amp;nbsp;and followed the steps outlined in the readme (By just changing the .env file by adding my machines ip address) and ran make all.&amp;nbsp; Runtime-Bundle logs was continuously crashing and restarting while repeatedly giving the following error.&lt;/P&gt;&lt;PRE&gt;example-runtime-bundle             | ### Cause: org.postgresql.util.PSQLException: ERROR: column "app_version_" of relation "act_re_procdef" does not exist
example-runtime-bundle             |   Position: 235
example-runtime-bundle             |    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
example-runtime-bundle             |    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:509)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1320)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1159)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
example-runtime-bundle             |    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
example-runtime-bundle             |    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
example-runtime-bundle             |    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1105)
example-runtime-bundle             |    at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.createEndpointBean(EndpointDiscoverer.java:141)
example-runtime-bundle             |    at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.createEndpointBeans(EndpointDiscoverer.java:131)
example-runtime-bundle             |    at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.discoverEndpoints(EndpointDiscoverer.java:120)
example-runtime-bundle             |    at org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.getEndpoints(EndpointDiscoverer.java:114)&lt;/PRE&gt;&lt;P&gt;To fix the error I SQL'd into my activiti database and added the app_version_ column it was expecting using the following commands:&lt;/P&gt;&lt;PRE&gt;psql -h localhost -p 5432 -d activitidb -U activiti --password&lt;/PRE&gt;&lt;PRE&gt;ALTER TABLE act_re_procdef ADD COLUMN app_version_ VARCHAR;&lt;/PRE&gt;&lt;P&gt;This seemed to fix the prevoius error but when I run the startprocess endpoint on the default postman collection I get a 422 with the response&lt;/P&gt;&lt;PRE&gt;{
  "code": 422,
  "message": "Process definition with the given id:'SimpleProcess:1:eff69ff7-5422-11ea-a639-0242c0a8800b' belongs to a different application version."
}&lt;/PRE&gt;&lt;P&gt;Is this related to the quick SQL fix I made or is this perhaps the result of an out of date postman collection? Other than than the changes listed above the example docker repo has been unchanged.&lt;/P&gt;&lt;P&gt;EDIT: This issue has been solved, see comments below&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 15:15:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33984#M14367</guid>
      <dc:creator>hbobertz</dc:creator>
      <dc:date>2020-02-21T15:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 7 Docker Database Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33985#M14368</link>
      <description>&lt;P&gt;is it resolved ? I am also facing same issue, however i haven't modified any activiti db table.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 08:10:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33985#M14368</guid>
      <dc:creator>vishnujsr</dc:creator>
      <dc:date>2020-02-27T08:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 7 Docker Database Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33986#M14369</link>
      <description>&lt;P&gt;Yes I solved this issue without needing to modify SQL tables by simply updating to the most recent version (7.10.m6) and repulling the images. This was originally posted under version 7.10.m5&lt;/P&gt;&lt;P&gt;You can do this by editing your .env file to the following&lt;/P&gt;&lt;PRE&gt;DOCKER_IP=(your ip here)
VERSION=7.1.0.M6
KEYCLOAK_REALM=activiti
KEYCLOAK_RESOURCE=activiti&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2020 19:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33986#M14369</guid>
      <dc:creator>hbobertz</dc:creator>
      <dc:date>2020-02-27T19:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 7 Docker Database Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33987#M14370</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80126"&gt;@hbobertz&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for returning to explain how you resolved your issue - that's really helpful to other users.&lt;/P&gt;
&lt;P&gt;Best wishes,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 17:09:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-7-docker-database-issue/m-p/33987#M14370</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-02-28T17:09:35Z</dc:date>
    </item>
  </channel>
</rss>

