Update theme to match KC 20.x expectations #8

Closed
opened 2022-11-23 15:37:52 +00:00 by decentral1se · 3 comments
Owner

We need to ugprade the KC install but the theme errors out. So, we need to fix the recipe (change: https://git.coopcloud.tech/coop-cloud/keycloak/issues/13) and then get the stacktrace from the deployment and fix the theme.

We need to ugprade the KC install but the theme errors out. So, we need to fix the recipe (change: https://git.coopcloud.tech/coop-cloud/keycloak/issues/13) and then get the stacktrace from the deployment and fix the theme.
Author
Owner

For some unknown reason, it's working 😲 Just had to 3f10bd7a95. Moving on!

For some unknown reason, it's working 😲 Just had to https://git.autonomic.zone/ruangrupa/login.lumbung.space/commit/3f10bd7a95f737a6337ab5ba522a6ec979e720f5. Moving on!
Author
Owner
w2023-03-06T14:27:46.912922000Z Caused by: org.keycloak.theme.FreeMarkerException: Failed to process template index.ftl
2023-03-06T14:27:46.912952000Z 	at org.keycloak.theme.freemarker.DefaultFreeMarkerProvider.processTemplate(DefaultFreeMarkerProvider.java:52)
2023-03-06T14:27:46.912980000Z 	at org.keycloak.quarkus.runtime.services.resources.QuarkusWelcomeResource.createWelcomePage(QuarkusWelcomeResource.java:203)
,2023-03-06T14:27:46.913007000Z 	... 46 more
2023-03-06T14:27:46.913035000Z Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
d2023-03-06T14:27:46.913062000Z ==> productNameFull  [in template "index.ftl" at line 26, column 25]
$2023-03-06T14:27:46.913116000Z ----
2023-03-06T14:27:46.913141000Z Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
$2023-03-06T14:27:46.913167000Z ----
$2023-03-06T14:27:46.913224000Z ----
L2023-03-06T14:27:46.913251000Z FTL stack trace ("~" means nesting-related):
q2023-03-06T14:27:46.913279000Z 	- Failed at: ${productNameFull}  [in template "index.ftl" at line 26, column 23]
$2023-03-06T14:27:46.913307000Z ----
}2023-03-06T14:27:46.913336000Z 	at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
j2023-03-06T14:27:46.913365000Z 	at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481)
k2023-03-06T14:27:46.913392000Z 	at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401)
k2023-03-06T14:27:46.913421000Z 	at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370)
2023-03-06T14:27:46.913449000Z 	at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
a2023-03-06T14:27:46.913477000Z 	at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
[2023-03-06T14:27:46.913506000Z 	at freemarker.core.Environment.visit(Environment.java:347)
[2023-03-06T14:27:46.913532000Z 	at freemarker.core.Environment.visit(Environment.java:353)
]2023-03-06T14:27:46.913560000Z 	at freemarker.core.Environment.process(Environment.java:326)
[2023-03-06T14:27:46.913590000Z 	at freemarker.template.Template.process(Template.java:383)
2023-03-06T14:27:46.913616000Z 	at org.keycloak.theme.freemarker.DefaultFreeMarkerProvider.processTemplate(DefaultFreeMarkerProvider.java:49)
,2023-03-06T14:27:46.913643000Z 	... 47 more
``` w2023-03-06T14:27:46.912922000Z Caused by: org.keycloak.theme.FreeMarkerException: Failed to process template index.ftl 2023-03-06T14:27:46.912952000Z at org.keycloak.theme.freemarker.DefaultFreeMarkerProvider.processTemplate(DefaultFreeMarkerProvider.java:52) 2023-03-06T14:27:46.912980000Z at org.keycloak.quarkus.runtime.services.resources.QuarkusWelcomeResource.createWelcomePage(QuarkusWelcomeResource.java:203) ,2023-03-06T14:27:46.913007000Z ... 46 more 2023-03-06T14:27:46.913035000Z Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: d2023-03-06T14:27:46.913062000Z ==> productNameFull [in template "index.ftl" at line 26, column 25] $2023-03-06T14:27:46.913116000Z ---- 2023-03-06T14:27:46.913141000Z Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? $2023-03-06T14:27:46.913167000Z ---- $2023-03-06T14:27:46.913224000Z ---- L2023-03-06T14:27:46.913251000Z FTL stack trace ("~" means nesting-related): q2023-03-06T14:27:46.913279000Z - Failed at: ${productNameFull} [in template "index.ftl" at line 26, column 23] $2023-03-06T14:27:46.913307000Z ---- }2023-03-06T14:27:46.913336000Z at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) j2023-03-06T14:27:46.913365000Z at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481) k2023-03-06T14:27:46.913392000Z at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401) k2023-03-06T14:27:46.913421000Z at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370) 2023-03-06T14:27:46.913449000Z at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) a2023-03-06T14:27:46.913477000Z at freemarker.core.DollarVariable.accept(DollarVariable.java:63) [2023-03-06T14:27:46.913506000Z at freemarker.core.Environment.visit(Environment.java:347) [2023-03-06T14:27:46.913532000Z at freemarker.core.Environment.visit(Environment.java:353) ]2023-03-06T14:27:46.913560000Z at freemarker.core.Environment.process(Environment.java:326) [2023-03-06T14:27:46.913590000Z at freemarker.template.Template.process(Template.java:383) 2023-03-06T14:27:46.913616000Z at org.keycloak.theme.freemarker.DefaultFreeMarkerProvider.processTemplate(DefaultFreeMarkerProvider.java:49) ,2023-03-06T14:27:46.913643000Z ... 47 more ```
Author
Owner

1e924472bb + wipe theme volume, re-deploy + restart and awayyyyyy

https://git.autonomic.zone/ruangrupa/login.lumbung.space/commit/1e924472bbecaf35ca0afe6e8ecce4a69350e6e5 + wipe theme volume, re-deploy + restart and awayyyyyy
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ruangrupa/login.lumbung.space#8
No description provided.