You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to setup a new chatwoot server, and running either db:chatwoot_prepare or db:schema:load
rails aborted!
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "pg_stat_statements"
HINT: Must be superuser to create this extension.
/home/chatwoot/chatwoot/db/schema.rb:16:in `block in <main>'
/home/chatwoot/chatwoot/db/schema.rb:13:in `<main>'
Caused by:
PG::InsufficientPrivilege: ERROR: permission denied to create extension "pg_stat_statements"
HINT: Must be superuser to create this extension.
To Reproduce
My PG Setup
CREATE USER chatwoot NOINHERIT LOGIN PASSWORD '<password>';
CREATE DATABASE chatwoot_production OWNER chatwoot;
GRANT ALL PRIVILEGES ON DATABASE chatwoot_production to chatwoot;
Expected behavior
A clear indication on what roles to give to chatwoot in the readme. Also, expecting chatwoot to get superadmin privilegies seems a bit excessive. Is there no other way to configure what you need ?
Screenshots
N/A
Browser logs
N/A
Server logs
N/A
Environment
Self hosted chatwoot, Linux VM deployment
release/2.2.1
Desktop (please complete the following information):
OS: Debian 13
Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
As a sidenote: As part of the documentation, it'd be nice for administrators to know what these extensions are used for in the application if possible 😄
Describe the bug
Trying to setup a new chatwoot server, and running either db:chatwoot_prepare or db:schema:load
To Reproduce
My PG Setup
Expected behavior
A clear indication on what roles to give to chatwoot in the readme. Also, expecting chatwoot to get superadmin privilegies seems a bit excessive. Is there no other way to configure what you need ?
Screenshots
N/A
Browser logs
N/A
Server logs
N/A
Environment
Self hosted chatwoot, Linux VM deployment
release/2.2.1
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: