# Mattermost installation failed with an error

**URL:** <https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436>\
**Category:** Support apps\
**Tags:** mattermost, english\
**Created:** [October 9, 2021, 5:29pm UTC](https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436 "2021-10-09T17:29:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![r4bbit](https://forum.yunohost.org/user_avatar/forum.yunohost.org/r4bbit/32/5247_2.png) [@r4bbit](https://forum.yunohost.org/u/r4bbit)\
**Post date:** [October 9, 2021, 5:29pm UTC](https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436/1 "2021-10-09T17:29:13Z")

</div>

### My YunoHost server

**Hardware:** Older amd64 PC. Yunohost is installed on bare metal  
**YunoHost version:** 4.2.8.3  
**I have access to my server :** Through SSH, through the webadmin and I have direct access via keyboard / screen  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : No (I have ddclient running tho, not sure it counts)

### Greeting 🙂

Hi there! First time posting here so I hope I get everything right.

### Issue

I wanted to install Mattermost community using the web interface. I received an error message on the web interface as well. I get the following error:

 ![image](https://forum.yunohost.org/uploads/default/original/2X/7/767b9d97cfb291b733003608c97fab6cc20b1cda.png)

### Logs

Here are the logs on paste: [https://paste.yunohost.org/raw/iqecekiceb](https://paste.yunohost.org/raw/iqecekiceb)

**My 50 cents** : If I understand correctly, the `sudo -u mattermost bin/mattermost user create --username ariana --email ariana@maindomain.tld --password sbgEx` line didn’t work. (I hope I’m not making a mistake sharing this …) I believe it might be because I haven’t configured an email service for my yunohost instance yet? I’m fairly confident the installation script wouldn’t mess up the installation … it’s more likely user error from my part.

### Final words

Thank you anyone if you take a look at my question. I appreciate it! ❤ I’ll provide you with all the information you might need, but I hope I haven’t left anything out …

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [October 10, 2021, 9:36am UTC](https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436/2 "2021-10-10T09:36:10Z")

</div>

> [@r4bbit](#):
>
> **My 50 cents** : If I understand correctly, the `sudo -u mattermost bin/mattermost user create --username ariana --email ariana@maindomain.tld --password sbgEx` line didn’t work. (I hope I’m not making a mistake sharing this …)

Well … `sbgEx` looks like part of your password … but it should have been automatically redacted by YunoHost … but what I’m guessing is that you had a `$` (possibly `$R`) in the original password which may have ended up being interpreted as a bash variable, which triggered the crash. Can you confirm this ?

---

<div class="post-metadata">

**Author:** ![r4bbit](https://forum.yunohost.org/user_avatar/forum.yunohost.org/r4bbit/32/5247_2.png) [@r4bbit](https://forum.yunohost.org/u/r4bbit)\
**Post date:** [October 10, 2021, 6:05pm UTC](https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436/3 "2021-10-10T18:05:05Z")

</div>

OMG you’re right. It didn’t even cross my mind and It’s so trivial. Thank you so much, you guys are awesome! 😊

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [October 10, 2021, 8:35pm UTC](https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436/4 "2021-10-10T20:35:29Z")

</div>

Well it shouldn’t have miserably crashed because of a $ in the password though 😅

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [October 25, 2021, 8:36pm UTC](https://forum.yunohost.org/t/mattermost-installation-failed-with-an-error/17436/5 "2021-10-25T20:36:25Z")

</div>

Closed on October 25, 2021, 8:36pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
