Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

must be member of role 'confluenceuser'

asif_iqbal September 21, 2020

Hi Atlassian,

I am trying to create a confluence database in Aurora Postgresql and I am getting this error

 

postgres=> create role confluenceuser with password 'secret' login;

CREATE ROLE

postgres=> create database confluence with encoding 'utf-8' lc_collate 'en_US.utf8' LC_CTYPE 'en_US.utf8' TEMPLATE template0 owner confluenceuser;
ERROR: must be member of role "confluenceuser"

 

Any suggestion on what I am doing wrong? I am trying to follow this link https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html

Thanks,

Asif

 

 

2 answers

0 votes
asif_iqbal September 22, 2020

Our issue was adding ownership of the database to a user and that was failing.

We found a fix. So create the database without the owner. And then alter the database to the owner. That worked.

postgres=> create database confluence with encoding 'utf-8' lc_collate 'en_US.utf8' LC_CTYPE 'en_US.utf8' TEMPLATE template0; 
CREATE DATABASE
postgres=> alter database confluence owner to confluenceuser;
ALTER DATABASE
0 votes
repi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events