<p dir="ltr">Hi Stian, thanks for your reply. The database we are using is MySQL on AWS.</p>
<p dir="ltr">Boken.</p>
<div class="gmail_quote">On Jan 13, 2016 2:48 AM, &quot;Stian Thorgersen&quot; &lt;<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What database are you using?</div><div class="gmail_extra"><br><div class="gmail_quote">On 13 January 2016 at 03:41, Boken Lin <span dir="ltr">&lt;<a href="mailto:bl@onion.io" target="_blank">bl@onion.io</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I&#39;m trying to upgrade Keycloak 1.2.0 Final to a newer version, encountered the following error while the system tries to update the database:<br>
<br>
00:55:20,179 ERROR [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 60) Change Set META-INF/<a href="mailto:jpa-changelog-1.3.0.xml%3A%3A1.3.0%3A%3Abburke@redhat.com" target="_blank">jpa-changelog-1.3.0.xml::1.3.0::bburke@redhat.com</a> fail<br>
ed.  Error: Can&#39;t DROP &#39;FK_PMConfig&#39;; check that column/key exists [Failed SQL: ALTER TABLE auth_table.PROTOCOL_MAPPER_CONFIG DROP FOREIGN KEY FK_PMConfig]: liquibase.exception.DatabaseException: Can&#39;t DR<br>
OP &#39;FK_PMConfig&#39;; check that column/key exists [Failed SQL: ALTER TABLE auth_table.PROTOCOL_MAPPER_CONFIG DROP FOREIGN KEY FK_PMConfig]<br>
<br>
I have tried upgrading to 1.3.1 as well as to 1.7.0 directly, but the same error message was shown.<br>
<br>
Can someone point me in the right direction?<br>
<br>
Thank very much!<br>
Boken.<br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote></div><br></div>
</blockquote></div>