Mattermost 10.4.2 fails to start

Summary
Mattermost community edition fails to start after it has been running fine for a month

Steps to reproduce
Service fails to start on Proxmox Ubuntu VM

Expected behavior
Mattermost service starts

Observed behavior
Mattermost service fails to start

Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04

Version: 10.4.2
Build Number: 12918017578
Build Date: Wed Jan 22 22:20:52 UTC 2025
Build Hash: dabbe427c192a73527734aec5449a71acbe03535
Build Enterprise Ready: true

info [2025-02-07 16:03:16.307 Z] Pinging SQL caller=“sql/sql_utils.go:68” database=master dataSource=“postgres://%2A%2A%2A%2A:%2A%2A%2A%2A@localhost/mattermost?binary_parameters=yes&connect_timeout=10&sslmode=disable”
Current database schema version is: 128

â—Ź mattermost.service - Mattermost
Loaded: loaded (/usr/lib/systemd/system/mattermost.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2025-02-07 15:38:48 UTC; 8s ago
Process: 7713 ExecStart=/opt/mattermost/bin/mattermost (code=exited, status=1/FAILURE)
Main PID: 7713 (code=exited, status=1/FAILURE)
CPU: 6.470s

Feb 07 15:38:48 mattermost systemd[1]: Failed to start mattermost.service - Mattermost.
Feb 07 15:38:48 mattermost systemd[1]: mattermost.service: Consumed 6.470s CPU time.

From syslog:
2025-02-07T15:35:02.069257+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.067 Z”,“level”:“info”,“msg”:“Current version is 10.4.2 (12918017578/Wed Jan 22 22:20:52 UTC 2025/dabbe427c192a73527734aec5449a71acbe03535/9ea56374f1e6bb532564a0ab18784e22815f2b9c)”,“caller”:“app/server.go:409”,“current_version”:“10.4.2”,“build_number”:“12918017578”,“build_date”:“Wed Jan 22 22:20:52 UTC 2025”,“build_hash”:“dabbe427c192a73527734aec5449a71acbe03535”,“build_hash_enterprise”:“9ea56374f1e6bb532564a0ab18784e22815f2b9c”,“service_environment”:“production”}
2025-02-07T15:35:02.069274+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.067 Z”,“level”:“info”,“msg”:“Enterprise Build”,“caller”:“app/server.go:419”,“enterprise_build”:true,“is_trial”:false}
2025-02-07T15:35:02.069285+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.067 Z”,“level”:“info”,“msg”:“Printing current working”,“caller”:“app/server.go:429”,“directory”:“/opt/mattermost”}
2025-02-07T15:35:02.069295+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.067 Z”,“level”:“info”,“msg”:“Loaded config”,“caller”:“app/server.go:430”,“source”:“file:///opt/mattermost/config/config.json”}
2025-02-07T15:35:02.072932+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.069 Z”,“level”:“info”,“msg”:“License key has not been uploaded. Loading license key from disk.”,“caller”:“utils/license.go:107”,“filename”:“/opt/mattermost/config/mattermost.mattermost-license”}
2025-02-07T15:35:02.072967+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.069 Z”,“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 /opt/mattermost/config/mattermost.mattermost-license: stat /opt/mattermost/config/mattermost.mattermost-license: no such file or directory”}
2025-02-07T15:35:02.072979+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.069 Z”,“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: "}
2025-02-07T15:35:02.072989+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.070 Z”,“level”:“info”,“msg”:“Starting workers”,“caller”:“jobs/workers.go:48”}
2025-02-07T15:35:02.073000+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.071 Z”,“level”:“info”,“msg”:“Starting schedulers.”,“caller”:“jobs/schedulers.go:54”}
2025-02-07T15:35:02.131974+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.104 Z”,“level”:“info”,“msg”:“Starting up plugins”,“caller”:“app/plugin.go:191”}
2025-02-07T15:35:02.132076+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.105 Z”,“level”:“info”,“msg”:“Syncing plugins from the file store”,“caller”:“app/plugin.go:268”}
2025-02-07T15:35:02.132112+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.105 Z”,“level”:“info”,“msg”:“Removing local installation of managed plugin before sync”,“caller”:“app/plugin.go:295”,“plugin_id”:“playbooks”}
2025-02-07T15:35:02.153615+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.109 Z”,“level”:“info”,“msg”:“Removing local installation of managed plugin before sync”,“caller”:“app/plugin.go:295”,“plugin_id”:“com.mattermost.calls”}
2025-02-07T15:35:02.153657+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.113 Z”,“level”:“info”,“msg”:“Removing local installation of managed plugin before sync”,“caller”:“app/plugin.go:295”,“plugin_id”:“com.mattermost.nps”}
2025-02-07T15:35:02.153667+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.115 Z”,“level”:“info”,“msg”:“Removing local installation of managed plugin before sync”,“caller”:“app/plugin.go:295”,“plugin_id”:“mattermost-ai”}
2025-02-07T15:35:02.153679+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.119 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:342”,“plugin_id”:“playbooks”,“bundle_path”:“plugins/playbooks.tar.gz”}
2025-02-07T15:35:02.153689+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.132 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:342”,“plugin_id”:“com.mattermost.calls”,“bundle_path”:“plugins/com.mattermost.calls.tar.gz”}
2025-02-07T15:35:02.816302+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.811 Z”,“level”:“info”,“msg”:“Installing extracted plugin”,“caller”:“app/plugin_install.go:429”,“plugin_id”:“playbooks”,“version”:“1.40.0”}
2025-02-07T15:35:02.902844+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:02.900 Z”,“level”:“info”,“msg”:“Installing extracted plugin”,“caller”:“app/plugin_install.go:429”,“plugin_id”:“com.mattermost.calls”,“version”:“1.4.0”}
2025-02-07T15:35:03.689279+00:00 mattermost mattermost[7239]: {“timestamp”:“2025-02-07 15:35:03.688 Z”,“level”:“warn”,“msg”:“failed to get public IP address for local interface”,“caller”:“app/plugin_api.go:1014”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Warn log.go:108”,“localAddr”:“127.0.0.1”,“error”:“failed to get public address: write udp4 127.0.0.1:8443->52.72.139.62:3478: sendto: invalid argument”}

