We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04 LTS HWE
Starting (through systemd) Mattermost based on PostgreSQL 15(on the same server) stops immediately on this error:
{"timestamp":"2022-10-18 18:40:27.382 +02:00","level":"fatal","msg":"Failed to apply database migrations.","caller":"sqlstore/store.go:166","error":"pq: permission denied for schema public"}
Following the installation guide. Starting Mattermost like: systemctl start mattermost.service Immediately ending.
systemctl start mattermost.service
Installation instruction working
Is there a missing instruction to apply to PostgreSQL? Or what else it can be?
The text was updated successfully, but these errors were encountered:
@thepra Would you be open to posting about this on our Peer-to-peer Help channel or at https://forum.mattermost.com/? One of our devs or community members will likely be able to help troubleshoot this question.
Sorry, something went wrong.
Thanks to Alexander this is solved. for PSQL 15 you need extra grants for the user:
GRANT ALL ON DATABASE mattermost TO mmuser; ALTER DATABASE mattermost OWNER TO mmuser; GRANT USAGE, CREATE ON SCHEMA PUBLIC TO mmuser;
Forum link: https://forum.mattermost.com/t/pq-permission-denied-for-schema-public/14273
Will see if I can reproduce that based on the instructions you followed and will update the forum post then.
No branches or pull requests
Ubuntu 20.04 LTS HWE
Summary
Starting (through systemd) Mattermost based on PostgreSQL 15(on the same server) stops immediately on this error:
Steps to reproduce
Following the installation guide.
Starting Mattermost like:
systemctl start mattermost.service
Immediately ending.
Expected behavior
Installation instruction working
Is there a missing instruction to apply to PostgreSQL? Or what else it can be?
The text was updated successfully, but these errors were encountered: