# Problem with installation

**URL:** <https://forum.mattermost.com/t/problem-with-installation/5347>\
**Category:** Troubleshooting\
**Created:** [July 15, 2018, 10:39am UTC](https://forum.mattermost.com/t/problem-with-installation/5347 "2018-07-15T10:39:54Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 15, 2018, 10:39am UTC](https://forum.mattermost.com/t/problem-with-installation/5347/1 "2018-07-15T10:39:54Z")

</div>

I’m trying to install Mattermost 4.10.0. Service start properly and it’s available via web browser, but when I create first user and log in, I get information:

No teams are available to join. Please create a new team or ask your administrator for an invite.

and there is no option to do anything. Can you help me?

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 15, 2018, 11:34am UTC](https://forum.mattermost.com/t/problem-with-installation/5347/2 "2018-07-15T11:34:41Z")

</div>

Hi @mjaqb,

normally the first user you are creating is automatically an admin and can create additional teams.

If that somehow fails you can still make your user admin with the mattermost/platform binary from the console (it can also be used to create teams).

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 15, 2018, 6:11pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/3 "2018-07-15T18:11:54Z")

</div>

Thanks for suggestion. When I try to create team from command line I get message:

Error: Team creation failed: Team.IsValid: This URL is unavailable. Please try another., id=gdist9np47gbi8ynp7azgygk8r

What can be wrong? I try to set different names.

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 15, 2018, 6:28pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/4 "2018-07-15T18:28:51Z")

</div>

Can you post the exact command you have tried?

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 15, 2018, 8:53pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/5 "2018-07-15T20:53:31Z")

</div>

./mattermost team create --name admin --display\_name “Admin Team”

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 16, 2018, 8:29am UTC](https://forum.mattermost.com/t/problem-with-installation/5347/6 "2018-07-16T08:29:20Z")

</div>

Ah, you have already upgraded to 5.0 by now?

Interesting it seems this command always fails if the word “admin” is part of the name of the team (could reproduce it here as well with 5.0.1). @amy.blais something worth looking into from development?

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 16, 2018, 4:55pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/7 "2018-07-16T16:55:46Z")

</div>

Unfortunetly - I was trying also with other team names - with the same effect. I don’t try to upgrade to 5.0 because I have install it on the QNAP NAS and 4.10 is the newest package and I don’t want to install from source. Previously I use version 3 without problems.

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 16, 2018, 6:39pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/8 "2018-07-16T18:39:48Z")

</div>

