In case anyone ever needs to change the contents of conf.php and especially the passwords here’s how I did it and upgraded from v20.0.2 to v20.0.4
- stop and remove dolibarr container
- enter mariadb container and connect to the mariadb as root.
- change the password for the dolibarr db user (I used this method MariaDB: Change a user password)
- select the contents of the user table in the mysql database - here you can see the hashed password for the doli user - which is needed to replicate the mariadb container.
- change the password for the configuration of the dolibarr container
- move the conf.php file elsewhere, move so you have a backup
- start dolibarr container and guide it through the installation process
- which will re-create conf.php
- remember to create an install.lock file