<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Dear Sir,<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Pls. help<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I am starting wildfly with ./standalone.sh --server-config=standalone-full.xml It works without errors.<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><br>
I cloned latest aerogear-unifiedpush-server and installed with maven<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><br>
I follow the steps in<span class="apple-converted-space">&nbsp;</span><a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation"><span style="color:windowtext">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation</span></a>.<br>
<br>
<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I am using postgres database. It is running on localhost and the port is 5432. postgres connector version is postgresql-9.4.1207.jar.<o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I created all databases. Generated the UnifiedPush Database and Datasource.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">liquibase.properties contains the following info<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">url=jdbc:postgresql://localhost:5432/unifiedpush<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">driver=org.postgresql.Driver<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">username=unifiedpush<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">password=unifiedpush<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">changeLogFile=liquibase/master.xml<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;word-spacing:0px">
<b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">ON STEP 'CREATE THE DATABASE SCHEMA'</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><br>
I run ./bin/ups-migrator update<br>
I get the error 'Unexpected error running Liquibase: Precondition error'<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Regards,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;background:white">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Sonu Kumar Gupta<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>