# Migration error on fresh startup running in k8s cluster

**URL:** <https://meta.discourse.org/t/migration-error-on-fresh-startup-running-in-k8s-cluster/184751>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [March 29, 2021, 1:40pm UTC](https://meta.discourse.org/t/migration-error-on-fresh-startup-running-in-k8s-cluster/184751 "2021-03-29T13:40:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mobiusdickus](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mobiusdickus](https://meta.discourse.org/u/mobiusdickus)\
**Post date:** [March 29, 2021, 1:40pm UTC](https://meta.discourse.org/t/migration-error-on-fresh-startup-running-in-k8s-cluster/184751/1 "2021-03-29T13:40:06Z")

</div>

Hi!

I am running the latest version of discourse on a k8s cluster and upon startup and I keep getting this error:

```plaintext
    ERROR: relation "translation_overrides" does not exist at character 454
STATEMENT: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
 	       pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
 	       c.collname, col_description(a.attrelid, a.attnum) AS comment
 	  FROM pg_attribute a
 	  LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
 	  LEFT JOIN pg_type t ON a.atttypid = t.oid
 	  LEFT JOIN pg_collation c ON a.attcollation = c.oid AND a.attcollation <> t.typcollation
 	 WHERE a.attrelid = '"translation_overrides"'::regclass
 	   AND a.attnum > 0 AND NOT a.attisdropped
 	 ORDER BY a.attnum

```

I am guessing it has something to do with the initial setup and db migration, but I am wondering if anyone here might know why exactly this keeps happening.

Local setup is run with minikube and error logs are pulled from pgsql pod.  
Discourse image used → bitnami/discourse:latest ([https://github.com/bitnami/bitnami-docker-discourse](https://github.com/bitnami/bitnami-docker-discourse))  
Postgres image → postgres:11.9

Thank you and cheers!

---

_[View the full topic](https://meta.discourse.org/t/migration-error-on-fresh-startup-running-in-k8s-cluster/184751)._
