# File storage access is faulty

**URL:** <https://forum.mattermost.com/t/file-storage-access-is-faulty/19497>\
**Category:** Troubleshooting\
**Created:** [September 5, 2024, 8:38am UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497 "2024-09-05T08:38:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NDI](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@NDI](https://forum.mattermost.com/u/NDI)\
**Post date:** [September 5, 2024, 8:38am UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497/1 "2024-09-05T08:38:54Z")

</div>

For feature requests, please see: [https://mattermost.com/suggestions/](https://mattermost.com/suggestions/).

For troubleshooting questions, please post in the following format:

**Summary**  
Issue in one concise sentence  
File storage access is faulty

**Steps to reproduce**  
How can we reproduce the issue (what version are you using?)  
Ubuntu 24.04.1 LTS

**Expected behavior**  
Describe your issue in detail  
Please see screenshot below

**Observed behavior**  
What did you see happen? Please include relevant error messages and/or screenshots.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/9/90a2ef299009c74125b122fbc487126d0b0292db.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/3/34c68d853a0a5d639e872f00d51837907c686b63.png)

---

<div class="post-metadata">

**Author:** ![NDI](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@NDI](https://forum.mattermost.com/u/NDI)\
**Post date:** [September 5, 2024, 8:53am UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497/2 "2024-09-05T08:53:25Z")

</div>

By the way, how do I configure mattermost to store data in another drive that is on the server?

---

<div class="post-metadata">

**Author:** ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)\
**Post date:** [September 5, 2024, 4:54pm UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497/3 "2024-09-05T16:54:19Z")

</div>

You’re running with docker, aren’t you? 🙂 Check [Environment variables - Mattermost documentation](https://docs.mattermost.com/configure/environment-variables.html)

---

<div class="post-metadata">

**Author:** ![NDI](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@NDI](https://forum.mattermost.com/u/NDI)\
**Post date:** [September 6, 2024, 2:49am UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497/4 "2024-09-06T02:49:22Z")

</div>

Deployed using the omnibus solution. It seems that /var/opt/mattermost/data cannot be accessed due to access right. I’ve changed the Local Storage Directory to ./data and it worked. However, I ultimately want to have the data stored on a RAID storage on the server, which is not the drive which the system and mattermost is installed. Can anyone provide instruction on how to do that?

Thank you

---

<div class="post-metadata">

**Author:** ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)\
**Post date:** [September 6, 2024, 5:24pm UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497/5 "2024-09-06T17:24:08Z")

</div>

Usually, /opt/mattermost/data is where binary objects get stored. You can make that a mountpoint to a NAS or filer or NFS mount or ???

Also: [File storage system - Mattermost documentation](https://docs.mattermost.com/configure/file-storage-configuration-settings.html) might help

---

<div class="post-metadata">

**Author:** ![r1ch](https://avatars.discourse-cdn.com/v4/letter/r/e47774/32.png) [@r1ch](https://forum.mattermost.com/u/r1ch)\
**Post date:** [March 6, 2025, 12:11pm UTC](https://forum.mattermost.com/t/file-storage-access-is-faulty/19497/6 "2025-03-06T12:11:18Z")

</div>

I bumped into this same issue with a fresh install using the omnibus installer / 24.04.2 LTS

I also observed /var/opt/mattermost being owned by root:root.

In case anyone else finds this post, changing ownership to mattermost:mattermost resolved the issue for me.

chown -R mattermost:mattermost /var/opt/mattermost
