# Error after upgrade from 25.0.6 to 26.0.0

**URL:** <https://forum.keycloak.org/t/error-after-upgrade-from-25-0-6-to-26-0-0/29207>\
**Category:** Miscellanaeous\
**Created:** [December 12, 2024, 9:47pm UTC](https://forum.keycloak.org/t/error-after-upgrade-from-25-0-6-to-26-0-0/29207 "2024-12-12T21:47:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![munikumar.kotera](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/munikumar.kotera/32/11598_2.png) [@munikumar.kotera](https://forum.keycloak.org/u/munikumar.kotera)\
**Post date:** [December 12, 2024, 9:47pm UTC](https://forum.keycloak.org/t/error-after-upgrade-from-25-0-6-to-26-0-0/29207/1 "2024-12-12T21:47:33Z")

</div>

Hi, we upgaded keycloak image from 25.0.6 to 26.0.0 using redhat quay image image([Quay](https://quay.io/repository/keycloak/keycloak?tab=tags&tag=26.0.0)). Its throwing a below error while opening the admin console. Our keycloak sits behind nginx reverse proxy.

Hostname v1 options [proxy] are still in use, please review your configuration  
ERROR [org.keycloak.quarkus.runtime.configuration.mappers.PropertyMappers] (main) Hostname v1 options [proxy] are still in use, please review your configuration

---

<div class="post-metadata">

**Author:** ![bpedersen2](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/bpedersen2/32/3934_2.png) [@bpedersen2](https://forum.keycloak.org/u/bpedersen2)\
**Post date:** [December 13, 2024, 10:21am UTC](https://forum.keycloak.org/t/error-after-upgrade-from-25-0-6-to-26-0-0/29207/2 "2024-12-13T10:21:10Z")

</div>

See the upgrade guide[1], you need to adjust your startup options, as some options do have changed.

[1] [Release Notes](https://www.keycloak.org/docs/latest/release_notes/index.html#keycloak-26-0-0)

---

<div class="post-metadata">

**Author:** ![munikumar.kotera](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/munikumar.kotera/32/11598_2.png) [@munikumar.kotera](https://forum.keycloak.org/u/munikumar.kotera)\
**Post date:** [December 13, 2024, 2:22pm UTC](https://forum.keycloak.org/t/error-after-upgrade-from-25-0-6-to-26-0-0/29207/3 "2024-12-13T14:22:39Z")

</div>

Thank you so much bpedersen2 for the reply. Here is our compose file, do we need to change any thing in the compose to adjust new startup options.  
keycloak:  
image: ‘ourcompanyartifactory:5050/apps/keycloak/keycloak:26.0.0’  
restart: always  
environment:  
KC\_HOSTNAME\_STRICT: ‘false’  
KC\_HOSTNAME: ‘[keycloak-dev.com](http://keycloak-dev.com)’  
KC\_SPI\_TRUSTSTORE\_FILE\_FILE: ‘/tmp/keycloak.jks’  
KC\_SPI\_TRUSTSTORE\_FILE\_PASSWORD: ${KEYCLOAK\_TRUSTSTORE}  
KC\_SPI\_TRUSTSTORE\_FILE\_HOSTNAME\_VERIFICATION\_POLICY: ‘STRICT’  
KC\_PROXY: ‘edge’  
KC\_DB: ‘postgres’  
KC\_DB\_URL\_HOST: ‘keycloakdb-dev’  
KC\_DB\_URL\_DATABASE: ‘keycloak-dev’  
KC\_DB\_URL\_PORT: ‘5432’  
KC\_DB\_USERNAME: ‘keycloak\_dev’  
KC\_DB\_PASSWORD: ${DB\_PASSWORD}  
TZ: America/New\_York  
KEYCLOAK\_LOGLEVEL: TRACE  
command:  
- start  
expose:  
- ‘8080’  
volumes:  
- ./realms:/tmp

---

<div class="post-metadata">

**Author:** ![munikumar.kotera](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/munikumar.kotera/32/11598_2.png) [@munikumar.kotera](https://forum.keycloak.org/u/munikumar.kotera)\
**Post date:** [December 13, 2024, 6:47pm UTC](https://forum.keycloak.org/t/error-after-upgrade-from-25-0-6-to-26-0-0/29207/4 "2024-12-13T18:47:54Z")

</div>

After further searching this issue has been fixed by making following changes in the compose file.  
Remove:  
KC\_PROXY: ‘edge’  
Add:  
KC\_HTTP\_ENABLED: true  
KC\_PROXY\_HEADERS: xforwarded
