Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Intial mattermost setup - psql errors: relation X does not exist

$
0
0

Hi Jwil,

Sorry for the fact that I didn't respond in such a long time!
The issue is still relevant for me so here's the full errors that I'm seeing:

error logs

ERROR: relation "systems" does not exist at character 19
STATEMENT: SELECT Value FROM Systems WHERE Name='Version'
ERROR: relation "idx_teams_name" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_teams_invite_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_teammembers_team_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_teammembers_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_channels_team_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_channels_name" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_channelmembers_channel_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_channelmembers_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_posts_update_at" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_posts_create_at" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_posts_channel_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_posts_root_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_posts_message_txt" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_posts_hashtags_txt" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_users_email" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_audits_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_sessions_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_sessions_token" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_oauthapps_creator_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_oauthaccessdata_client_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_oauthaccessdata_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_oauthaccessdata_refresh_token" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_oauthauthdata_client_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_incoming_webhook_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_incoming_webhook_team_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_outgoing_webhook_team_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_command_team_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_preferences_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_preferences_category" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_preferences_name" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_password_recovery_code" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_status_user_id" does not exist
STATEMENT: SELECT $1::regclass
ERROR: relation "idx_status_status" does not exist
STATEMENT: SELECT $1::regclass

Currently I'm on mattermost version 3.3.0.
The fact that I'm using Oauth does not seem to make a difference. (the errors also occur when I start a completely new mattermost instance + new DB with oauth disabled)

It seems like mattermost is not properly populating the empty database and tries to query for non-existing relations.
The question is: How do I fix this? :slight_smile:

edit: The preview properly shows my errors embedded in a "details" section but the actual post does not.
Sorry if I messed up :o

Kind Regards,
Chris


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>