<div dir="ltr">I am using mongodb version 3.0.2</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 4:19 AM, Marek Posolda <span dir="ltr">&lt;<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Which version of MongoDB are you using?<span class="HOEnZb"><font color="#888888"><br>
      <br>
      Marek</font></span><div><div class="h5"><br>
      <br>
      On 19.6.2015 03:26, Dean Peterson wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Neither returned any indexes</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Jun 17, 2015 at 1:06 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">Could you
            run listIndexes[1] on the applications and clients
            collections?<br>
            <br>
            [1] <a href="http://docs.mongodb.org/manual/tutorial/list-indexes/#list-all-indexes-on-a-collection" rel="noreferrer" target="_blank">http://docs.mongodb.org/manual/tutorial/list-indexes/#list-all-indexes-on-a-collection</a><br>
            <span><br>
              ----- Original Message -----<br>
              &gt; From: &quot;Dean Peterson&quot; &lt;<a href="mailto:peterson.dean@gmail.com" target="_blank">peterson.dean@gmail.com</a>&gt;<br>
            </span>
            <div>
              <div>&gt; To: &quot;Stian Thorgersen&quot; &lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;<br>
                &gt; Cc: <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
                &gt; Sent: Wednesday, 17 June, 2015 7:32:24 AM<br>
                &gt; Subject: Re: [keycloak-user] Tried to update
                database from 1.2.0.Beta1 to 1.2.0.Final<br>
                &gt;<br>
                &gt; Any suggestions?<br>
                &gt;<br>
                &gt; On Mon, Jun 15, 2015 at 6:54 AM, Dean Peterson &lt;<a href="mailto:peterson.dean@gmail.com" target="_blank">peterson.dean@gmail.com</a>&gt;<br>
                &gt; wrote:<br>
                &gt;<br>
                &gt; &gt; I put the version in the subject: 1.2.0.Beta1<br>
                &gt; &gt; On Jun 15, 2015 12:28 AM, &quot;Stian Thorgersen&quot;
                &lt;<a href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;
                wrote:<br>
                &gt; &gt;<br>
                &gt; &gt;&gt; What version are you upgrading from?<br>
                &gt; &gt;&gt;<br>
                &gt; &gt;&gt; ----- Original Message -----<br>
                &gt; &gt;&gt; &gt; From: &quot;Dean Peterson&quot; &lt;<a href="mailto:peterson.dean@gmail.com" target="_blank">peterson.dean@gmail.com</a>&gt;<br>
                &gt; &gt;&gt; &gt; To: <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
                &gt; &gt;&gt; &gt; Sent: Monday, 15 June, 2015 5:50:12
                AM<br>
                &gt; &gt;&gt; &gt; Subject: Re: [keycloak-user] Tried to
                update database from 1.2.0.Beta1<br>
                &gt; &gt;&gt; to     1.2.0.Final<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt; The end of the error message is
                strange since I am trying to update to<br>
                &gt; &gt;&gt; &gt; 1.2.0.Final. It refers to a candidate
                release:<br>
                &gt; &gt;&gt;<br>
                &gt; &gt;&gt; When updating the db it goes through a
                list of updates, so if you haven&#39;t<br>
                &gt; &gt;&gt; upgraded to 1.2.0.cr1 in the past that
                update is on the list as well.<br>
                &gt; &gt;&gt;<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt; Caused by:
                com.mongodb.CommandFailureException: { &quot;serverUsed&quot; :
                &quot;kcdb/<br>
                &gt; &gt;&gt; &gt; <a href="http://172.17.5.191:27017" rel="noreferrer" target="_blank">172.17.5.191:27017</a> &quot; ,
                &quot;nIndexesWas&quot; : 1 , &quot;ok&quot; : 0.0 , &quot;errmsg&quot; :<br>
                &gt; &gt;&gt; &quot;index<br>
                &gt; &gt;&gt; &gt; not found with name
                [realmId_1_name_1]&quot;}<br>
                &gt; &gt;&gt; &gt; at
                com.mongodb.CommandResult.getException(CommandResult.java:71)<br>
                &gt; &gt;&gt; &gt; at
                com.mongodb.CommandResult.throwOnError(CommandResult.java:110)<br>
                &gt; &gt;&gt; &gt; at
                com.mongodb.DBCollection.dropIndexes(DBCollection.java:847)<br>
                &gt; &gt;&gt; &gt; at
                com.mongodb.DBCollection.dropIndex(DBCollection.java:1349)<br>
                &gt; &gt;&gt; &gt; at<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt;
org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1.convertApplicationsToClients(Update1_2_0_CR1.java:33)<br>
                &gt; &gt;&gt; &gt; at<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt;
org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1.update(Update1_2_0_CR1.java:23)<br>
                &gt; &gt;&gt; &gt; at<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt;
org.keycloak.connections.mongo.updater.impl.DefaultMongoUpdaterProvider.update(DefaultMongoUpdaterProvider.java:82)<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt; On Sun, Jun 14, 2015 at 10:43 PM,
                Dean Peterson &lt;<br>
                &gt; &gt;&gt; <a href="mailto:peterson.dean@gmail.com" target="_blank">peterson.dean@gmail.com</a>
                &gt;<br>
                &gt; &gt;&gt; &gt; wrote:<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt; I receive this error:<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt; Caused by:
                java.lang.RuntimeException: Failed to update database<br>
                &gt; &gt;&gt; &gt; at<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt;
org.keycloak.connections.mongo.updater.impl.DefaultMongoUpdaterProvider.update(DefaultMongoUpdaterProvider.java:93)<br>
                &gt; &gt;&gt; &gt; at<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt;
org.keycloak.connections.mongo.DefaultMongoConnectionFactoryProvider.lazyInit(DefaultMongoConnectionFactoryProvider.java:95)<br>
                &gt; &gt;&gt; &gt; ... 35 more<br>
                &gt; &gt;&gt; &gt; Caused by:
                com.mongodb.CommandFailureException: { &quot;serverUsed&quot; :
                &quot;kcdb/<br>
                &gt; &gt;&gt; &gt; <a href="http://172.17.5.191:27017" rel="noreferrer" target="_blank">172.17.5.191:27017</a> &quot; ,
                &quot;nIndexesWas&quot; : 1 , &quot;ok&quot; : 0.0 , &quot;errmsg&quot; :<br>
                &gt; &gt;&gt; &quot;index<br>
                &gt; &gt;&gt; &gt; not found with name
                [realmId_1_name_1]&quot;}<br>
                &gt; &gt;&gt; &gt; at
                com.mongodb.CommandResult.getException(CommandResult.java:71)<br>
                &gt; &gt;&gt; &gt; at
                com.mongodb.CommandResult.throwOnError(CommandResult.java:110)<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt;<br>
                &gt; &gt;&gt; &gt;
                _______________________________________________<br>
                &gt; &gt;&gt; &gt; keycloak-user mailing list<br>
                &gt; &gt;&gt; &gt; <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
                &gt; &gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
                &gt; &gt;&gt;<br>
                &gt; &gt;<br>
                &gt;<br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
keycloak-user mailing list
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>