Hi, something in mattermost is emptying the environment variable that was generated in entrypoint.sh (line 61) after the start.
This is an issue because Mattermost CLI can't work if this variable is empty.
I added echo $MM_SQLSETTINGS_DATASOURCE into line 73 (before mattermost start) variable has the connection string, but right after start, this variable is unset.
Hi, something in mattermost is emptying the environment variable that was generated in entrypoint.sh (line 61) after the start. This is an issue because Mattermost CLI can't work if this variable is empty.
I added
echo $MM_SQLSETTINGS_DATASOURCE
into line 73 (before mattermost start) variable has the connection string, but right after start, this variable is unset.