# AWX 21.6.0 Fresh installation failing TASK \[installer : Wait for Database to initialize if managed DB\]

**URL:** <https://forum.ansible.com/t/awx-21-6-0-fresh-installation-failing-task-installer-wait-for-database-to-initialize-if-managed-db/37155>\
**Category:** AWX Project\
**Tags:** awx-project, ubuntu, awx\
**Created:** [September 28, 2022, 8:19pm UTC](https://forum.ansible.com/t/awx-21-6-0-fresh-installation-failing-task-installer-wait-for-database-to-initialize-if-managed-db/37155 "2022-09-28T20:19:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vish](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@Vish](https://forum.ansible.com/u/Vish)\
**Post date:** [September 28, 2022, 8:19pm UTC](https://forum.ansible.com/t/awx-21-6-0-fresh-installation-failing-task-installer-wait-for-database-to-initialize-if-managed-db/37155/1 "2022-09-28T20:19:26Z")

</div>

Hi,

I am trying to install a fresh install of awx on my ubuntu server[22.04 Jammy Jellyfish] but postgres DB is failing.  
I have changed /data/postgres and /data/projects permission as well , Kindly let me know what is the issue here. Thank you

```auto

```

**sudo chmod 755 /data/postgres**  
**sudo chown 1000:0 /data/projects**

**Here are my configs:**

---

<div class="post-metadata">

**Author:** ![kurokobo1](https://avatars.discourse-cdn.com/v4/letter/k/f0a364/32.png) [@kurokobo1](https://forum.ansible.com/u/kurokobo1)\
**Post date:** [September 28, 2022, 8:29pm UTC](https://forum.ansible.com/t/awx-21-6-0-fresh-installation-failing-task-installer-wait-for-database-to-initialize-if-managed-db/37155/2 "2022-09-28T20:29:34Z")

</div>

Hi,

Increase capacity for your PV awx-postgres-volume and try again.  
Your PV awx-postgres-volume has 9 Gi capacity, but 10 Gi is requested (means minimum capacity requirements for PV) by awxdeploy,yml.  
I think this is why your PV had not assigned for new PVC.

---

<div class="post-metadata">

**Author:** ![Vish](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@Vish](https://forum.ansible.com/u/Vish)\
**Post date:** [September 28, 2022, 10:17pm UTC](https://forum.ansible.com/t/awx-21-6-0-fresh-installation-failing-task-installer-wait-for-database-to-initialize-if-managed-db/37155/3 "2022-09-28T22:17:50Z")

</div>

kurokobo

After increasing capacity installation went smooth, Thank you
