Hello, I’m having some trouble setting up a Mattermost server and I hope someone may be able to lend me a hand with it.
I get stuck in the part where i have to test the server to make sure everything works.
I get the error message -->"Failed to ping DB retrying in 10 seconds err=time: invalid duration
I have uploaded the rest of the logs here–> https://pastebin.com/3JZyVkaH
I’m following the documentation referring to a ubuntu 16.04 installation here --> https:/./docs.mattermost.com/install/install-ubuntu-1604.html and to be more specific I fail at the 8 step of the Mattermost server installation when I input the command --> sudo -u mattermost ./bin/mattermost
I have seen that some people have similiar problems and they are generally due to a bad configuration of the config file in --> /opt/mattermost/config/config.json
This is the configuration that I have right now:
I have tried switching the 127.0.0.1 for “localhost” and for the ip of the computer (172.16.199.55). The password is “new_password_here”
You can find the full file here -->https://pastebin.com/Huv6QiCT
I have also tried following the instructions and changing to mariadb as shown in this post here --> https:/./websiteforstudents.com/install-mattermost-server-version-on-ubuntu-16-04-17-10-18-04/ and making the changes to follow the instructions in both mariadb and mysql, getting the same error message every time.
Right now the server has been installed on an ubuntu 18.04 desktop (I don’t know if the fact that it’s installed on a desktop may be the root of the problem) but I’ve ran into the same problem installing it on an ubuntu 16.04
I have checked and the firewall is disabled.
OS: Ubuntu 18.04 desktop
Mysql: Ver 14.14 Distrib 5.7.22, for Linux (x86_64) using EditLine wrapper
Mattermost: mattermost 5.1.0
Anyone has any suggestions?
Pd: sorry about the links, but new users are only allowed to use 2 hyperlinks on each post at most so i’m forced to break the links to the web pages.
Edit: I have tried installing it in an ubuntu server 18.04 and I get the same error message that I did in the beginning