# OnlyOffice on OpenShift - Postgresql tables not found

**URL:** https://community.onlyoffice.com/t/onlyoffice-on-openshift-postgresql-tables-not-found/18171
**Category:** Docs
**Tags:** docker
**Created:** [28 January 2026 09:56 UTC](https://community.onlyoffice.com/t/onlyoffice-on-openshift-postgresql-tables-not-found/18171 "2026-01-28T09:56:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![michizubi-SRF](https://community.onlyoffice.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@michizubi-SRF](https://community.onlyoffice.com/u/michizubi-SRF)
#### Post date: [28 January 2026 09:56 UTC](https://community.onlyoffice.com/t/onlyoffice-on-openshift-postgresql-tables-not-found/18171/1 "2026-01-28T09:56:24Z")

</div>

I installed OnlyOffice on Openshift according to this documentation: [GitHub - ONLYOFFICE/Kubernetes-Docs: ONLYOFFICE Docs for Kubernetes](https://github.com/ONLYOFFICE/Kubernetes-Docs?tab=readme-ov-file#3-deploy-rabbitmq)

I used a newly installed PostgreSQL server also installed via Helm charts.

The converter pod is starting and running, but the docservice container crashes with the following error messages:

```auto
[2026-01-28T09:50:24.320] [ERROR] [docId] [userId] nodeJS - DB table "doc_changes" does not exist
[2026-01-28T09:50:24.321] [ERROR] [docId] [userId] nodeJS - DB table "task_result" does not exist

```

The database onlyoffice exists but it looks like the tables are not getting set up by the docservice container.

Should this be done by the helm charts setup or do I need to create the tables manually? If I needed to create them manually how would I do that? I found in anther thread that there should be a “createdb.sql” script in the docservice container but this it’s not there.

---

<div class="post-metadata">

### Author: ![michizubi-SRF](https://community.onlyoffice.com/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@michizubi-SRF](https://community.onlyoffice.com/u/michizubi-SRF)
#### Post date: [28 January 2026 14:47 UTC](https://community.onlyoffice.com/t/onlyoffice-on-openshift-postgresql-tables-not-found/18171/2 "2026-01-28T14:47:50Z")

</div>

In the meantime I found the script online ([https://raw.githubusercontent.com/ONLYOFFICE/server/master/schema/postgresql/createdb.sql](https://raw.githubusercontent.com/ONLYOFFICE/server/master/schema/postgresql/createdb.sql))  
and ran it manually on the PostgreSQL DB. After that the containers are running fine.

Apparently this DB initialization is not part of the helm charts. There should be some sort of init container or job that runs.

---

<div class="post-metadata">

### Author: ![Nikolas](https://community.onlyoffice.com/user_avatar/community.onlyoffice.com/nikolas/32/2509_2.png) [@Nikolas](https://community.onlyoffice.com/u/Nikolas)
#### Post date: [4 February 2026 10:44 UTC](https://community.onlyoffice.com/t/onlyoffice-on-openshift-postgresql-tables-not-found/18171/3 "2026-02-04T10:44:51Z")

</div>

Hey @michizubi-SRF, 👋

Great to hear you got it running after manually applying the `createdb.sql` script — thanks for sharing the solution!

Just to reiterate one more time:

> [@Error connection Nextcloud to OnlyOffice](https://community.onlyoffice.com/t/error-connection-nextcloud-to-onlyoffice/18173/2):
>
> Hey @michizubi-SRF, wave Thanks for the detailed description and logs — it’s clear you’re running a proper Kubernetes/OpenShift setup. To use the editors in a cluster environment like this, you need a valid license for ONLYOFFICE Docs Enterprise Edition or Developer Edition. The community (free) version is intended for smaller-scale usage (up to ~20 simultaneous connections) and is not officially supported for Kubernetes clusters. If you already have an Enterprise/Developer license, I stron…
