# PG::UndefinedTable: ERROR: relation "translation\_overrides" does not exist

**URL:** https://meta.discourse.org/t/pg-undefinedtable-error-relation-translation-overrides-does-not-exist/42599
**Category:** Development
**Created:** [April 15, 2016, 9:46am UTC](https://meta.discourse.org/t/pg-undefinedtable-error-relation-translation-overrides-does-not-exist/42599 "2016-04-15T09:46:09Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![marcosbc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcosbc/32/222119_2.png) [@marcosbc](https://meta.discourse.org/u/marcosbc)
#### Post date: [May 27, 2021, 11:01am UTC](https://meta.discourse.org/t/pg-undefinedtable-error-relation-translation-overrides-does-not-exist/42599/4 "2021-05-27T11:01:33Z")

</div>

Hi all, this seems to be the same issue as [Migration error on fresh startup running in k8s cluster](https://meta.discourse.org/t/migration-error-on-fresh-startup-running-in-k8s-cluster/184751), and we were able to reproduce it in a vanilla Discourse launcher setup using the official [standalone.yml template](https://raw.githubusercontent.com/discourse/discourse_docker/master/samples/standalone.yml) when deploying it:

```plaintext
$ ./launcher rebuild app
...
I, [2021-05-27T10:53:27.612150 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake plugin:pull_compatible_all'
I, [2021-05-27T10:53:30.072954 #1] INFO -- : docker_manager is already at latest compatible version

I, [2021-05-27T10:53:30.073194 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'

2021-05-27 10:53:32.977 UTC [4354] discourse@discourse ERROR: relation "translation_overrides" does not exist at character 454
2021-05-27 10:53:32.977 UTC [4354] discourse@discourse 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

Warning: no type cast defined for type "name" with oid 19. Please cast this type explicitly to TEXT to be safe for future changes.
> Seeding theme and color schemes
I, [2021-05-27T10:53:49.976589 #1] INFO -- : == 20000225050318 AddSchemaMigrationDetails: migrating ========================
...

```

---

_[View the full topic](https://meta.discourse.org/t/pg-undefinedtable-error-relation-translation-overrides-does-not-exist/42599)._
