# \[SOLVED\] Unable to enable link preview in system console

**URL:** <https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049>\
**Category:** Troubleshooting\
**Created:** [March 16, 2017, 7:47am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049 "2017-03-16T07:47:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattMattV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mattmattv/32/1177_2.png) [@MattMattV](https://forum.mattermost.com/u/MattMattV)\
**Post date:** [March 16, 2017, 7:47am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/1 "2017-03-16T07:47:24Z")

</div>

#### Summary

When enabling link preview in system console and applying the radio button return to disabled state

#### Steps to reproduce

System Console \> link previews \> yes \> save

#### Expected behavior

It should stay on yes

#### Observed behavior

There is no error message, nothing in logs

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [March 20, 2017, 7:40am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/2 "2017-03-20T07:40:28Z")

</div>

Hi @MattMattV,

Thanks for your report. I’m not able to reproduce the issue and changing the link preview settings in system console works fine.

Can you share which version of Mattermost you’re using? Perhaps you could try updating to the [latest version](https://about.mattermost.com/download/) released on March 16th and let us know if the issue still persists for you?

---

<div class="post-metadata">

**Author:** ![MattMattV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mattmattv/32/1177_2.png) [@MattMattV](https://forum.mattermost.com/u/MattMattV)\
**Post date:** [March 20, 2017, 8:46am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/3 "2017-03-20T08:46:38Z")

</div>

I just upgraded to 3.7.2 and the issue persists. 😥

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [March 22, 2017, 8:19am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/4 "2017-03-22T08:19:48Z")

</div>

Hi @MattMattV,

Could you share more about your environment so we can better try to reproduce the issue on our side?

---

<div class="post-metadata">

**Author:** ![MattMattV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mattmattv/32/1177_2.png) [@MattMattV](https://forum.mattermost.com/u/MattMattV)\
**Post date:** [March 22, 2017, 1:29pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/5 "2017-03-22T13:29:28Z")

</div>

I followed the install guide on an Ubuntu 16.04.2 LTS host from OVH, I also followed the guide to use nginx as a reverse proxy + let’s encrypt automation.

If it can help I can provide a System Admin accont since my server is not sensitive at all, it may be easier to debug and see what’s going on.

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [March 24, 2017, 9:57am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/6 "2017-03-24T09:57:11Z")

</div>

Thanks @MattMattV,

I’ll ask one of our technical support people to have a look at this issue and post back here with some suggestions for you!

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [March 27, 2017, 12:11pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/7 "2017-03-27T12:11:24Z")

</div>

@MattMattV Does the issue reproduce for any other System Console settings, or only for Link Previews?

Also, which of the two Mattermost versions did you install:

- Team Edition: `https://releases.mattermost.com/3.7.2/mattermost-team-3.7.2-linux-amd64.tar.gz`
- Enterprise Edition: `https://releases.mattermost.com/3.7.2/mattermost-3.7.2-linux-amd64.tar.gz`

---

<div class="post-metadata">

**Author:** ![prixone](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/prixone/32/1184_2.png) [@prixone](https://forum.mattermost.com/u/prixone)\
**Post date:** [March 27, 2017, 12:44pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/8 "2017-03-27T12:44:51Z")

</div>

```auto
ls -la config/config.json

```

Is the file owned by the same user the process platform is using to run?

Perhaps you are running it with an unprivileged user while the config.json file is owned by root which would not let you change the file itself.

---

<div class="post-metadata">

**Author:** ![MattMattV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mattmattv/32/1177_2.png) [@MattMattV](https://forum.mattermost.com/u/MattMattV)\
**Post date:** [March 27, 2017, 1:14pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/9 "2017-03-27T13:14:31Z")

</div>

The problem was the permissons ! I chown the file and the issue was gone, thank you @prixone !

---

<div class="post-metadata">

**Author:** ![prixone](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/prixone/32/1184_2.png) [@prixone](https://forum.mattermost.com/u/prixone)\
**Post date:** [March 27, 2017, 1:18pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-link-preview-in-system-console/3049/10 "2017-03-27T13:18:44Z")

</div>

You’re most welcome 🙂 glad I was able to help…
