mattermost / mattermost/docker

new install not works

Open
#171 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
533
Forks
284
PR merge metrics
No merged PRs in 30d

Description

A fresh Docker installation is not working. I've tried different versions of release 10.
Using the following image: mattermost/mattermost-team-edition:10.10
Everything starts up, but there's no response on the port—connection hangs.

Initially, PostgreSQL showed the following error:
ERROR: relation "ir_system" does not exist

I disabled the plugin and restarted—this PostgreSQL error disappeared. The tables in PostgreSQL exist and contain data.
However, the connection on the port still hangs.

I also noticed that environment variables from .env are not being substituted into the database connection string in the config file.
I configured the connection string manually.

The only logs I see are:

{"timestamp":"2025-08-02 17:25:49.733 +03:00","level":"warn","msg":"Failed to get license from disk","caller":"platform/license.go:93","error":"We could not find the license key on disk at /mattermost/config/mattermost.mattermost-license: stat /mattermost/config/mattermost.mattermost-license: no such file or directory"}
{"timestamp":"2025-08-02 17:25:49.734 +03:00","level":"warn","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:105","error":"resource "License" not found, id: "}
{"timestamp":"2025-08-02 17:25:49.777 +03:00","level":"error","msg":"Mail server connection test failed","caller":"app/server.go:870","error":"unable to connect: unable to connect to the SMTP server: dial tcp [::1]:10025: connect: connection refused"}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the fresh install with mattermost/mattermost-team-edition:10.10, then inspect the .env-to-database configuration behavior and the startup logs, including platform/license.go and app/server.go. Compare the plugin and PostgreSQL states while checking the port and SMTP errors; done means the documented installation responds on its port with the configuration applied and no blocking startup failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql
Domain
databases, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.