I think this is related to a failure in the upgrade to 10.4.2. When I re-run dpkg --configure mattermost, it fails:

Setting up mattermost (10.4.2-0) …
dpkg: error processing package mattermost (–configure):
installed mattermost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
mattermost

There is also this from mattermost.log:
{“timestamp”:“2025-02-07 15:56:28.757 Z”,“level”:“error”,“msg”:“Failed to sync plugin from file store”,“caller”:“app/plugin.go:344”,“plugin_id”:“com.mattermost.calls”,“bundle_path”:“plugins/com.mattermost.calls.tar.gz”,“error”:“installExtractedPlugin: Unable to move plugin from temporary directory to final destination. Another plugin may be using the same directory name., destination already exists”}

I’m new to mattermost, but the server had been running nicely for several weeks. Any help would be much appreciated!

Is this an Omnibus install?

Look in your Mattermost installation directory (usually /opt/mattermost but might be somewhere else) Look at plugins/com.mattermost.calls for ownership, permissions issues, etc. Worst case, you can rename it as root and try the upgrade again.

Thank you for the quick response @john.oliver !

It is not an omnibus install.

Permissions in the plugins folder are:

drwxr--r--  5 mattermost mattermost 4096 Feb  7 19:57 .
drwxr-xr-x 12 mattermost mattermost 4096 Feb  7 14:55 ..
drwxr--r--  3 mattermost mattermost 4096 Feb  7 15:51 com.mattermost.calls
drwxr--r--  5 mattermost mattermost 4096 Feb  7 19:57 com.mattermost.nps
drwxr--r--  5 mattermost mattermost 4096 Feb  7 19:57 playbooks

root@mattermost:/opt/mattermost/plugins/com.mattermost.calls# ls -al
total 12
drwxr--r-- 3 mattermost mattermost 4096 Feb  7 15:51 .
drwxr--r-- 5 mattermost mattermost 4096 Feb  7 19:58 ..
drwxr--r-- 3 mattermost mattermost 4096 Feb  7 15:51 assets

root@mattermost:/opt/mattermost/plugins/com.mattermost.calls/assets# ls -al
total 16
drwxr--r-- 3 mattermost mattermost 4096 Feb  7 15:51 .
drwxr--r-- 3 mattermost mattermost 4096 Feb  7 15:51 ..
drwxr--r-- 2 mattermost mattermost 4096 Feb  7 15:51 i18n
-rw-r--r-- 1 mattermost mattermost  578 Feb  7 15:51 plugin_icon.png

As root, I tried renaming the com.mattermost.calls folder to com.mattermost.calls.old and repeating the update, but it failed the same way

root@mattermost:/opt/mattermost/plugins# dpkg --configure mattermost
Setting up mattermost (10.4.2-0) …
dpkg: error processing package mattermost (–configure):
installed mattermost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
mattermost

