Closed bosd closed 4 years ago
BTW, https://github.com/Tecnativa/doodba-copier-template/issues/60 is yours too @bosd, please don't open duplicate issues. :sweat_smile:
I understand it seems confusing. I'm pretty new to this. Will try to make my steps as clear as possible. I think this issue could be related to Tecnativa/doodba-copier-template#60, although this one is on another host system. Different variables, different odoo version.. will comment on this one first. Let's keep this one focussed on the password error.
As per previous steps it throws an error. I proceeded to start up the test environment.
docker-compose -f test.yaml up
the result is:
odoo_1 | doodba INFO: Waiting until postgres is listening at db...
db_1 | 2020-06-09 09:45:43.092 GMT [27] FATAL: password authentication failed for user "odoo"
db_1 | 2020-06-09 09:45:43.092 GMT [27] DETAIL: Password does not match for user "odoo".
Strange, as I clearly set the password to "something"
with the copier.
so I stopped the instance.. go to look inside the container what is happening.
docker-compose run --rm odoo bash
inside the container:
odoo@97f5f35cb8d5:/opt/odoo$ cd auto
odoo@97f5f35cb8d5:/opt/odoo$ nano odoo.conf
inside the odoo.conf file I find the line:
db_password = odoopassword
which is the default password of the copier step.
So if I am not mistaking, this should contain the password, I provided during the copier step which is:
db_password = something
Update:
for completion the password "something"
is populated in the /.docker files
db-access.env reads
PGPASSWORD=something
db-creation.env reads
POSTGRES_PASSWORD=something
Setting up a fresh odoo 13 install and lanching the devel environment creates a
See the used copier answers and steps to reproduce
``$ sudo docker-compose -f devel.yaml up
feedback