<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Which version of MongoDB are you using?<br>
<br>
Marek<br>
<br>
On 19.6.2015 03:26, Dean Peterson wrote:<br>
</div>
<blockquote
cite="mid:CAFGzvPnAV-WgKy+nf78Cs3XJnfK+1eBD0KLz+DEga-hiTp2iXQ@mail.gmail.com"
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"><<a moz-do-not-send="true"
href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>></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 moz-do-not-send="true"
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 class="im HOEnZb"><br>
----- Original Message -----<br>
> From: "Dean Peterson" <<a moz-do-not-send="true"
href="mailto:peterson.dean@gmail.com">peterson.dean@gmail.com</a>><br>
</span>
<div class="HOEnZb">
<div class="h5">> To: "Stian Thorgersen" <<a
moz-do-not-send="true" href="mailto:stian@redhat.com">stian@redhat.com</a>><br>
> Cc: <a moz-do-not-send="true"
href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> Sent: Wednesday, 17 June, 2015 7:32:24 AM<br>
> Subject: Re: [keycloak-user] Tried to update
database from 1.2.0.Beta1 to 1.2.0.Final<br>
><br>
> Any suggestions?<br>
><br>
> On Mon, Jun 15, 2015 at 6:54 AM, Dean Peterson <<a
moz-do-not-send="true"
href="mailto:peterson.dean@gmail.com">peterson.dean@gmail.com</a>><br>
> wrote:<br>
><br>
> > I put the version in the subject: 1.2.0.Beta1<br>
> > On Jun 15, 2015 12:28 AM, "Stian Thorgersen"
<<a moz-do-not-send="true"
href="mailto:stian@redhat.com">stian@redhat.com</a>>
wrote:<br>
> ><br>
> >> What version are you upgrading from?<br>
> >><br>
> >> ----- Original Message -----<br>
> >> > From: "Dean Peterson" <<a
moz-do-not-send="true"
href="mailto:peterson.dean@gmail.com">peterson.dean@gmail.com</a>><br>
> >> > To: <a moz-do-not-send="true"
href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> > Sent: Monday, 15 June, 2015 5:50:12
AM<br>
> >> > Subject: Re: [keycloak-user] Tried to
update database from 1.2.0.Beta1<br>
> >> to 1.2.0.Final<br>
> >> ><br>
> >> > The end of the error message is
strange since I am trying to update to<br>
> >> > 1.2.0.Final. It refers to a candidate
release:<br>
> >><br>
> >> When updating the db it goes through a
list of updates, so if you haven't<br>
> >> upgraded to 1.2.0.cr1 in the past that
update is on the list as well.<br>
> >><br>
> >> ><br>
> >> > Caused by:
com.mongodb.CommandFailureException: { "serverUsed" :
"kcdb/<br>
> >> > <a moz-do-not-send="true"
href="http://172.17.5.191:27017" rel="noreferrer"
target="_blank">172.17.5.191:27017</a> " ,
"nIndexesWas" : 1 , "ok" : 0.0 , "errmsg" :<br>
> >> "index<br>
> >> > not found with name
[realmId_1_name_1]"}<br>
> >> > at
com.mongodb.CommandResult.getException(CommandResult.java:71)<br>
> >> > at
com.mongodb.CommandResult.throwOnError(CommandResult.java:110)<br>
> >> > at
com.mongodb.DBCollection.dropIndexes(DBCollection.java:847)<br>
> >> > at
com.mongodb.DBCollection.dropIndex(DBCollection.java:1349)<br>
> >> > at<br>
> >> ><br>
> >>
org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1.convertApplicationsToClients(Update1_2_0_CR1.java:33)<br>
> >> > at<br>
> >> ><br>
> >>
org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1.update(Update1_2_0_CR1.java:23)<br>
> >> > at<br>
> >> ><br>
> >>
org.keycloak.connections.mongo.updater.impl.DefaultMongoUpdaterProvider.update(DefaultMongoUpdaterProvider.java:82)<br>
> >> ><br>
> >> ><br>
> >> > On Sun, Jun 14, 2015 at 10:43 PM,
Dean Peterson <<br>
> >> <a moz-do-not-send="true"
href="mailto:peterson.dean@gmail.com">peterson.dean@gmail.com</a>
><br>
> >> > wrote:<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > I receive this error:<br>
> >> ><br>
> >> > Caused by:
java.lang.RuntimeException: Failed to update database<br>
> >> > at<br>
> >> ><br>
> >>
org.keycloak.connections.mongo.updater.impl.DefaultMongoUpdaterProvider.update(DefaultMongoUpdaterProvider.java:93)<br>
> >> > at<br>
> >> ><br>
> >>
org.keycloak.connections.mongo.DefaultMongoConnectionFactoryProvider.lazyInit(DefaultMongoConnectionFactoryProvider.java:95)<br>
> >> > ... 35 more<br>
> >> > Caused by:
com.mongodb.CommandFailureException: { "serverUsed" :
"kcdb/<br>
> >> > <a moz-do-not-send="true"
href="http://172.17.5.191:27017" rel="noreferrer"
target="_blank">172.17.5.191:27017</a> " ,
"nIndexesWas" : 1 , "ok" : 0.0 , "errmsg" :<br>
> >> "index<br>
> >> > not found with name
[realmId_1_name_1]"}<br>
> >> > at
com.mongodb.CommandResult.getException(CommandResult.java:71)<br>
> >> > at
com.mongodb.CommandResult.throwOnError(CommandResult.java:110)<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> >
_______________________________________________<br>
> >> > keycloak-user mailing list<br>
> >> > <a moz-do-not-send="true"
href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> >> > <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
> >><br>
> ><br>
><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>