[keycloak-user] Tried to update database from 1.2.0.Beta1 to 1.2.0.Final

Dean Peterson peterson.dean at gmail.com
Sun Jun 14 23:50:12 EDT 2015


The end of the error message is strange since I am trying to update to
1.2.0.Final.  It refers to a candidate release:

Caused by: com.mongodb.CommandFailureException: { "serverUsed" : "kcdb/
172.17.5.191:27017" , "nIndexesWas" : 1 , "ok" : 0.0 , "errmsg" : "index
not found with name [realmId_1_name_1]"}
at com.mongodb.CommandResult.getException(CommandResult.java:71)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:110)
at com.mongodb.DBCollection.dropIndexes(DBCollection.java:847)
at com.mongodb.DBCollection.dropIndex(DBCollection.java:1349)
at
org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1.convertApplicationsToClients(Update1_2_0_CR1.java:33)
at
org.keycloak.connections.mongo.updater.impl.updates.Update1_2_0_CR1.update(Update1_2_0_CR1.java:23)
at
org.keycloak.connections.mongo.updater.impl.DefaultMongoUpdaterProvider.update(DefaultMongoUpdaterProvider.java:82)


On Sun, Jun 14, 2015 at 10:43 PM, Dean Peterson <peterson.dean at gmail.com>
wrote:

> I receive this error:
>
> Caused by: java.lang.RuntimeException: Failed to update database
> at
> org.keycloak.connections.mongo.updater.impl.DefaultMongoUpdaterProvider.update(DefaultMongoUpdaterProvider.java:93)
> at
> org.keycloak.connections.mongo.DefaultMongoConnectionFactoryProvider.lazyInit(DefaultMongoConnectionFactoryProvider.java:95)
> ... 35 more
> Caused by: com.mongodb.CommandFailureException: { "serverUsed" : "kcdb/
> 172.17.5.191:27017" , "nIndexesWas" : 1 , "ok" : 0.0 , "errmsg" : "index
> not found with name [realmId_1_name_1]"}
> at com.mongodb.CommandResult.getException(CommandResult.java:71)
> at com.mongodb.CommandResult.throwOnError(CommandResult.java:110)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150614/8e1f8e5d/attachment-0001.html 


More information about the keycloak-user mailing list