<div dir="ltr">Hi Stian,<div>I think the problem was that I was running &quot;mvn package&quot; inside /keycloak/distribuition instead it works if your run it from root directory.<div><br></div><div>I have all the jars, model-mongo included, but the application fails at startup with error message &quot;No Persistence provider for EntityManager named jpa-keycloak-audit-store\&quot;. What am I doing wrong this time?</div>
<div><br></div><div>If you need I&#39;m free to test the import process as you do it.</div><div><br></div><div>Thanks.</div></div></div><div class="gmail_extra"><br clear="all"><div><div>--</div>Davide</div>
<br><br><div class="gmail_quote">On Thu, May 15, 2014 at 10:31 AM, Stian Thorgersen <span dir="ltr">&lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m not sure why the mongo model has been removed from the WAR, I&#39;ll look into that.<br>
<br>
We don&#39;t yet have support for upgrading the database when upgrading Keycloak. This will be added soon. The plan is to provide a mechanism to export the database to a json file, and after installing a new version of Keycloak you import this json file again. We&#39;ll make this import backwards compatible so you can import a json file from any older versions of Keycloak.<br>

<div><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Davide Ungari&quot; &lt;<a href="mailto:ungarida@gmail.com">ungarida@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; Sent: Monday, 12 May, 2014 7:13:53 PM<br>
&gt; Subject: Re: [keycloak-user] MongoDB - Model provider not found<br>
&gt;<br>
&gt; I found out that:<br>
&gt; 1- the command &quot;mvn package&quot; does not include mongo module and driver<br>
&gt; 2- there is a regression on data model, updating source of keycloak I must<br>
&gt; drop database in order to see the admin console works again<br>
&gt; --<br>
&gt; Davide<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div>