> [@mjaqb](#):
>
> I don’t try to upgrade to 5.0

That is strange, especially since the executable was only renamed to Mattermost in 5.0.

> [@mjaqb](#):
>
> I was trying also with other team names - with the same effect

Can you post the other commands you tried to execute?

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [July 17, 2018, 5:40pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/9 "2018-07-17T17:40:01Z")

</div>

Apologies for late reply - @mjaqb please take a look at `fbartels`’ questions above and let me know if you need any help!

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 18, 2018, 11:01pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/10 "2018-07-18T23:01:19Z")

</div>

I try to execute  
./mattermost team create --name test --display\_name “Test Team”  
(mattermost is symbolic link to “platform”), command:  
./platform team create --name test --display\_name “Test Team”  
gives the same effect.

Now I get log:  
{“level”:“info”,“ts”:1531954743.436568,“caller”:“utils/i18n.go:83”,“msg”:“Loaded system translations for ‘en’ from ‘/share/CACHEDEV1\_DATA/.qpkg/Mattermost/i18n/en.json’”}  
{“level”:“info”,“ts”:1531954743.4694352,“caller”:“app/app.go:181”,“msg”:“Server is initializing…”}  
{“level”:“info”,“ts”:1531954743.4822884,“caller”:“sqlstore/supplier.go:198”,“msg”:“Pinging SQL master database”}  
{“level”:“info”,“ts”:1531954744.2110717,“caller”:“app/license.go:44”,“msg”:“License key from [https://mattermost.com](https://mattermost.com) required to unlock enterprise features.”}  
{“level”:“info”,“ts”:1531954744.3533795,“caller”:“app/app.go:225”,“msg”:“Stopping Server…”}  
{“level”:“info”,“ts”:1531954744.3534963,“caller”:“app/web\_hub.go:112”,“msg”:“stopping websocket hub connections”}  
{“level”:“warn”,“ts”:1531954744.353545,“caller”:“app/web\_hub.go:117”,“msg”:“We appear to have already sent the stop checking for deadlocks command”}  
{“level”:“info”,“ts”:1531954744.353612,“caller”:“sqlstore/supplier.go:761”,“msg”:“Closing SqlStore”}  
{“level”:“info”,“ts”:1531954744.3538537,“caller”:“app/app.go:245”,“msg”:“Server stopped”}

but it still show me that there is no teams available to join.

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 19, 2018, 9:03am UTC](https://forum.mattermost.com/t/problem-with-installation/5347/11 "2018-07-19T09:03:52Z")

</div>

Team creation seems to succeed, though. Do you see the team when calling `./platform team list`?

This sounds an awful lot like your mattermost is configured very strictly. e.g. [https://docs.mattermost.com/administration/config-settings.html?highlight=enableteamcreation#enable-team-creation](https://docs.mattermost.com/administration/config-settings.html?highlight=enableteamcreation#enable-team-creation) is set.

You can also add members to a team from the commandline with `./platform team add $MMTeamname $MMLogin`

Who is maintaining the QNAP image for Mattermost? Don’t they provide documentation for their app?

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 20, 2018, 5:59pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/12 "2018-07-20T17:59:50Z")

</div>

> Do you see the team when calling ./platform team list?

Unfortunetly - no - output is:

# ./platform team list

{“level”:“info”,“ts”:1532109274.1266804,“caller”:“utils/i18n.go:83”,“msg”:“Loaded system translations for ‘en’ from ‘/share/CACHEDEV1\_DATA/.qpkg/Mattermost/i18n/en.json’”}  
{“level”:“info”,“ts”:1532109274.127424,“caller”:“app/app.go:181”,“msg”:“Server is initializing…”}  
{“level”:“info”,“ts”:1532109274.133929,“caller”:“sqlstore/supplier.go:198”,“msg”:“Pinging SQL master database”}  
{“level”:“info”,“ts”:1532109274.204576,“caller”:“app/license.go:44”,“msg”:“License key from [https://mattermost.com](https://mattermost.com) required to unlock enterprise features.”}  
test  
{“level”:“info”,“ts”:1532109274.2060509,“caller”:“app/app.go:225”,“msg”:“Stopping Server…”}  
{“level”:“info”,“ts”:1532109274.2061427,“caller”:“app/web\_hub.go:112”,“msg”:“stopping websocket hub connections”}  
{“level”:“warn”,“ts”:1532109274.2061777,“caller”:“app/web\_hub.go:117”,“msg”:“We appear to have already sent the stop checking for deadlocks command”}  
{“level”:“info”,“ts”:1532109274.206228,“caller”:“sqlstore/supplier.go:761”,“msg”:“Closing SqlStore”}  
{“level”:“info”,“ts”:1532109274.2064068,“caller”:“app/app.go:245”,“msg”:“Server stopped”}

> This sounds an awful lot like your mattermost is configured very strictly. e.g.

This option is set to “true”.

> You can also add members to a team from the commandline with ./platform team add $MMTeamname $MMLogin

I have tried, but it still don’t works. Output is:

# ./platform team add test test

{“level”:“info”,“ts”:1532109261.5454526,“caller”:“utils/i18n.go:83”,“msg”:“Loaded system translations for ‘en’ from ‘/share/CACHEDEV1\_DATA/.qpkg/Mattermost/i18n/en.json’”}  
{“level”:“info”,“ts”:1532109261.5461566,“caller”:“app/app.go:181”,“msg”:“Server is initializing…”}  
{“level”:“info”,“ts”:1532109261.5585523,“caller”:“sqlstore/supplier.go:198”,“msg”:“Pinging SQL master database”}  
{“level”:“info”,“ts”:1532109261.748923,“caller”:“app/license.go:44”,“msg”:“License key from [https://mattermost.com](https://mattermost.com) required to unlock enterprise features.”}  
{“level”:“info”,“ts”:1532109262.1212337,“caller”:“sqlstore/post\_store.go:1243”,“msg”:“Post.Message supports at most 16383 characters (65535 bytes)”}  
{“level”:“info”,“ts”:1532109262.2157805,“caller”:“app/app.go:225”,“msg”:“Stopping Server…”}  
{“level”:“info”,“ts”:1532109262.215876,“caller”:“app/web\_hub.go:112”,“msg”:“stopping websocket hub connections”}  
{“level”:“warn”,“ts”:1532109262.215911,“caller”:“app/web\_hub.go:117”,“msg”:“We appear to have already sent the stop checking for deadlocks command”}  
{“level”:“info”,“ts”:1532109262.2159512,“caller”:“sqlstore/supplier.go:761”,“msg”:“Closing SqlStore”}  
{“level”:“info”,“ts”:1532109262.2162085,“caller”:“app/app.go:245”,“msg”:“Server stopped”}

Meaby it will be easier to take some default config file and use it?

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 20, 2018, 7:29pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/13 "2018-07-20T19:29:48Z")

</div>

it is a bit hidden, but your test team is right there:

> [@mjaqb](#):
>
> {“level”:“info”,“ts”:1532109274.204576,“caller”:“app/license.go:44”,“msg”:“License key from [https://mattermost.com](https://mattermost.com) required to unlock enterprise features.”}  
> **-\>test**  
> {“level”:“info”,“ts”:1532109274.2060509,“caller”:“app/app.go:225”,“msg”:“Stopping Server…”}

year team add command also looks fine to me. you still have that team selection screen when logging in?

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 20, 2018, 8:22pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/14 "2018-07-20T20:22:38Z")

</div>

Unfortunetely - yes.

---

<div class="post-metadata">

**Author:** ![fbartels](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fbartels/32/3835_2.png) [@fbartels](https://forum.mattermost.com/u/fbartels)\
**Post date:** [July 21, 2018, 5:17am UTC](https://forum.mattermost.com/t/problem-with-installation/5347/15 "2018-07-21T05:17:45Z")

</div>

Then I am unfortunately out of ideas.

---

<div class="post-metadata">

**Author:** ![mjaqb](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjaqb](https://forum.mattermost.com/u/mjaqb)\
**Post date:** [July 21, 2018, 1:38pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/16 "2018-07-21T13:38:53Z")

</div>

OK - now it was my mistake. I have refreshed page and nothing happened, but when I logoff and login back - now it’s work. But still - I don’t have any admin options (I try to ./platform roles system\_admin test) - so I can’t setup email notifications etc. Also I can’t create new channels (what is interesting it is possible from mobile app), private channels etc. Is there any way to check this - command line is not most friendly option 😉

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [July 24, 2018, 5:40pm UTC](https://forum.mattermost.com/t/problem-with-installation/5347/17 "2018-07-24T17:40:59Z")

</div>

Hi @mjaqb!

Would one of these sections in our docs help:  
[https://docs.mattermost.com/install/troubleshooting.html#lost-system-administrator-account](https://docs.mattermost.com/install/troubleshooting.html#lost-system-administrator-account)  
[https://docs.mattermost.com/install/troubleshooting.html#locked-out-of-system-administrator-account](https://docs.mattermost.com/install/troubleshooting.html#locked-out-of-system-administrator-account)

Let me know if these didn’t help resolve the issue.