{"timestamp":"2025-02-07 21:12:59.240 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-channel-export-v1.2.1-linux-amd64.tar.gz","plugin_id":"com.mattermost.plugin-channel-export"}
{"timestamp":"2025-02-07 21:12:59.598 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.3.0-linux-amd64.tar.gz","plugin_id":"github"}
{"timestamp":"2025-02-07 21:12:59.747 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:429","plugin_id":"com.mattermost.nps","version":"1.3.3"}
{"timestamp":"2025-02-07 21:12:59.800 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.8.0-linux-amd64.tar.gz","plugin_id":"zoom"}
{"timestamp":"2025-02-07 21:12:59.804 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-servicenow-v2.3.4-linux-amd64.tar.gz","plugin_id":"mattermost-plugin-servicenow"}
{"timestamp":"2025-02-07 21:13:00.270 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-mscalendar-v1.3.4-linux-amd64.tar.gz","plugin_id":"com.mattermost.mscalendar"}
{"timestamp":"2025-02-07 21:13:00.298 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-user-survey-v1.1.1-linux-amd64.tar.gz","plugin_id":"com.mattermost.user-survey"}
{"timestamp":"2025-02-07 21:13:00.366 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.9.1-linux-amd64.tar.gz","plugin_id":"com.github.manland.mattermost-plugin-gitlab"}
{"timestamp":"2025-02-07 21:13:00.510 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-metrics-v0.5.3-linux-amd64.tar.gz","plugin_id":"com.mattermost.mattermost-plugin-metrics"}
{"timestamp":"2025-02-07 21:13:00.510 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-metrics-v0.5.3-linux-amd64.tar.gz","plugin_id":"com.mattermost.mattermost-plugin-metrics"}
{"timestamp":"2025-02-07 21:13:00.743 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v4.1.1-linux-amd64.tar.gz","plugin_id":"jira"}
{"timestamp":"2025-02-07 21:13:00.799 Z","level":"warn","msg":"Error loading local plugin icon","caller":"app/plugin.go:1264","plugin_id":"mattermost-ai","icon_path":"assets/bot_icon.png","error":"icon is not svg /tmp/plugintmp623853556/mattermost-ai/assets/bot_icon.png"}
{"timestamp":"2025-02-07 21:13:00.799 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:429","plugin_id":"mattermost-ai","version":"1.0.0"}
{"timestamp":"2025-02-07 21:13:00.973 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:429","plugin_id":"playbooks","version":"1.40.0"}
{"timestamp":"2025-02-07 21:13:00.973 Z","level":"warn","msg":"Skipping local installation of plugin since not a newer version","caller":"app/plugin_install.go:471","plugin_id":"playbooks","version":"1.40.0","existing_version":"1.40.0"}
{"timestamp":"2025-02-07 21:13:01.306 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:429","plugin_id":"com.mattermost.calls","version":"1.4.0"}
{"timestamp":"2025-02-07 21:13:01.306 Z","level":"warn","msg":"Skipping local installation of plugin since not a newer version","caller":"app/plugin_install.go:471","plugin_id":"com.mattermost.calls","version":"1.4.0","existing_version":"1.4.0"}
{"timestamp":"2025-02-07 21:13:01.368 Z","level":"info","msg":"Skip installing prepackaged playbooks >=v2 because the license does not allow it","caller":"app/plugin.go:1041","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v2.0.1-linux-amd64.tar.gz","plugin_id":"playbooks"}
{"timestamp":"2025-02-07 21:13:01.748 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-boards-v9.0.5-linux-amd64.tar.gz","plugin_id":"focalboard"}
{"timestamp":"2025-02-07 21:13:02.170 Z","level":"info","msg":"Ensuring Feedbackbot exists","caller":"app/plugin_api.go:1008","plugin_id":"com.mattermost.nps"}
{"timestamp":"2025-02-07 21:13:02.422 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-msteams-v2.0.3-linux-amd64.tar.gz","plugin_id":"com.mattermost.msteams-sync"}
{"timestamp":"2025-02-07 21:13:02.504 Z","level":"error","msg":"Only one bot allowed with current license.","caller":"app/plugin_api.go:1011","plugin_id":"mattermost-ai"}
{"timestamp":"2025-02-07 21:13:02.559 Z","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"mattermost-ai","wrapped_extras":"pluginplugins/mattermost-ai/server/dist/plugin-linux-amd64id41418errorexit status 2"}
{"timestamp":"2025-02-07 21:13:02.579 Z","level":"error","msg":"RPC call to OnActivate plugin failed.","caller":"plugin/client_rpc.go:268","plugin_id":"mattermost-ai","error":"unexpected EOF"}
{"timestamp":"2025-02-07 21:13:02.780 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1061","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-msteams-meetings-v2.2.0-linux-amd64.tar.gz","plugin_id":"com.mattermost.msteamsmeetings"}
{"timestamp":"2025-02-07 21:13:02.802 Z","level":"info","msg":"Should not persist transitionally prepackged plugin: not a newer version","caller":"app/plugin.go:1161","plugin_id":"playbooks","prepackaged_version":"1.40.0","existing_version":"1.40.0"}
{"timestamp":"2025-02-07 21:13:03.393 Z","level":"info","msg":"Starting Server...","caller":"app/server.go:893"}
{"timestamp":"2025-02-07 21:13:03.393 Z","level":"error","msg":"Error starting server, err:listen tcp :443: bind: permission denied: listen tcp :443: bind: permission denied","caller":"commands/server.go:106"}
{"timestamp":"2025-02-07 21:13:03.393 Z","level":"info","msg":"Stopping Server...","caller":"app/server.go:675"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"info","msg":"Shutting down Email batching service...","caller":"email/service.go:85"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"info","msg":"Stopped workers","caller":"jobs/workers.go:90"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"info","msg":"Stopping schedulers.","caller":"jobs/schedulers.go:126"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"info","msg":"Schedulers stopped.","caller":"jobs/schedulers.go:57"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"info","msg":"Schedulers stopped.","caller":"jobs/schedulers.go:57"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"info","msg":"Shutting down plugins","caller":"app/plugin.go:362"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"mattermost-ai","error":"connection is shut down"}{"timestamp":"2025-02-07 21:13:03.397 Z","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"mattermost-ai","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2025-02-07 21:13:03.397 Z","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"mattermost-ai"}
{"timestamp":"2025-02-07 21:13:03.400 Z","level":"info","msg":"Shutting down store..","caller":"app/plugin_api.go:1008","plugin_id":"playbooks","plugin_caller":"github.com/mattermost/mattermost-plugin-playbooks/server/plugin.go:512"}
{"timestamp":"2025-02-07 21:13:03.400 Z","level":"info","msg":"Error accepting connection: accept tcp4 0.0.0.0:8443: use of closed network connection","caller":"app/plugin_api.go:1008","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104","origin":"ice/v2.(*TCPMuxDefault).start github.com/pion/ice/v2@v2.3.25/tcp_mux.go:103"}
{"timestamp":"2025-02-07 21:13:03.402 Z","level":"info","msg":"rtc: server was shutdown","caller":"app/plugin_api.go:1008","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104"}
{"timestamp":"2025-02-07 21:13:03.404 Z","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"com.mattermost.nps","wrapped_extras":"errunexpected EOF"}
{"timestamp":"2025-02-07 21:13:03.404 Z","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.nps"}
{"timestamp":"2025-02-07 21:13:03.404 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.nps","wrapped_extras":"pluginplugins/com.mattermost.nps/server/dist/plugin-linux-amd64id41413"}
{"timestamp":"2025-02-07 21:13:03.406 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"playbooks","wrapped_extras":"pluginplugins/playbooks/server/dist/plugin-linux-amd64id41387"}
{"timestamp":"2025-02-07 21:13:03.407 Z","level":"error","msg":"failed to get all active calls: failed to get calls: sql: database is closed","caller":"app/plugin_api.go:1011","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).OnDeactivate activate.go:241"}
{"timestamp":"2025-02-07 21:13:03.411 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.calls","wrapped_extras":"pluginplugins/com.mattermost.calls/server/dist/plugin-linux-amd64id41392"}
{"timestamp":"2025-02-07 21:13:03.411 Z","level":"info","msg":"stopping websocket hub connections","caller":"platform/web_hub.go:135"}
{"timestamp":"2025-02-07 21:13:03.413 Z","level":"info","msg":"Server stopped","caller":"app/server.go:759"}

Well, I got desperate and started trying things.

I uninstalled mattermost and re-installed it (automatically preserves config and other customized dirs) - no luck

I changed the listen port from 443 to 8065 and turned off Forward80to443.
Bingo…the server started and I can connect again!

What’s odd is that I was able to use mattermost last night, but couldn’t this AM and I had made no changes to the server or its configuration. The configuration had almost certainly been to use :8065 before because my server configuration is an apache2 server that proxies for the mattermost server and it has always proxied to the mattermost server machine on port 8065. So it looks very much like the config.json file changed on the mattermost server to :443 due to an update or some other autonomous behavior. Is that possible?

An update shouldn’t modify your config. And the listening port shouldn’t have anything to do with permissions and ability to overwrite directories! Are you certain that you only have one Mattermost install? I’ve seen a few situations where people have wound up with more than one due to multiple attempts, automation, something cloning or replicating an instance, etc.

I am 100% certain that there is only one install; in fact it’s the only application running on a dedicated ubuntu VM and I had not touched it for quite some time before it failed. While I was googling for solutions, I noted others who had experienced similar problems with the port changing autonomously.

Are you using Upgrade Mattermost Server - Mattermost documentation ?

1 Like