Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all 25523 articles
Browse latest View live

Update from 5.3.0 to 5.7.0 doesn't work

$
0
0

Hy ,

in fact yes, the mistake is the missing line find mattermost/ -mindepth 1 -maxdepth 1 ! ( -type d ( -path mattermost/config -o -path mattermost/logs -o -path mattermost/plugins -o -path mattermost/data ) -prune ) | sudo xargs rm -r in my proc.

Thank you for the analyse , I note the missing line.

Regards,


What bot do you recommend?

$
0
0

Thank you, i think i will try with hubot, is more versatile and seems that you can hook it to many language scripts

Is there a way to approve registrations manually?

$
0
0

We are thinking to create some “public access” teams, but we feel more comfortable if we can approve/deny registrations, to avoid spam and so…

Can I achieve this on Mattermost?

Google Docs Functionality

$
0
0

The team is requesting google docs live editing for documents. Was wondering if Mattermost has anything to offer to avoid using an external recourse as google docs with the same or similar functionality?

Thanks

Is there a way to approve registrations manually?

OAuth single instance?

$
0
0

Yes, this does help! I appreciate your feedback.

Disabling user email notifications by default

Mattermost not loading in web interface


Mattermost not loading in web interface

$
0
0

Hi there, @sparxia

First things first, I believe that the URL that you should be pointing to should be localhost:8065, just in case we miss out on that small detail.

If that one checks out, let us have a look at the following to start troubleshooting the loading problem. Can you refresh the page to reproduce the issue and see if there are any log entries in the following files?

  • mattermost.log
  • nginx.log
  • Developer tools

If there are any, can you please attach it here so we can understand the issue better?

Do you also happen to observe this behavior on the desktop client as well?

No more notifications on my android phone since the update to 5.8

$
0
0

Hi, @gudbes

Apart from the ticket provided by @amy.blais and the suggestions by @JtheBAB, I would also recommend you to confirm if this is a device specific issue or rather a server side problem after the upgrade, meaning that it is only happening to your Android device or other users who are also on Android. Can you check if any other users are running into the same problem?

Additionally, I would also recommend you to log out from every session that you have (after trying out @JtheBAB’s suggestion) before ensuring that you are either offline / away for more than 5 minutes before you test the push notification again.

Mattermost-server licenses question

$
0
0

Hi, if I fork mattermost-server from github and change it to work with SAML, is it ok? And, if ok, how I can share back to the community? (as mattermost-server is GNU AGPL v3.0)

Is there a way to approve registrations manually?

Difficulty using sidebar scrollbar with mouse

$
0
0

Any progress on this? I get no scrollbar at all with client 4.1.2 on LinuxMint19. And I don’t have a scrollwheel so no way to reach all the channels.

Http://192.168.99.100:8065/api/v3/users/0/0 using postman, when i call this mattermost api i am getting "message": "Invalid or expired session, please login again.", error

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Invalid or expired session, please login again

$
0
0

I am facing an issue where I am getting a 401 response with message ‘Invalid or expired session, please login again’ when I hit the /users/me API. This is happening even if I am sending the bearer token which was genereate from the /login API.

Here is the request:

curl -X GET \
  http://localhost:8065/api/v4/users/me \
  -H 'Authorization: Bearer 4p7ip3wuujby7cfmeqb7718fhc' \
  -H 'Postman-Token: eac220fa-9208-427b-b76f-f048ba28908a' \
  -H 'cache-control: no-cache'

Run Mattermost using AWS Aurora serverless

$
0
0

Can’t run Mattermost using AWS Aurora serverless because can’t ping

I am using the latest version of Mattermost server running on an AWS EC2 instance. I can connect to the Aurora serverless database no problem using the command:
mysql — user=[user] --password -h [endpoint of cluster]).

I then try to start the mattermost server using the command:
sudo -u mattermost ./bin/mattermost

That fails because in order to start the mattermost server, it tries to ping the database, and it can’t:

{“level”:“info”,“ts”:1551280409.4031305,“caller”:“app/app.go:143”,“msg”:“Server is initializing…”}
{“level”:“info”,“ts”:1551280409.405245,“caller”:“sqlstore/supplier.go:207”,“msg”:“Pinging SQL master database”}
[mysql] 2019/02/27 15:13:59 packets.go:36: read tcp x.x.x.x:36150->x.x.x.x:3306: i/o timeout
{“level”:“error”,“ts”:1551280439.434761,“caller”:“sqlstore/supplier.go:219”,“msg”:“Failed to ping DB retrying in 10 seconds err=context deadline exceeded”}

I try to ping the DB endpoint myself but I can’t either. I have reached AWS support and they say that by default the DB can’t be pinged, and that it can’t be changed.

So my main question is, has anyone successfully gotten to run Mattermost server with Aurora serverless DB?

2 follow up questions are:
Can Mattermost be configured to NOT ping the DB and just start?

Even though AWS support says that the configuration can’t be changed, has anybody been able to ping a serverless Aurora DB? (note: I have configured the Aurora Cluster Security Group to allow ICMP pings, and the ACL associated with the subnets to allow all traffic)?

Any help would be greatly appreciated it!

Thank you.

Mattermost-server licenses question

API Upload File not uploading

$
0
0

Summary

I am sending files to upload, I get return code 200, but the return is empty.

Steps to reproduce

Version 5.7.0.
Laravel PHP curl upload a file via API request:

            $curl = curl_init();

            curl_setopt_array($curl, array(
                CURLOPT_URL => env('MATTERMOST_URL')."/api/v4/files?channel_id=".$channel_id."&filename=".$destinationPath.'/'.$name,
                CURLOPT_RETURNTRANSFER => true,
                CURLOPT_ENCODING => "",
                CURLOPT_MAXREDIRS => 10,
                CURLOPT_TIMEOUT => 0,
                CURLOPT_FOLLOWLOCATION => false,
                CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                CURLOPT_CUSTOMREQUEST => "POST",
                CURLOPT_POSTFIELDS => array('files' => $destinationPath.'/'.$name, 'channel_id' => $channel_id),
                CURLOPT_HTTPHEADER => array(
                    "Authorization: Bearer ".$_COOKIE['MMAUTHTOKEN'],
                    "Content-Type: multipart/form-data"
                ),
            ));

            $response = curl_exec($curl);
            $err = curl_error($curl);

Expected behavior

Sending the file path (which has already been temporarily saved in Laravel storage) and the channel through cURL, should receive the API return as follows:
{
“file_infos”: [
{
“id”: “string”,
“user_id”: “string”,
“post_id”: “string”,
“create_at”: 0,
“update_at”: 0,
“delete_at”: 0,
“name”: “string”,
“extension”: “string”,
“size”: 0,
“mime_type”: “string”,
“width”: 0,
“height”: 0,
“has_preview_image”: true
}
],
“client_ids”: [
“string”
]
}

Observed behavior

Receiving return with empty fields
{“file_infos”: [], “client_ids”: []}

Cannot "Log in with GitLab"

$
0
0

Hello,
We are a little stumped. We have tried setting up SSO using Gitlab into our mattermost implementation. no matter what we do we get the same error: when clicking on sign in with gitlab: At first before it was validated it would take us to a page on mattermost that asked to authenticate and once you do it takes you to a:

We currently use google to log into Gitlab if that helps.
We have extensively tried to research this issue with no results. If anyone can help that would be great!

Cannot "Log in with GitLab"

Viewing all 25523 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>