For feature requests, please see: Contributing Feature Proposals - Mattermost.
For troubleshooting questions, please post in the following format:
new installation cannot ping database
Steps to reproduce
docker-ce running on Rocky linux 8.7
postgres db running on localhost as a container
mattermost-team edition running as container
mattermost should be able to connec to db
Docker log show that the database gets created and says “database system is ready to accept connections”
Docker logs for Mattermost say “Failed to ping DB” and nothing about access issues (permissions) or wrong account name.
What I have tried so far
- verify listening port for db is 5432 (docker ps -a shows this)
- compared docker-compose.yml, .env and config.json files with another version that is presently working. (BTW, all these files were copied from the version that is working)
Please note It is not easy for me to readily supply logs & configs. This setup is air gapped (Gov’t).
I can do it but it does take some time/approvals.
I am most baffled by the fact that I copied configs from a known working/good system. The other system works, this one does not. The only difference might be if I have a different image between the two systems. (Even though the configs are the same it is possible I uploaded a different image to my private registries - which is also air gapped. After all, the image name showing in docker ps -a is whatever you set it to be when you tag an image.)
Thanks for your assistance!