<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Docker, Migration 7.2.1 to 7.3.1</title><link>https://answers.axonivy.com/questions/3952/docker-migration-7-2-1-to-7-3-1</link><description>&lt;p&gt;Hi Ivy Team&lt;/p&gt;
&lt;p&gt;I am getting following error message during Ivy startup after I migrated to the 7.3.1 image :&lt;/p&gt;
&lt;p&gt;java.lang.Exception: The system database (jdbc:&lt;a&gt;postgresql://10.172.0.9:5432/ivysystemdb_7)&lt;/a&gt; with all tables already exists (Version: 50). But was created with a older version of the ivy Engine. at ch.ivyteam.ivy.server.configuration.command.CreateDbCommand.checkIfCreationNeeded(CreateDbCommand.java:114) at ch.ivyteam.ivy.server.configuration.command.CreateDbCommand.createSystemDatabase(CreateDbCommand.java:63) at 
...&lt;/p&gt;
&lt;p&gt;What has to be done to fix this problem.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards
John&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3952/docker-migration-7-2-1-to-7-3-1" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 30 Aug 2019 02:06:51 -0400</lastBuildDate><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/3952/docker-migration-7-2-1-to-7-3-1/3954</link><description>&lt;p&gt;Hello &lt;a href="https://answers.axonivy.com/users/1123/john-moser"&gt;&lt;a href="https://answers.axonivy.com/users/1123/john-moser"&gt;@John Moser&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The system database needs to be converted. Classically, you started the Engine Configuration UI and clicked on the button &lt;code&gt;Convert&lt;/code&gt;. But UI Interactions in a container world are not desired.&lt;/p&gt;
&lt;p&gt;I think for the container use case, our &lt;code&gt;autoConvert&lt;/code&gt; feature is pretty nice.  While starting the container the migration will be done automatically. See &lt;code&gt;autoConvert&lt;/code&gt; in the &lt;code&gt;SystemDb&lt;/code&gt; section:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/configuration.html#configuration-file-ref-ivy-yaml"&gt;https://developer.axonivy.com/doc/latest/EngineGuideHtml/configuration.html#configuration-file-ref-ivy-yaml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We provide additionally a Command Line Tool, called EngineConfigCLI (&lt;a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/tools.html#tool-engineconfigcli)."&gt;https://developer.axonivy.com/doc/latest/EngineGuideHtml/tools.html#tool-engineconfigcli).&lt;/a&gt; This CLI is also able to convert the database. This 
CLI tool is also available in our docker image.&lt;/p&gt;
&lt;p&gt;Be aware that a migration can take some time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Attention&lt;/strong&gt;: Always make a backup of the SystemDb before converting.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Fri, 30 Aug 2019 02:06:51 -0400</pubDate><guid>https://answers.axonivy.com/questions/3952/docker-migration-7-2-1-to-7-3-1/3954</guid></item></channel></rss>