kannan-raveendran-nair / pega-pe-docker

Pega Personal Edition made docker deployable
14 stars 17 forks source link

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

Open bhuwan94 opened 4 years ago

bhuwan94 commented 4 years ago

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 commented 4 years ago

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.