@VoyagesDivins, sorry to hear about the trouble you keep running into. The behaviour you describe is expected from the Mattermost server: if it cannot communicate with your PostgresSQL instance, it will block on startup, eventually stopping altogether after a fixed number of attempts.
I’d recommend trying to open a manual psql connection to your database from the same server running the Mattermost server and continue your debugging from there.