Quantcast
Channel: Mattermost Discussion Forums - Latest topics
Viewing all 6482 articles
Browse latest View live

Set a Team / Channel to Read Only?

$
0
0

@k-sama wrote:

Is there a way to stop all users from posting in a channel or a team? I’d like them to be able to read what has gone before but not post anything new.

Posts: 1

Participants: 1

Read full topic


Let's Encrypt Auto Renewal Issue

$
0
0

@ahmaddanial wrote:

With reference to the instructions in the Configuring NGINX with SSL and HTTP/2, a user had the auto-renewal configured but it did not auto-renew potentially because he had it set up where the server would only allow traffic through his VPN IP.

There is still no luck with renewing his certificate even after the rule was disabled. Is there any other way for him to go about this?

Posts: 1

Participants: 1

Read full topic

Sync photos from Active Directory

$
0
0

@mak wrote:

Hello.
Is it possible to sync user’s avatars from Active Directory and restrict users to change it?

Posts: 1

Participants: 1

Read full topic

MM iOS Stuck on Opening/Loading?

MM Server New Releases Wrong Version

MM Website Download Version Changed

Converting links to images to inline display

$
0
0

@rezeptpflichtig wrote:

I’d like to convert links posted to images/gifs automatically to display inline.
I tried to accomplish this with the autolink plugin:

{
"Pattern": "(?P<imagelink>http.*\\.(gif|jpg))",
"Template": "![embedded image](${imagelink})"
}

but it does not work… Did I miss something?

Posts: 1

Participants: 1

Read full topic

Months of posts disappeared from Town Square

$
0
0

@RemoteHost wrote:

Hi,

An odd thing happened today, where a Team Edition instance with over 12k members, and a Town Square of one team with a little over 2k, suddenly had 4 months of posts disappear, going all the way back to February. There is only one Team Admin, and no posts have been manually deleted. Why might this be happening? I see nothing in the logs to indicate a reason, or reference to this sudden disappearance…

Posts: 1

Participants: 1

Read full topic


How to call Mattermost with Nextcloud as an external site of Nextcloud

$
0
0

@Babbles wrote:

There is a function that can register the external site with the additional application of Nextcloud, I want to call Mattermost there. But I can’t call Mattermost because it’s “Rejected by CSP” in Firefox, a blank page in Chrome.

I install Nextcloud and Mattermost on the same server and use separate domains.
Nextcloud: a.mydomain.com
Mattermost: b.mydomain.com
*Server: CentOS 7.6, nginx 1.14.2, MariaDB 10.2.25

I wrote the following in Mattermost side nginx.conf.

add_header X-Frame-Options "ARROW-FROM http://a.mydomain.com";
add_header Content-Security-Policy "frame-ancestors 'self' a.mydomain.com";

In this case, NC can call Mattermost just after restarting nginx. However, it is denied after the second access such as updating. Next, I specified a wildcard in the URL specification, but there was no change.

How can I get Mattermost to be called from NC?

A similar question exists in the past topic, but I made this topic anew as there is no progress.

Posts: 1

Participants: 1

Read full topic

Can't delete user from CLI

$
0
0

@bbarrios wrote:

I haven’t been able to delete a user from CLI, I’m getting this error: “Unable to find user ‘szuniga’”. I’m using this command:
./mattermost user delete szuniga

More information

  • User is currently disabled
  • Mattermost version: 5.7.1 (Team Edition)

Any ideas what could be wrong?

Thanks,

Posts: 3

Participants: 2

Read full topic

[Help] SMTP - Connection Security. not see

$
0
0

@silverbug wrote:

mattermost had installation.

I can not see the “SMTP - Connection Security” item. for WebView…

I modified it in the config.json file.
However, when you make a modification on a web page, the “Connection Security” item is initialized.

Help… plz… thank you…

Posts: 2

Participants: 2

Read full topic

CSRF Header error message after every request?

$
0
0

@kridan wrote:

We seem to be getting errors in mattermost.log constantly ever since our most recent upgrade to MM 5.11.0

It looks to me, that every request for /api/v4/users/status/ids is generating this error. The logs look something like (over and over and over):

