Starting process with command `start-dev --hostname-strict\=false --http-port\=\19626 --proxy\=edge --db\=postgres --db-url\=\jdbc:postgresql://ec2-34-235-108-214.compute-1.amazonaws.com:5432/dde6l921b6kpq2 --db-username\=\ofuwdjfhloaomb --db-password\=\15d60fa7871c34fbbd039eee2e42876cc76a1efb4e2f0c30bfdf1ae2d097e902 --features\=\"preview,scripts\"`
2023-11-01T04:48:44.626714+00:00 app[web.1]: Updating the configuration and installing your custom providers, if any. Please wait.
2023-11-01T04:48:48.416294+00:00 app[web.1]: 2023-11-01 04:48:44,833 INFO [org.keycloak.common.Profile] (main) Preview features enabled: account3, admin-fine-grained-authz, client-secret-rotation, declarative-user-profile, recovery-codes, scripts, token-exchange, update-email
2023-11-01T04:48:48.419103+00:00 app[web.1]: 2023-11-01 04:48:46,657 INFO [org.keycloak.common.Profile] (main) Preview features enabled: account3, admin-fine-grained-authz, client-secret-rotation, declarative-user-profile, recovery-codes, scripts, token-exchange, update-email
2023-11-01T04:48:56.262528+00:00 app[web.1]: 2023-11-01 04:48:56,259 INFO [io.quarkus.deployment.QuarkusAugmentor] (main) Quarkus augmentation completed in 9973ms
2023-11-01T04:48:59.319875+00:00 app[web.1]: 2023-11-01 04:48:57,353 INFO [org.keycloak.common.Profile] (main) Preview features enabled: account3, admin-fine-grained-authz, client-secret-rotation, declarative-user-profile, recovery-codes, scripts, token-exchange, update-email
2023-11-01T04:48:59.320045+00:00 app[web.1]: 2023-11-01 04:48:57,805 INFO [org.keycloak.quarkus.runtime.hostname.DefaultHostnameProvider] (main) Hostname settings: Base URL: <unset>, Hostname: <request>, Strict HTTPS: false, Path: <request>, Strict BackChannel: false, Admin URL: <unset>, Admin: <request>, Port: -1, Proxied: true
2023-11-01T04:48:59.332948+00:00 app[web.1]: 2023-11-01 04:48:59,289 WARN [io.quarkus.agroal.runtime.DataSources] (main) Datasource <default> enables XA but transaction recovery is not enabled. Please enable transaction recovery by setting quarkus.transaction-manager.enable-recovery=true, otherwise data may be lost if the application is terminated abruptly
2023-11-01T04:48:59.708279+00:00 app[web.1]: 2023-11-01 04:48:59,707 WARN [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
2023-11-01T04:48:59.934474+00:00 app[web.1]: 2023-11-01 04:48:59,934 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller 'org.infinispan.jboss.marshalling.core.JBossUserMarshaller'
2023-11-01T04:49:00.566792+00:00 heroku[logplex]: Error L10 (output buffer overflow): drain 'd.ab7af9e0-226d-4145-9401-b98fce276991' dropped 1 messages since 2023-11-01T04:48:30.629322+00:00.
2023-11-01T04:49:00.411159+00:00 app[web.1]: 2023-11-01 04:49:00,410 WARN [io.quarkus.vertx.http.runtime.VertxHttpRecorder] (main) The X-Forwarded-* and Forwarded headers will be considered when determining the proxy address. This configuration can cause a security issue as clients can forge requests and send a forwarded header that is not overwritten by the proxy. Please consider use one of these headers just to forward the proxy address in requests.
2023-11-01T04:49:00.416309+00:00 app[web.1]: 2023-11-01 04:49:00,416 INFO [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2023-11-01T04:49:00.435569+00:00 app[web.1]: 2023-11-01 04:49:00,435 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_83764, Site name: null
2023-11-01T04:49:01.207355+00:00 heroku[logplex]: Error L10 (output buffer overflow): drain 'd.ab7af9e0-226d-4145-9401-b98fce276991' dropped 1 messages since 2023-11-01T04:48:31.258117+00:00.
2023-11-01T04:49:01.610459+00:00 app[web.1]: 2023-11-01 04:49:01,610 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (development) mode
2023-11-01T04:49:01.610653+00:00 app[web.1]: 2023-11-01 04:49:01,610 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: liquibase.exception.ValidationFailedException: Validation Failed:
2023-11-01T04:49:01.610654+00:00 app[web.1]: 113 changesets check sum
2023-11-01T04:49:01.610654+00:00 app[web.1]: META-INF/jpa-changelog-1.0.0.Final.xml::1.0.0.Final-KEYCLOAK-5461::[email protected] was: 9:6f1016664e21e16d26517a4418f5e3df but is now: 8:bda77d94bf90182a1e30c24f1c155ec7
2023-11-01T04:49:01.610654+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.0.0.Final.xml::1.0.0.Final-KEYCLOAK-5461::[email protected] was: 9:828775b1596a07d1200ba1d49e5e3941 but is now: 8:1ecb330f30986693d1cba9ab579fa219
2023-11-01T04:49:01.610655+00:00 app[web.1]: META-INF/jpa-changelog-1.1.0.Beta1.xml::1.1.0.Beta1::[email protected] was: 9:5f090e44a7d595883c1fb61f4b41fd38 but is now: 8:cb7ace19bc6d959f305605d255d4c843
2023-11-01T04:49:01.610655+00:00 app[web.1]: META-INF/jpa-changelog-1.1.0.Final.xml::1.1.0.Final::[email protected] was: 9:c07e577387a3d2c04d1adc9aaad8730e but is now: 8:80230013e961310e6872e871be424a63
2023-11-01T04:49:01.610655+00:00 app[web.1]: META-INF/jpa-changelog-1.2.0.Beta1.xml::1.2.0.Beta1::[email protected] was: 9:b68ce996c655922dbcd2fe6b6ae72686 but is now: 8:67f4c20929126adc0c8e9bf48279d244
2023-11-01T04:49:01.610655+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.2.0.Beta1.xml::1.2.0.Beta1::[email protected] was: 9:543b5c9989f024fe35c6f6c5a97de88e but is now: 8:7311018b0b8179ce14628ab412bb6783
2023-11-01T04:49:01.610659+00:00 app[web.1]: META-INF/jpa-changelog-1.2.0.CR1.xml::1.2.0.RC1::[email protected] was: 9:765afebbe21cf5bbca048e632df38336 but is now: 8:037ba1216c3640f8785ee6b8e7c8e3c1
2023-11-01T04:49:01.610659+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.2.0.CR1.xml::1.2.0.RC1::[email protected] was: 9:db4a145ba11a6fdaefb397f6dbf829a1 but is now: 8:7fe6ffe4af4df289b3157de32c624263
2023-11-01T04:49:01.610660+00:00 app[web.1]: META-INF/jpa-changelog-1.2.0.Final.xml::1.2.0.Final::keycloak was: 9:9d05c7be10cdb873f8bcb41bc3a8ab23 but is now: 8:9c136bc3187083a98745c7d03bc8a303
2023-11-01T04:49:01.610660+00:00 app[web.1]: META-INF/jpa-changelog-1.3.0.xml::1.3.0::[email protected] was: 9:18593702353128d53111f9b1ff0b82b8 but is now: 8:b5f09474dca81fb56a97cf5b6553d331
2023-11-01T04:49:01.610660+00:00 app[web.1]: META-INF/jpa-changelog-1.4.0.xml::1.4.0::[email protected] was: 9:6122efe5f090e41a85c0f1c9e52cbb62 but is now: 8:ca924f31bd2a3b219fdcfe78c82dacf4
2023-11-01T04:49:01.610660+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.4.0.xml::1.4.0::[email protected] was: 9:e1ff28bf7568451453f844c5d54bb0b5 but is now: 8:8acad7483e106416bcfa6f3b824a16cd
2023-11-01T04:49:01.610660+00:00 app[web.1]: META-INF/jpa-changelog-1.5.0.xml::1.5.0::[email protected] was: 9:7af32cd8957fbc069f796b61217483fd but is now: 8:9b1266d17f4f87c78226f5055408fd5e
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1_from15::[email protected] was: 9:6005e15e84714cd83226bf7879f54190 but is now: 8:d80ec4ab6dbfe573550ff72396c7e910
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1_from16-pre::[email protected] was: 9:bf656f5a2b055d07f314431cae76f06c but is now: 8:d86eb172171e7c20b9c849b584d147b2
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1_from16::[email protected] was: 9:f8dadc9284440469dcf71e25ca6ab99b but is now: 8:5735f46f0fa60689deb0ecdc2a0dea22
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1::[email protected] was: 9:d41d8cd98f00b204e9800998ecf8427e but is now: 8:d41d8cd98f00b204e9800998ecf8427e
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.7.0.xml::1.7.0::[email protected] was: 9:3368ff0be4c2855ee2dd9ca813b38d8e but is now: 8:5c1a8fd2014ac7fc43b90a700f117b23
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.8.0.xml::1.8.0::[email protected] was: 9:8ac2fb5dd030b24c0570a763ed75ed20 but is now: 8:1f6c2c2dfc362aff4ed75b3f0ef6b331
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/jpa-changelog-1.8.0.xml::1.8.0-2::keycloak was: 9:f91ddca9b19743db60e3057679810e6c but is now: 8:dee9246280915712591f83a127665107
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.8.0.xml::1.8.0::[email protected] was: 9:831e82914316dc8a57dc09d755f23c51 but is now: 8:9eb2ee1fa8ad1c5e426421a6f8fdfa6a
2023-11-01T04:49:01.610661+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.8.0.xml::1.8.0-2::keycloak was: 9:f91ddca9b19743db60e3057679810e6c but is now: 8:dee9246280915712591f83a127665107
2023-11-01T04:49:01.610662+00:00 app[web.1]: META-INF/jpa-changelog-1.9.0.xml::1.9.0::[email protected] was: 9:bc3d0f9e823a69dc21e23e94c7a94bb1 but is now: 8:d9fa18ffa355320395b86270680dd4fe
2023-11-01T04:49:01.610663+00:00 app[web.1]: META-INF/jpa-changelog-1.9.1.xml::1.9.1::keycloak was: 9:c9999da42f543575ab790e76439a2679 but is now: 8:90cff506fedb06141ffc1c71c4a1214c
2023-11-01T04:49:01.610663+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.9.1.xml::1.9.1::keycloak was: 9:0d6c65c6f58732d81569e77b10ba301d but is now: 8:11a788aed4961d6d29c427c063af828c
2023-11-01T04:49:01.610663+00:00 app[web.1]: META-INF/jpa-changelog-1.9.2.xml::1.9.2::keycloak was: 9:fc576660fc016ae53d2d4778d84d86d0 but is now: 8:a4218e51e1faf380518cce2af5d39b43
2023-11-01T04:49:01.610664+00:00 app[web.1]:
2023-11-01T04:49:01.610975+00:00 app[web.1]: 2023-11-01 04:49:01,610 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Validation Failed:
2023-11-01T04:49:01.610975+00:00 app[web.1]: 113 changesets check sum
2023-11-01T04:49:01.610975+00:00 app[web.1]: META-INF/jpa-changelog-1.0.0.Final.xml::1.0.0.Final-KEYCLOAK-5461::[email protected] was: 9:6f1016664e21e16d26517a4418f5e3df but is now: 8:bda77d94bf90182a1e30c24f1c155ec7
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.0.0.Final.xml::1.0.0.Final-KEYCLOAK-5461::[email protected] was: 9:828775b1596a07d1200ba1d49e5e3941 but is now: 8:1ecb330f30986693d1cba9ab579fa219
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/jpa-changelog-1.1.0.Beta1.xml::1.1.0.Beta1::[email protected] was: 9:5f090e44a7d595883c1fb61f4b41fd38 but is now: 8:cb7ace19bc6d959f305605d255d4c843
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/jpa-changelog-1.1.0.Final.xml::1.1.0.Final::[email protected] was: 9:c07e577387a3d2c04d1adc9aaad8730e but is now: 8:80230013e961310e6872e871be424a63
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/jpa-changelog-1.2.0.Beta1.xml::1.2.0.Beta1::[email protected] was: 9:b68ce996c655922dbcd2fe6b6ae72686 but is now: 8:67f4c20929126adc0c8e9bf48279d244
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.2.0.Beta1.xml::1.2.0.Beta1::[email protected] was: 9:543b5c9989f024fe35c6f6c5a97de88e but is now: 8:7311018b0b8179ce14628ab412bb6783
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/jpa-changelog-1.2.0.CR1.xml::1.2.0.RC1::[email protected] was: 9:765afebbe21cf5bbca048e632df38336 but is now: 8:037ba1216c3640f8785ee6b8e7c8e3c1
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.2.0.CR1.xml::1.2.0.RC1::[email protected] was: 9:db4a145ba11a6fdaefb397f6dbf829a1 but is now: 8:7fe6ffe4af4df289b3157de32c624263
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/jpa-changelog-1.2.0.Final.xml::1.2.0.Final::keycloak was: 9:9d05c7be10cdb873f8bcb41bc3a8ab23 but is now: 8:9c136bc3187083a98745c7d03bc8a303
2023-11-01T04:49:01.610976+00:00 app[web.1]: META-INF/jpa-changelog-1.3.0.xml::1.3.0::[email protected] was: 9:18593702353128d53111f9b1ff0b82b8 but is now: 8:b5f09474dca81fb56a97cf5b6553d331
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.4.0.xml::1.4.0::[email protected] was: 9:6122efe5f090e41a85c0f1c9e52cbb62 but is now: 8:ca924f31bd2a3b219fdcfe78c82dacf4
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.4.0.xml::1.4.0::[email protected] was: 9:e1ff28bf7568451453f844c5d54bb0b5 but is now: 8:8acad7483e106416bcfa6f3b824a16cd
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.5.0.xml::1.5.0::[email protected] was: 9:7af32cd8957fbc069f796b61217483fd but is now: 8:9b1266d17f4f87c78226f5055408fd5e
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1_from15::[email protected] was: 9:6005e15e84714cd83226bf7879f54190 but is now: 8:d80ec4ab6dbfe573550ff72396c7e910
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1_from16-pre::[email protected] was: 9:bf656f5a2b055d07f314431cae76f06c but is now: 8:d86eb172171e7c20b9c849b584d147b2
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1_from16::[email protected] was: 9:f8dadc9284440469dcf71e25ca6ab99b but is now: 8:5735f46f0fa60689deb0ecdc2a0dea22
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.6.1.xml::1.6.1::[email protected] was: 9:d41d8cd98f00b204e9800998ecf8427e but is now: 8:d41d8cd98f00b204e9800998ecf8427e
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.7.0.xml::1.7.0::[email protected] was: 9:3368ff0be4c2855ee2dd9ca813b38d8e but is now: 8:5c1a8fd2014ac7fc43b90a700f117b23
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.8.0.xml::1.8.0::[email protected] was: 9:8ac2fb5dd030b24c0570a763ed75ed20 but is now: 8:1f6c2c2dfc362aff4ed75b3f0ef6b331
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/jpa-changelog-1.8.0.xml::1.8.0-2::keycloak was: 9:f91ddca9b19743db60e3057679810e6c but is now: 8:dee9246280915712591f83a127665107
2023-11-01T04:49:01.610977+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.8.0.xml::1.8.0::[email protected] was: 9:831e82914316dc8a57dc09d755f23c51 but is now: 8:9eb2ee1fa8ad1c5e426421a6f8fdfa6a
2023-11-01T04:49:01.610978+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.8.0.xml::1.8.0-2::keycloak was: 9:f91ddca9b19743db60e3057679810e6c but is now: 8:dee9246280915712591f83a127665107
2023-11-01T04:49:01.610978+00:00 app[web.1]: META-INF/jpa-changelog-1.9.0.xml::1.9.0::[email protected] was: 9:bc3d0f9e823a69dc21e23e94c7a94bb1 but is now: 8:d9fa18ffa355320395b86270680dd4fe
2023-11-01T04:49:01.610978+00:00 app[web.1]: META-INF/jpa-changelog-1.9.1.xml::1.9.1::keycloak was: 9:c9999da42f543575ab790e76439a2679 but is now: 8:90cff506fedb06141ffc1c71c4a1214c
2023-11-01T04:49:01.610979+00:00 app[web.1]: META-INF/db2-jpa-changelog-1.9.1.xml::1.9.1::keycloak was: 9:0d6c65c6f58732d81569e77b10ba301d but is now: 8:11a788aed4961d6d29c427c063af828c
2023-11-01T04:49:01.610980+00:00 app[web.1]: META-INF/jpa-changelog-1.9.2.xml::1.9.2::keycloak was: 9:fc576660fc016ae53d2d4778d84d86d0 but is now: 8:a4218e51e1faf380518cce2af5d39b43
2023-11-01T04:49:01.610980+00:00 app[web.1]:
ARG KEYCLOAK_VERSION=22.0.1
FROM docker.io/jefftian/keycloak-builder as mvn_builder
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} as builder
#COPY --from=mvn_builder /tmp/target/*.jar /opt/keycloak/providers/
#COPY --from=mvn_builder /tmp/target/*.jar /opt/keycloak/deployments/
COPY idps/wechat-mobile/keycloak-services-social-weixin.jar \
/opt/keycloak/providers/
COPY idps/wecom/keycloak-services-social-wechat-work.jar \
/opt/keycloak/providers/
COPY idps/wecom/templates/realm-identity-provider-wechat-work.html \
/opt/keycloak/themes/base/admin/resources/partials
COPY idps/wecom/templates/realm-identity-provider-wechat-work-ext.html \
/opt/keycloak/themes/base/admin/resources/partials
#COPY temp/* /opt/keycloak/themes/base/admin/resources/partials
#COPY ui/font_iconfont /opt/keycloak/themes/keycloak/common/resources/lib/font_iconfont
#COPY ui/theme.properties /opt/keycloak/themes/keycloak/login/
ENV KC_PROXY_ADDRESS_FORWARDING=true
USER 1000
RUN /opt/keycloak/bin/kc.sh build --health-enabled=true
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
COPY --from=builder /opt/keycloak/ /opt/keycloak/
WORKDIR /opt/keycloak
CMD ["start-dev", "--hostname-strict=false", "--http-port=$PORT", "--proxy=edge", "--db=postgres", "--db-url=$DB_URL", "--db-username=$DB_USERNAME", "--db-password=$DB_PASSWORD", "--features=\"preview,scripts\""]