marcchang
(Marc Chang)
October 20, 2016, 2:18pm
1
Summary
Using ./platform -invite_user -team_name=“team” -email=“email” sends an email with an invalid link.
Steps to reproduce
Just run ./platform -invite_user -team_name=“team” -email=“email”
Expected behavior
The Join Team link in the invite email should take you to the mattermost site URL.
Observed behavior
The link doesn’t have the site URL pre-pended It just starts with “/signup_user_complete/” instead of “mattermost.example.com/signup_user_complete ”.
marcchang
(Marc Chang)
October 24, 2016, 3:28am
2
Forgot to mention that this happens when mattermost is installed on Ubuntu and on RHEL7
jwilander
(Joram Wilander)
October 27, 2016, 12:18pm
3
Hi @marcchang ,
Which version of Mattermost are you running? It looks like there was a bug fixed around this in 3.2
marcchang
(Marc Chang)
October 27, 2016, 12:51pm
4
@jwilander I’m running version 3.4.0:
$ ./platform -version
Version: 3.4.0
Build Number: 3.4.0
Build Date: Wed Sep 14 13:04:40 UTC 2016
Build Hash: 57f25fa59c71821cc38fd220b133aa6a40815e12
Build Enterprise Ready: true
DB Version: 3.4.0
jwilander
(Joram Wilander)
October 31, 2016, 11:58am
5
Do you have the SiteURL set in your config.json
? If not, try setting that. You can also get to it from the System Console under General -> Configuration.
If you do have that set then this is a bug and I can file a ticket to get this fixed.
marcchang
(Marc Chang)
November 1, 2016, 1:49am
6
@jwilander , I have it set in both the Systems console and the config.json:
{
“ServiceSettings”: {
“SiteURL”: “http://mattermost.example.com/ ”,
“ListenAddress”: “:8065”,
where http://mattermost.example.com/ is the URL that I use to access mattermost.
jwilander
(Joram Wilander)
November 8, 2016, 1:51pm
7
Thanks @marcchang , I’v e filed a bug report to get this fixed