Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

ERROR: relation "idx_teams_description" does not exist #411

Open
nvjacobo opened this issue Sep 3, 2019 · 11 comments
Open

ERROR: relation "idx_teams_description" does not exist #411

nvjacobo opened this issue Sep 3, 2019 · 11 comments

Comments

@nvjacobo
Copy link
Contributor

nvjacobo commented Sep 3, 2019

Hi

I am running Mattermost 5.14.1 with docker-compose. The db container prints the following error:

db_1   | LOG:  database system was shut down at 2019-09-03 04:57:08 UTC
db_1   | LOG:  MultiXact member wraparound protections are now enabled
db_1   | LOG:  database system is ready to accept connections
db_1   | LOG:  autovacuum launcher started
db_1   | ERROR:  relation "idx_teams_description" does not exist
db_1   | STATEMENT:  SELECT $1::regclass

Thanks

@nvjacobo
Copy link
Contributor Author

Hi,

I updated to Mattermost 5.15. It persists:

web_1  | 2019/09/22 20:52:53 [warn] 1#1: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/mattermost.conf:15
web_1  | nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/mattermost.conf:15

@customizeXF
Copy link

Hi

I am running Mattermost 5.14.1 with docker-compose. The db container prints the following error:

db_1   | LOG:  database system was shut down at 2019-09-03 04:57:08 UTC
db_1   | LOG:  MultiXact member wraparound protections are now enabled
db_1   | LOG:  database system is ready to accept connections
db_1   | LOG:  autovacuum launcher started
db_1   | ERROR:  relation "idx_teams_description" does not exist
db_1   | STATEMENT:  SELECT $1::regclass

Thanks

Same error in postgres DB after starting the Mattermost container version 5.21 or 5.22.

Mattermost won't start...

@nvjacobo
Copy link
Contributor Author

nvjacobo commented Apr 2, 2020

Hi
I am running Mattermost 5.14.1 with docker-compose. The db container prints the following error:

db_1   | LOG:  database system was shut down at 2019-09-03 04:57:08 UTC
db_1   | LOG:  MultiXact member wraparound protections are now enabled
db_1   | LOG:  database system is ready to accept connections
db_1   | LOG:  autovacuum launcher started
db_1   | ERROR:  relation "idx_teams_description" does not exist
db_1   | STATEMENT:  SELECT $1::regclass

Thanks

Same error in postgres DB after starting the Mattermost container version 5.21 or 5.22.

Mattermost won't start...

Hi @customizeXF,

It persists for me at 5.22. But I can up all containers.

@customizeXF
Copy link

Hm, my container is up, but getting error 502 when trying to visit the site.

@nvjacobo
Copy link
Contributor Author

nvjacobo commented Apr 2, 2020

Hm, my container is up, but getting error 502 when trying to visit the site.

app container is up?

@adechassey
Copy link

Same error for me trying the latest version... This is getting me crazy.

@amir-khalili
Copy link

Hey guys!
Nya update on this issue?

@nvjacobo
Copy link
Contributor Author

nvjacobo commented Aug 7, 2020

Hey guys!
Nya update on this issue?

Hi @amir-khalili,

In my instance this error persists.

Details:

Mattermost Version: 5.25.1
Database Schema Version: 5.25.0
Database: postgres
Build Date: Thu Jul 23 20:08:58 UTC 2020

@dhx
Copy link

dhx commented Sep 25, 2020

This error message does not seem to indicate a problem as the index is to be removed since v3.6.1 ( mattermost/mattermost@dd6fac5 )

Guess it's just a side product of the RemoveIndexIfExists call:

store/sqlstore/team_store.go:	s.RemoveIndexIfExists("idx_teams_description", "Teams")

@bor8
Copy link

bor8 commented Apr 29, 2021

Nice @dhx! Is there a quick fix (for a Docker installation)?

@dhx
Copy link

dhx commented Apr 30, 2021

@bor8 while I guess it would be nice to not print this error message, it seems to be unrelated to the observed problems as I don't see how the cause of the message would result in Mattermost not starting (or 502 results).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants