How to setup Mattermost in Container Station [3.0.9.1038]

My goal is to install Mattermost in Container Station and I tried to follow this:
Install Mattermost on QNAP NAS with Container Station

It’s a few years old but the instructions are very clear. However I’m running into a dead end. When trying to setup the PostgreSQL I wasn’t able to create a database because I was getting an error saying the database was out of date

I tried updating the YAML from 15.1 to latest to the same result:

version: '3'
services:
  postgres:
    image: postgres:15.1

The error message was:

Version of PostgreSQL not supported. Please upgrade to version or later.

I’m new to this docker thing so if there are any relevant videos or something feel free to shoot them my way.

Container Station: Version 3.0.9.1038 (2024/11/08)
NAS Model: TS-873A
Firmware: QTS 5.2.6.3195
Memory: 8GB

What happens when you just install :latest instead ?

I vaguely seem to remember that newer PostgreSQL version also need certain processor features on the docker host (so using a lower version could be worth a shot too)

1 Like

If I change from image: postgres:15.1 to image: postgres:latest there’s no change. I can log into the admin but when i click on PostgreSQL in the nav on the side I get the error.

Well looking at the screen shots on promincproductions, his “Sample” config got him postgres 11.6.

If you look at the official instructions Deploy Mattermost using Containers - Mattermost documentation

You get the following YAML
docker/docker-compose.yml at main · mattermost/docker

And the following ENV vars
docker/env.example at main · mattermost/docker

They expect 13.x, and maybe they just happened to support 11.x in 2023.
I have a vague recollection of 90s sysadmin where database software versions mattered, so try using a 13 tag instead of 15.1

Also I would combine postgres and mattermost into the same CS “application” unless you plan to run anything else using postgres13.x