{"level":"debug","ts":155938457.2341234:"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"}
{"level":"debug","ts":155938457.2512234:"caller":"mlog/log.go:160","msg":"CSRF Header check failed for request - Please upgrade your web application or custom app to set a CSRF Header"}

I’m not sure how to determine what app it thinks is hitting it. I’ve disabled plugins, which had no affect. Could it be an old MM client? Is there an access log or something that I can use to cross reference with the timestamp?

Posts: 2

Participants: 2

Read full topic

SMTP configuration with SES

$
0
0

@acepsaepudin wrote:

Hi All,

I have installed mattermost and I want to configure my email notification with SES.

this is my config.json for email:

 "EmailSettings": {
        "EnableSignUpWithEmail": true,
        "EnableSignInWithEmail": true,
        "EnableSignInWithUsername": true,
        "SendEmailNotifications": true,
        "UseChannelInEmailNotifications": false,
        "RequireEmailVerification": false,
        "FeedbackName": "mattermost",
        "FeedbackEmail": "mattermost@example.com",
        "ReplyToAddress": "",
        "FeedbackOrganization": "My Company",
        "EnableSMTPAuth": true,
        "SMTPUsername": "XXXXX",
        "SMTPPassword": "YYYYYYYYY",
        "SMTPServer": "email-smtp.us-east-1.amazonaws.com",
        "SMTPPort": "587",
        "ConnectionSecurity": "STARTTLS",
        "SendPushNotifications": true,
        "PushNotificationServer": "https://push-test.mattermost.com",
        "PushNotificationContents": "generic",
        "EnableEmailBatching": false,
        "EmailBatchingBufferSize": 256,
        "EmailBatchingInterval": 30,
        "EnablePreviewModeBanner": false,
        "SkipServerCertificateVerification": true,
        "EmailNotificationContentsType": "full",
        "LoginButtonColor": "#0000",
        "LoginButtonBorderColor": "#2389D7",
        "LoginButtonTextColor": "#2389D7"
    },

when I try to test it shown like this:

Connection unsuccessful: Connection unsuccessful: SendMail: Failed to close connection to SMTP server, 554 Transaction failed: Missing local name - undefined

Version: 5.12.0
Build Number: 5.12.3

Posts: 1

Participants: 1

Read full topic

Creating python api wrapper

$
0
0

@sahasrara62 wrote:

python is becoming more popular and it’s better to add official python wrapper for mattermost.

current unoffical wrapper ( mentioned in documentation) last modified 2 years back and is with less documentation and working example , i think it’s better to add python compatibilty also.

Posts: 1

Participants: 1

Read full topic

Can´t get in admin_console webinterface anymore

$
0
0

@Tim wrote:

Hello!:slight_smile:

Summary

I have Mattermost in Version 5.7.0 running in a Docker Container and my Internet Browser is Firefox. Normally I was able to open the admin webinterface with “http://mymattermostadress:myport/admin_console” . When I wanted now to open the admin webinterface, I got the Information my session was expired.
So far so good I logged in again, but from now I always get immediately redirected automatically from the “admin_console” URL to the Town Square Channel.

I tried so far:
Empty Webcache of Firefox and logging in again. Unfortunately I got the same resuld (got immediately redirected to townsquare channel).

Has anyone an idea how to solve this behaviour?

Best regards,

Tim

Steps to reproduce

My Session Exired (unsure if it could be the reason)?

Expected behavior

see summary

Observed behavior

see summary

Posts: 2

Participants: 2

Read full topic


The system admin has turned off OAuth2 Service Provider?

$
0
0

@krhyshi wrote:

Summary

error message -> the system admin has turned off OAuth2 Service Provider.

Steps to reproduce

reverse proxy config : https://blogs.msdn.microsoft.com/friis/2016/08/25/iis-with-url-rewrite-as-a-reverse-proxy-part-2-dealing-with-500-52-status-codes/

ver : Team Edition 5.12.0

Expected behavior

reverse proxy ?

Observed behavior

public PC -> GitLab web direct connection login OK

