# PBMS deployment issue – pbms-keymanager pod crashes (key\_alias table missing, dbinit job not created)

**URL:** <https://community.openg2p.org/t/pbms-deployment-issue-pbms-keymanager-pod-crashes-key-alias-table-missing-dbinit-job-not-created/61>\
**Category:** PBMS\
**Created:** [September 16, 2025, 10:57am UTC](https://community.openg2p.org/t/pbms-deployment-issue-pbms-keymanager-pod-crashes-key-alias-table-missing-dbinit-job-not-created/61 "2025-09-16T10:57:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhavani\_Shankar](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openg2p.org/bhavani_shankar/32/58_2.png) [@Bhavani\_Shankar](https://community.openg2p.org/u/Bhavani_Shankar)\
**Post date:** [September 16, 2025, 10:57am UTC](https://community.openg2p.org/t/pbms-deployment-issue-pbms-keymanager-pod-crashes-key-alias-table-missing-dbinit-job-not-created/61/1 "2025-09-16T10:57:49Z")

</div>

Hi team,

I’ve attempted to deploy the OpenG2P PBMS module from scratch twice using the official Helm chart, but I’m consistently facing critical issues during startup:

- The pbms-keymanager pod crashes with: `relation "key_alias" does not exist`.
- The pbms-keymanager-dbinit job, which is expected to create the necessary DB tables (like key\_alias), is not created at all during deployment.
- I’ve verified that `dbInit.enabled=true` and even tried forcing Helm to re-trigger the init job, but the job still doesn’t get deployed.
- Other services like `mock-identity-system` are also failing due to similar DB initialization issues.

This happens consistently even after:

- Full reinstallation,
- Proper secret configuration,
- Verifying Postgres access.

I suspect there may be a missing Helm hook or bug in the chart.

Could you please help me debug this further, or confirm if this is a known issue?  
I have logs, Helm status outputs, and Postgres shell access available if needed.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Pramod\_Belal](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openg2p.org/pramod_belal/32/59_2.png) [@Pramod\_Belal](https://community.openg2p.org/u/Pramod_Belal)\
**Post date:** [September 18, 2025, 4:13am UTC](https://community.openg2p.org/t/pbms-deployment-issue-pbms-keymanager-pod-crashes-key-alias-table-missing-dbinit-job-not-created/61/2 "2025-09-18T04:13:30Z")

</div>

Hi Bhavani\_Shankar,

Can you tell me which version of the PBMS Helm chart you are using?

Thanks!

---

<div class="post-metadata">

**Author:** ![Bhavani\_Shankar](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openg2p.org/bhavani_shankar/32/58_2.png) [@Bhavani\_Shankar](https://community.openg2p.org/u/Bhavani_Shankar)\
**Post date:** [September 19, 2025, 12:39pm UTC](https://community.openg2p.org/t/pbms-deployment-issue-pbms-keymanager-pod-crashes-key-alias-table-missing-dbinit-job-not-created/61/3 "2025-09-19T12:39:19Z")

</div>

Hi pramod\_Belal

I’ve checked, and we are currently using the **PBMS Helm chart version `2.0.2`** (latest available from the OpenG2P chart repo).

Thanks!

---

<div class="post-metadata">

**Author:** ![Pramod\_Belal](https://dub1.discourse-cdn.com/flex005/user_avatar/community.openg2p.org/pramod_belal/32/59_2.png) [@Pramod\_Belal](https://community.openg2p.org/u/Pramod_Belal)\
**Post date:** [September 19, 2025, 1:01pm UTC](https://community.openg2p.org/t/pbms-deployment-issue-pbms-keymanager-pod-crashes-key-alias-table-missing-dbinit-job-not-created/61/4 "2025-09-19T13:01:29Z")

</div>

Bhavani\_Shankar,

Ok, you can reinstall PBMS, but before that I suggest following the uninstallation procedure from the documentation attached below. The issue might be that during the previous reinstall attempt you did not clear all the PVCs and PVs related to PBMS. Can you try this once and get back to us?

> **[Uninstalling Applications from Rancher UI | OpenG2P Docs](https://docs.openg2p.org/deployment/deployment-guide/uninstalling-applications-from-rancher-ui)**
>
> This document provides instructions on uninstalling applications from Rancher UI.

Thanks!
