When an error occurs during the initial setup of the first deployment:
- setup starts, initiating passwords and DB schema
- setup fails (for some reason) -> so nothing is copied to persistency, but DB does in its side
- restart -> setup starts (again) initiating passwords (with new values), detect the DB exists, but fails to connect as the new password is used but does not match the actual one in the database.
This tuleapadm password seems to be a technical account. It is only used to let Tuleap access database.
One simple solution could be to force the update of the tuleapadm password in database:
- each time it is changed by the setup process
- or even simply each time the container boots