public PC -> mattermost gitlab SSO login error

private PC-> no trouble

why error message?? -> the system admin has turned off OAuth2 Service Provider ??

help me ~~

Posts: 1

Participants: 1

Read full topic

Android app not connecting

$
0
0

@ghosttie wrote:

Mattermost was all set up and working but I had to move it to a new server which meant I could no longer use the default SSL port, which meant I could no longer use LetsEncrypt, so I bought a new SSL certificate.

It works using the browser and the Windows app, but the Android app says Cannot connect to the server. Please check your server URL and internet connection.

Doing a systemctl status mattermost.service gives me

http: TLS handshake error from 192.168.0.143:41342: remote error: tls: unknown certific

I looked through similar issues in this forum and saw that the problem might be intermediate CAs - the certificate came with a ca-bundle file but I wasn’t sure what to do with it.

The SSL provider (Sectigo) doesn’t provide any specific instructions for Mattermost.

Based on the conversations in the forums I tried renaming the bundle to .crt, copying it to /usr/local/share/ca-certificates and running sudo update-ca-certificates but it didn’t help.

Posts: 1

Participants: 1

Read full topic

Mobile app - Create Account Feature

$
0
0

@pkd wrote:

Hi, while exploring options to onboard users in Mattermost, it’s observed that the feature to “Create Account” & join the team shows up only in web and not in mobile clients. Is this a feature scheduled for a future release of mobile app or is there a reason for restricting the feature in mobile? I understand that options of email invite and team invite url exists but is curious to find an option to avoid users to go via web for the registration purpose. Please advice.

Posts: 1

Participants: 1

Read full topic

Link previews managed server-side in v5.12 and later

$
0
0

@eric wrote:

What change was made?

Prior to v5.12, image link and YouTube previews were managed client-side so they would render regardless of the Enable link previews System Console setting. In v5.12 and later, all image, YouTube and link previews are managed server-side, hence controlled by the Enable link previews setting.

How does this affect my deployment and how do I prepare?

If you expect image link and YouTube previews to render in your Mattermost instance, Enable Link Previews must be set to true. In config.json,

"EnableLinkPreviews": true

In addition, if your servers internet access is restricted, please ensure your server is connected to the internet and has access through the firewall to the websites from which previews are expected, such as https://gfycat.com/, https://www.youtube.com/, https://imgur.com/ and any other websites that users may share frequently.

Why was this change necessary?

  1. Centralized control of previews: This change provides a centralized way for admins in locked down deployments to control and audit the content being embedded in posts. Prior to v5.12, any image links posted in a channel would render with no ability to control which sites rendered previews, since the previews were managed client-side. Now that link previews are managed server-side, Admins within locked down networks can whitelist the sites for which they want to allow previews.
  2. Proper scroll correction: Prior to v5.12, image previews were loaded after the rest of the content on the page causing random screen position jumps as the user scrolled through posts. Now that link previews are managed by the server, the post metadata is stored and used to correct the scroll position and eliminate random scroll jumps while content loads.
  3. Faster loading times: With preview content now being managed and stored on the server, there is a noticeable decrease in loading times for embedded content in posts.
  4. Future feature support: Mattermost is increasing in complexity as we build new features to meet the needs of our customers. Supporting image previews client-side is going to become more fragile and potentially introduce more bugs as we expand functionality around scrolling and reading messages, such as the ability to mark a channel as unread.

Avoiding Surprises

We are working internally to adjust our processes so any future breaking changes will have more significant lead time and warning for our customers and community to prepare. See an example of our deprecation policy that outlines the process for announcing deprecated features to the community.

Posts: 1

Participants: 1

Read full topic

Let's Encrypt - DNS01

$
0
0

@rshah wrote:

Summary

Let’s Encrypt w/ DNS-01 validation

Observed behavior

Is it possible to use the built in Let’s Encrypt integration with DNS 01 validation? This is for an internal Mattermost server running on Ubuntu 18.04, it will never see the web, so I don’t want to open 80 or 443.

Posts: 1

Participants: 1

Read full topic

Viewing all 6482 articles
Browse latest View live