Skip to content
New issue

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

Error while docker-compose up postgresql-pega-backend #3

Open
bhuwan94 opened this issue Jun 3, 2020 · 1 comment
Open

Error while docker-compose up postgresql-pega-backend #3

bhuwan94 opened this issue Jun 3, 2020 · 1 comment

Comments

@bhuwan94
Copy link

bhuwan94 commented Jun 3, 2020

Hi Kannan,

Thanks for sharing this, I am trying this with Pega PE 8.4 since lower verisons are no more available.

I am facing the below error while running docker-compose up postgresql-pega-backend,

postgresql-pega | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/pega8_postgres_scema.sql
postgresql-pega | 2020-06-03 20:21:19.680 UTC [163] ERROR: role "pega" does not exist
postgresql-pega | 2020-06-03 20:21:19.680 UTC [163] STATEMENT: CREATE SCHEMA pegarules AUTHORIZATION pega;
postgresql-pega | psql:/docker-entrypoint-initdb.d/pega8_postgres_scema.sql:1: ERROR: role "pega" does not exist

Can you please advise.

Thanks in advance.

@bhuwan94
Copy link
Author

bhuwan94 commented Jun 4, 2020

postgresql-pega | Restoring pega.dump Complete!
postgresql-pega |
postgresql-pega | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/99-cleanup.sh
postgresql-pega |
postgresql-pega | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/pega8_postgres_scema.sql
postgresql-pega | 2020-06-04 12:19:39.471 UTC [162] ERROR: role "pega" does not exist
postgresql-pega | 2020-06-04 12:19:39.471 UTC [162] STATEMENT: CREATE SCHEMA pegarules AUTHORIZATION pega;
postgresql-pega | psql:/docker-entrypoint-initdb.d/pega8_postgres_scema.sql:1: ERROR: role "pega" does not exist
postgresql-pega exited with code 3

pega.dump is restored correctly it fails while creating schema.

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

No branches or pull requests

1 participant