There are no links to create a group and admin console

May be problem in this case?
Error in logs mattermost:

p/plugin.go:55",“msg”:“Plugin manifest could not be loaded”,“plugin_path”:"/opt/mattermost/plugins/jira",“error”:“open /opt/mattermost/plugins/jira/plugin.yml: permission denied”}
p/plugin.go:55",“msg”:“Plugin manifest could not be loaded”,“plugin_path”:"/opt/mattermost/plugins/jira",“error”:“open /opt/mattermost/plugins/jira/plugin.yml: permission denied”}

Also, I additionally noticed that it does not work out the web socket correctly:

I executed the command
./mattermost roles system_admin user1
the problem remains

Hi @Shevchik,

Please take a look at these troubleshooting sections to fix websocket issues:

I have not once checked these settings
the problem remains

Hi @Shevchik, were you able to resolve the websocket issues?

no, the problem remains

Hi @Shevchik,

Since you have specified a SiteURL, can you help try if removing the WebsocketURL helps? You don’t need to specify WebsocketURL because the browser will get it from the web page automatically.

If this doesn’t help, can you share your Mattermost server logs?

Hi @amy.blais

I have a local domain for example: test.com
Subdomain created on domain: chat.test.com and worked on Nginx
On Subdomain chat.test.com created ssl certificate
I have a local network server where install mattermost (server name: 15-mattermost) and worked on Nginx (Nginx settings on 80 port to 8065)

Nginx chat.test.com proxies requests on second sever Nginx where install mattermost

Nginx settings on second server:

upstream backend {
server 10.0.3.15:8065;
keepalive 32;
}

proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=mattermost_cache:10m max_size=3g inactive=120m use_temp_path=off;

server {
listen 80;
server_name 15-mattermost;

location ~ /api/v[0-9]+/(users/)?websocket$ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
client_max_body_size 50M;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_buffers 256 16k;
proxy_buffer_size 16k;
client_body_timeout 60;
send_timeout 300;
lingering_timeout 5;
proxy_connect_timeout 90;
proxy_send_timeout 300;
proxy_read_timeout 90s;
proxy_pass http://backend;
}

location / {
client_max_body_size 50M;
proxy_set_header Connection “”;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_buffers 256 16k;
proxy_buffer_size 16k;
proxy_read_timeout 600s;
proxy_cache mattermost_cache;
proxy_cache_revalidate on;
proxy_cache_min_uses 2;
proxy_cache_use_stale timeout;
proxy_cache_lock on;
proxy_http_version 1.1;
proxy_pass http://backend;
}
}

Mattermost config.lson:

{
“ServiceSettings”: {
“SiteURL”: “http://10.0.3.15:8065”,
“WebsocketURL”: “”,
“LicenseFileLocation”: “”,
“ListenAddress”: “:8065”,

the problem remains

amy.blais, Help Please…

Hi @Shevchik,

Sorry for the delay - can you help try use chat.example.com as SiteURL, and nginx as server_name.

Hello @ [amy.blais]

You can see error in URL:

What else can you try?

I reset the default settings for mattermost:
./mattermost reset

Please look at the error

Any ideas?

In Logs mattermost see:

{“level”:“error”,“ts”:1549983010.541055,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upgr
{“level”:“error”,“ts”:1549983010.5411358,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“k3ie5gfwnfy6dg3r7t7iee5kbw”,“ip_addr”:"
{“level”:“info”,“ts”:1549983010.5411656,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983013.6825545,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983013.682667,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“bapy6481h38xbjaqx3xny1jyqa”,“ip_addr”:“1
{“level”:“info”,“ts”:1549983013.6827252,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983018.662803,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upgr
{“level”:“error”,“ts”:1549983018.662909,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket”,“request_id”:“n8maimpaupy9tjcuo4d3c9idfe”,“ip_addr”:“1
{“level”:“info”,“ts”:1549983018.6629508,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983024.9159412,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983024.9160273,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket”,“request_id”:“53u9hmu8t7yqxp9efj7dtk5wua”,“ip_addr”:"
{“level”:“info”,“ts”:1549983024.9160664,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983033.0292296,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983033.0293427,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“rxwqjbqogpgmmrqpp83748wf5e”,“ip_addr”:"
{“level”:“info”,“ts”:1549983033.0293934,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983041.3389049,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983041.3390021,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“nbkwocaocf8ntr3ykeormh5wna”,“ip_addr”:"
{“level”:“info”,“ts”:1549983041.3390472,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983047.1626077,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983047.1627326,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“zykf31hrw7nnujkhp1qfkeqeco”,“ip_addr”:"
{“level”:“info”,“ts”:1549983047.1627748,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983053.2725215,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983053.2726164,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“pxyjz7uxo7gd5b14mhfo3pj96h”,“ip_addr”:"
{“level”:“info”,“ts”:1549983053.2726593,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1549983061.8201215,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in 'Upg
{“level”:“error”,“ts”:1549983061.8202262,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:”/api/v4/websocket",“request_id”:“t8pcedaufbgnbbrfcgfwmn7d5c”,“ip_addr”:"
{“level”:“info”,“ts”:1549983061.8202686,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}

Update mattermost for 5.7.1 error stay:

{“level”:“error”,“ts”:1550051271.101209,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upgr
ade’ header”}
{“level”:“error”,“ts”:1550051271.1013055,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“67eytdm6aj8h8eoc6brqt3yg5a”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051271.101367,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051274.2140353,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upg
rade’ header”}
{“level”:“error”,“ts”:1550051274.2141292,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“7zsoyrfbdjffmgiz5qoh5175xr”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051274.2141738,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051277.3918576,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upg
rade’ header”}
{“level”:“error”,“ts”:1550051277.391929,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“g4gmf1t9upbtpx7ptm9w6ypemo”,“ip_addr”:“1
0.120.1.103”,“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051277.3919704,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051280.51858,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upgra
de’ header”}
{“level”:“error”,“ts”:1550051280.5187154,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“9pctzmizqtgdbdezxrhknun46c”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051280.5187593,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051284.121695,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upgr
ade’ header”}
{“level”:“error”,“ts”:1550051284.1217883,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“d9dtghrwjiyw9gbu6m9rwi9x4w”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051284.121829,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051287.4874332,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upg
rade’ header”}
{“level”:“error”,“ts”:1550051287.4875324,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“d8iz7fximjfe5nrx9euitrwdhr”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051287.4875748,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051290.8894308,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upg
rade’ header”}
{“level”:“error”,“ts”:1550051290.8895178,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“dm1o1bcuqp89xm6ybqp548ccra”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051290.8895617,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}
{“level”:“error”,“ts”:1550051295.1714041,“caller”:“api4/websocket.go:28”,“msg”:“websocket connect err: websocket: the client is not using the websocket protocol: ‘websocket’ token not found in ‘Upg
rade’ header”}
{“level”:“error”,“ts”:1550051295.1714914,“caller”:“web/context.go:60”,“msg”:“Failed to upgrade websocket connection”,“path”:"/api/v4/websocket",“request_id”:“zn36qa8uziy1jyfrscox66x9sa”,“ip_addr”:"
10.120.1.103",“user_id”:“c4jarpqinjrhmfoswt5x3cyksw”,“method”:“GET”,“err_where”:“connect”,“http_code”:500,“err_details”:""}
{“level”:“info”,“ts”:1550051295.1715317,“caller”:“http/server.go:1102”,“msg”:“http: multiple response.WriteHeader calls”,“source”:“httpserver”}

Solved the problem by removing the nginx configuration on the server where mattermost is installed.

But there was another problem:

  • mattermost app for OS Adnroid and iOS cannot connect to server Mattermost.
    There are no problems in Windows OS and app for windows.

Are there any ideas?

ssl certificate is used correct / commercial

Hi @Shevchik, can you help take a look at this section on our troubleshooting docs for tips: https://docs.mattermost.com/mobile/mobile-troubleshoot.html#i-keep-getting-a-message-cannot-connect-to-the-server-please-check-your-server-url-and-internet-connection.

thank you, problem solved

But there was another problem:

  • the system massege " Вы прикидает команду ." - allowed syntax error.
    I changed the translation file: ru.8f6b5175f9fbb6183510da18b2611478.json
    but changes in the file do not occur on the site mattermost

Are there any ideas?

please edit this setting “combined_system_message.left_team.one”: “{firstUser} прикидает команду.”, on покидает команду in json file
download json file on link “ru.8f6b5175f9fbb6183510da18b2611478.json”:
https://drive.google.com/file/d/18WYEaDEu6MGgMokNyqiIWbQKW1uN8-wf/view?usp=sharing
thanks

PS If you use a mobile phone, there is no problem

Hi @Shevchik, I’m not able to open the file, can you help repost it?

thanks, the problem is resolve and fix in Mattermost v.5.8.0

2 Likes

I have this problem too.
I removed nginx completely from my server, But problem did not solve.
admin_console/ path did not show, blank page appears and in select_team path there is no create team button!
there is no error during run server:

 sudo -u mattermost ./bin/mattermost
{"level":"info","ts":1570435977.011744,"caller":"utils/i18n.go:83","msg":"Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json'"}
{"level":"info","ts":1570435977.012079,"caller":"app/server_app_adapters.go:58","msg":"Server is initializing..."}
{"level":"info","ts":1570435977.0411305,"caller":"sqlstore/supplier.go:223","msg":"Pinging SQL master database"}
{"level":"info","ts":1570435977.11209,"caller":"app/license.go:41","msg":"License key from https://mattermost.com required to unlock enterprise features."}
{"level":"info","ts":1570435977.117458,"caller":"mlog/log.go:165","msg":"Starting up plugins"}
{"level":"info","ts":1570435977.11761,"caller":"app/plugin.go:195","msg":"Syncing plugins from the file store"}
{"level":"info","ts":1570435977.1906106,"caller":"app/plugin.go:230","msg":"Found no files in plugins file store"}
{"level":"info","ts":1570435981.554582,"caller":"mlog/sugar.go:19","msg":"Ensuring Surveybot exists","plugin_id":"com.mattermost.nps"}
{"level":"info","ts":1570435982.5998356,"caller":"app/server.go:216","msg":"Current version is 5.15.0 (5.15.0/Mon Sep 16 19:14:33 UTC 2019/f4f7fd0829d74fcd5e290fd1ba76845af18e553e/ae36beb963c7fe86e95bf33a0ea41b1fe107de9e)"}
{"level":"info","ts":1570435982.6000304,"caller":"app/server.go:217","msg":"Enterprise Enabled: true"}
{"level":"info","ts":1570435982.6000924,"caller":"app/server.go:219","msg":"Current working directory is /opt/mattermost"}
{"level":"info","ts":1570435982.6001256,"caller":"app/server.go:220","msg":"Loaded config","source":"file:///opt/mattermost/config/config.json"}
{"level":"info","ts":1570435982.6390562,"caller":"sqlstore/post_store.go:1301","msg":"Post.Message supports at most 16383 characters (65535 bytes)"}
{"level":"info","ts":1570435982.731733,"caller":"jobs/workers.go:68","msg":"Starting workers"}
{"level":"info","ts":1570435982.7318432,"caller":"app/server.go:423","msg":"Starting Server..."}
{"level":"info","ts":1570435982.7321334,"caller":"app/server.go:489","msg":"Server is listening on [::]:80"}
{"level":"info","ts":1570435982.7335806,"caller":"jobs/schedulers.go:72","msg":"Starting schedulers."}
{"level":"info","ts":1570435982.7576692,"caller":"app/web_hub.go:75","msg":"Starting 8 websocket hubs"}
{"level":"info","ts":1570435982.7727716,"caller":"cors/cors.go:205","msg":"Handler: Actual request","source":"cors"}
{"level":"info","ts":1570435982.7729275,"caller":"cors/cors.go:342","msg":"Actual response added headers: map[Access-Control-Allow-Origin:[*] Vary:[Origin]]","source":"cors"}
{"level":"info","ts":1570435982.7974746,"caller":"cors/cors.go:205","msg":"Handler: Actual request","source":"cors"}
{"level":"info","ts":1570435982.797585,"caller":"cors/cors.go:342","msg":"Actual response added headers: map[Access-Control-Allow-Origin:[*] Vary:[Origin]]","source":"cors"}
{"level":"info","ts":1570435982.8101833,"caller":"cors/cors.go:205","msg":"Handler: Actual request","source":"cors"}
{"level":"info","ts":1570435982.810292,"caller":"cors/cors.go:342","msg":"Actual response added headers: map[Access-Control-Allow-Origin:[*] Vary:[Origin]]","source":"cors"}
{"level":"info","ts":1570435982.8270528,"caller":"cors/cors.go:205","msg":"Handler: Actual request","source":"cors"}
{"level":"info","ts":1570435982.827168,"caller":"cors/cors.go:342","msg":"Actual response added headers: map[Access-Control-Allow-Origin:[*] Vary:[Origin]]","source":"cors"}
{"level":"info","ts":1570435983.9336367,"caller":"cors/cors.go:205","msg":"Handler: Actual request","source":"cors"}
{"level":"info","ts":1570435983.9338741,"caller":"cors/cors.go:342","msg":"Actual response added headers: map[Access-Control-Allow-Origin:[*] Vary:[Origin]]","source":"cors"}
{"level":"info","ts":1570435983.950639,"caller":"cors/cors.go:205","msg":"Handler: Actual request","source":"cors"}
{"level":"info","ts":1570435983.9507284,"caller":"cors/cors.go:342","msg":"Actual response added headers: map[Access-Control-Allow-Origin:[*] Vary:[Origin]]","source":"cors"}

and my config file is:

{
    "ServiceSettings": {
        "SiteURL": "http://domainname",
        "WebsocketURL": "",
        "LicenseFileLocation": "",
        "ListenAddress": ":80",
        "ConnectionSecurity": "",
        "TLSCertFile": "",
        "TLSKeyFile": "",
        "TLSMinVer": "1.2",
        "TLSStrictTransport": false,
        "TLSStrictTransportMaxAge": 63072000,
        "TLSOverwriteCiphers": [],
        "UseLetsEncrypt": false,
        "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
        "Forward80To443": false,
        "TrustedProxyIPHeader": [
            "X-Forwarded-For",
            "X-Real-IP"
        ],
        "ReadTimeout": 300,
        "WriteTimeout": 300,
        "MaximumLoginAttempts": 10,
        "GoroutineHealthThreshold": -1,
        "GoogleDeveloperKey": "",
        "EnableOAuthServiceProvider": false,
        "EnableIncomingWebhooks": true,
        "EnableOutgoingWebhooks": true,
        "EnableCommands": true,
        "EnableOnlyAdminIntegrations": true,
        "EnablePostUsernameOverride": false,
        "EnablePostIconOverride": false,
        "EnableLinkPreviews": false,
        "EnableTesting": false,
        "EnableDeveloper": false,
        "EnableSecurityFixAlert": true,
        "EnableInsecureOutgoingConnections": false,
        "AllowedUntrustedInternalConnections": "",
        "EnableMultifactorAuthentication": false,
        "EnforceMultifactorAuthentication": false,
        "EnableUserAccessTokens": false,
        "AllowCorsFrom": "*",
        "CorsExposedHeaders": "",
        "CorsAllowCredentials": false,
        "CorsDebug": true,
        "AllowCookiesForSubdomains": false,
        "SessionLengthWebInDays": 30,
        "SessionLengthMobileInDays": 180,
        "SessionLengthSSOInDays": 30,
        "SessionCacheInMinutes": 10,
        "SessionIdleTimeoutInMinutes": 43200,
        "WebsocketSecurePort": 443,
        "WebsocketPort": 80,
        "WebserverMode": "gzip",
        "EnableCustomEmoji": false,
        "EnableEmojiPicker": true,
        "EnableGifPicker": false,
        "GfycatApiKey": "2_KtH_W5",
        "GfycatApiSecret": "3wLVZPiswc3DnaiaFoLkDvB4X0IV6CpMkj4tf2inJRsBY6-FnkT08zGmppWFgeof",
        "RestrictCustomEmojiCreation": "all",
        "RestrictPostDelete": "all",
        "AllowEditPost": "always",
        "PostEditTimeLimit": -1,
        "TimeBetweenUserTypingUpdatesMilliseconds": 5000,
        "EnablePostSearch": true,
        "MinimumHashtagLength": 3,
        "EnableUserTypingMessages": true,
        "EnableChannelViewedMessages": true,
        "EnableUserStatuses": true,
        "ExperimentalEnableAuthenticationTransfer": true,
        "ClusterLogTimeoutMilliseconds": 2000,
        "CloseUnusedDirectMessages": false,
        "EnablePreviewFeatures": true,
        "EnableTutorial": true,
        "ExperimentalEnableDefaultChannelLeaveJoinMessages": true,
        "ExperimentalGroupUnreadChannels": "disabled",
        "ExperimentalChannelOrganization": false,
        "ImageProxyType": "",
        "ImageProxyURL": "",
        "ImageProxyOptions": "",
        "EnableAPITeamDeletion": false,
        "ExperimentalEnableHardenedMode": false,
        "DisableLegacyMFA": true,
        "ExperimentalStrictCSRFEnforcement": false,
        "EnableEmailInvitations": false,
        "ExperimentalLdapGroupSync": false,
        "DisableBotsWhenOwnerIsDeactivated": true,
        "EnableBotAccountCreation": false,
        "EnableSVGs": false
    },
    "TeamSettings": {
        "SiteName": "Mattermost",
        "MaxUsersPerTeam": 50,
        "EnableTeamCreation": true,
        "EnableUserCreation": true,
        "EnableOpenServer": false,
        "EnableUserDeactivation": false,
        "RestrictCreationToDomains": "",
        "EnableCustomBrand": false,
        "CustomBrandText": "",
        "CustomDescriptionText": "",
        "RestrictDirectMessage": "any",
        "RestrictTeamInvite": "all",
        "RestrictPublicChannelManagement": "all",
        "RestrictPrivateChannelManagement": "all",
        "RestrictPublicChannelCreation": "all",
        "RestrictPrivateChannelCreation": "all",
        "RestrictPublicChannelDeletion": "all",
        "RestrictPrivateChannelDeletion": "all",
        "RestrictPrivateChannelManageMembers": "all",
        "EnableXToLeaveChannelsFromLHS": false,
        "UserStatusAwayTimeout": 300,
        "MaxChannelsPerTeam": 2000,
        "MaxNotificationsPerChannel": 1000000,
        "EnableConfirmNotificationsToChannel": true,
        "TeammateNameDisplay": "username",
        "ExperimentalViewArchivedChannels": false,
        "ExperimentalEnableAutomaticReplies": false,
        "ExperimentalHideTownSquareinLHS": false,
        "ExperimentalTownSquareIsReadOnly": false,
        "ExperimentalPrimaryTeam": "",
        "ExperimentalDefaultChannels": []
    },
    "ClientRequirements": {
        "AndroidLatestVersion": "",
        "AndroidMinVersion": "",
        "DesktopLatestVersion": "",
        "DesktopMinVersion": "",
        "IosLatestVersion": "",
        "IosMinVersion": ""
    },
    "SqlSettings": {
        "DriverName": "postgres",
        "DataSource": "postgres://mmuser1:mmuser-password111111111@localhost:5432/mattermost1?sslmode=disable\u0026connect_timeout=10",
        "DataSourceReplicas": [],
        "DataSourceSearchReplicas": [],
        "MaxIdleConns": 20,
        "ConnMaxLifetimeMilliseconds": 3600000,
        "MaxOpenConns": 300,
        "Trace": false,
        "AtRestEncryptKey": "5yg9pc19onio4y959dsiptxd5rxrm6ic",
        "QueryTimeout": 30
    },
    "LogSettings": {
        "EnableConsole": true,
        "ConsoleLevel": "INFO",
        "ConsoleJson": true,
        "EnableFile": true,
        "FileLevel": "INFO",
        "FileJson": true,
        "FileLocation": "",
        "EnableWebhookDebugging": true,
        "EnableDiagnostics": true
    },
    "NotificationLogSettings": {
        "EnableConsole": true,
        "ConsoleLevel": "INFO",
        "ConsoleJson": true,
        "EnableFile": true,
        "FileLevel": "INFO",
        "FileJson": true,
        "FileLocation": ""
    },
    "PasswordSettings": {
        "MinimumLength": 10,
        "Lowercase": true,
        "Number": true,
        "Uppercase": true,
        "Symbol": true
    },
    "FileSettings": {
        "EnableFileAttachments": true,
        "EnableMobileUpload": true,
        "EnableMobileDownload": true,
        "MaxFileSize": 52428800,
        "DriverName": "local",
        "Directory": "./data/",
        "EnablePublicLink": false,
        "PublicLinkSalt": "rzwkkcrxxkuh7pzx97now5thj3m4aq7d",
        "InitialFont": "nunito-bold.ttf",
        "AmazonS3AccessKeyId": "",
        "AmazonS3SecretAccessKey": "",
        "AmazonS3Bucket": "",
        "AmazonS3Region": "",
        "AmazonS3Endpoint": "s3.amazonaws.com",
        "AmazonS3SSL": true,
        "AmazonS3SignV2": false,
        "AmazonS3SSE": false,
        "AmazonS3Trace": false
    },
    "EmailSettings": {
        "EnableSignUpWithEmail": true,
        "EnableSignInWithEmail": true,
        "EnableSignInWithUsername": true,
        "SendEmailNotifications": false,
        "UseChannelInEmailNotifications": false,
        "RequireEmailVerification": false,
        "FeedbackName": "",
        "FeedbackEmail": "",
        "ReplyToAddress": "",
        "FeedbackOrganization": "",
        "EnableSMTPAuth": false,
        "SMTPUsername": "",
        "SMTPPassword": "",
        "SMTPServer": "dockerhost",
        "SMTPPort": "2500",
        "ConnectionSecurity": "",
        "SendPushNotifications": true,
        "PushNotificationServer": "https://push-test.mattermost.com",
        "PushNotificationContents": "generic",
        "EnableEmailBatching": false,
        "EmailBatchingBufferSize": 256,
        "EmailBatchingInterval": 30,
        "EnablePreviewModeBanner": true,
        "SkipServerCertificateVerification": false,
        "EmailNotificationContentsType": "full",
        "LoginButtonColor": "#0000",
        "LoginButtonBorderColor": "#2389D7",
        "LoginButtonTextColor": "#2389D7"
    },
    "RateLimitSettings": {
        "Enable": false,
        "PerSec": 10,
        "MaxBurst": 100,
        "MemoryStoreSize": 10000,
        "VaryByRemoteAddr": true,
        "VaryByUser": false,
        "VaryByHeader": ""
    },
    "PrivacySettings": {
        "ShowEmailAddress": true,
        "ShowFullName": true
    },
    "SupportSettings": {
        "TermsOfServiceLink": "https://about.mattermost.com/default-terms/",
        "PrivacyPolicyLink": "https://about.mattermost.com/default-privacy-policy/",
        "AboutLink": "https://about.mattermost.com/default-about/",
        "HelpLink": "https://about.mattermost.com/default-help/",
        "ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",
        "SupportEmail": "feedback@mattermost.com",
        "CustomTermsOfServiceEnabled": false,
        "CustomTermsOfServiceReAcceptancePeriod": 365
    },
    "AnnouncementSettings": {
        "EnableBanner": false,
        "BannerText": "",
        "BannerColor": "#f2a93b",
        "BannerTextColor": "#333333",
        "AllowBannerDismissal": true
    },
    "ThemeSettings": {
        "EnableThemeSelection": true,
        "DefaultTheme": "default",
        "AllowCustomThemes": true,
        "AllowedThemes": []
    },
    "GitLabSettings": {
        "Enable": false,
        "Secret": "",
        "Id": "",
        "Scope": "",
        "AuthEndpoint": "",
        "TokenEndpoint": "",
        "UserApiEndpoint": ""
    },
    "GoogleSettings": {
        "Enable": false,
        "Secret": "",
        "Id": "",
        "Scope": "profile email",
        "AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
        "TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token",
        "UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata"
    },
    "Office365Settings": {
        "Enable": false,
        "Secret": "",
        "Id": "",
        "Scope": "User.Read",
        "AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
        "TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
        "UserApiEndpoint": "https://graph.microsoft.com/v1.0/me"
    },
    "LdapSettings": {
        "Enable": false,
        "EnableSync": false,
        "LdapServer": "",
        "LdapPort": 389,
        "ConnectionSecurity": "",
        "BaseDN": "",
        "BindUsername": "",
        "BindPassword": "",
        "UserFilter": "",
        "GroupFilter": "",
        "GroupDisplayNameAttribute": "",
        "GroupIdAttribute": "",
        "FirstNameAttribute": "",
        "LastNameAttribute": "",
        "EmailAttribute": "",
        "UsernameAttribute": "",
        "NicknameAttribute": "",
        "IdAttribute": "",
        "PositionAttribute": "",
        "LoginIdAttribute": "",
        "SyncIntervalMinutes": 60,
        "SkipCertificateVerification": false,
        "QueryTimeout": 60,
        "MaxPageSize": 0,
        "LoginFieldName": "",
        "LoginButtonColor": "#0000",
        "LoginButtonBorderColor": "#2389D7",
        "LoginButtonTextColor": "#2389D7",
        "Trace": false
    },
    "ComplianceSettings": {
        "Enable": false,
        "Directory": "./data/",
        "EnableDaily": false
    },
    "LocalizationSettings": {
        "DefaultServerLocale": "en",
        "DefaultClientLocale": "en",
        "AvailableLocales": ""
    },
    "SamlSettings": {
        "Enable": false,
        "EnableSyncWithLdap": false,
        "EnableSyncWithLdapIncludeAuth": false,
        "Verify": true,
        "Encrypt": true,
        "SignRequest": false,
        "IdpUrl": "",
        "IdpDescriptorUrl": "",
        "AssertionConsumerServiceURL": "",
        "ScopingIDPProviderId": "",
        "ScopingIDPName": "",
        "IdpCertificateFile": "",
        "PublicCertificateFile": "",
        "PrivateKeyFile": "",
        "IdAttribute": "",
        "FirstNameAttribute": "",
        "LastNameAttribute": "",
        "EmailAttribute": "",
        "UsernameAttribute": "",
        "NicknameAttribute": "",
        "LocaleAttribute": "",
        "PositionAttribute": "",
        "LoginButtonText": "SAML",
        "LoginButtonColor": "#34a28b",
        "LoginButtonBorderColor": "#2389D7",
        "LoginButtonTextColor": "#ffffff"
    },
    "NativeAppSettings": {
        "AppDownloadLink": "https://about.mattermost.com/downloads/",
        "AndroidAppDownloadLink": "https://about.mattermost.com/mattermost-android-app/",
        "IosAppDownloadLink": "https://about.mattermost.com/mattermost-ios-app/"
    },
    "ClusterSettings": {
        "Enable": false,
        "ClusterName": "",
        "OverrideHostname": "",
        "NetworkInterface": "",
        "BindAddress": "",
        "AdvertiseAddress": "",
        "UseIpAddress": true,
        "UseExperimentalGossip": false,
        "ReadOnlyConfig": true,
        "GossipPort": 8074,
        "StreamingPort": 8075,
        "MaxIdleConns": 100,
        "MaxIdleConnsPerHost": 128,
        "IdleConnTimeoutMilliseconds": 90000
    },
    "MetricsSettings": {
        "Enable": false,
        "BlockProfileRate": 0,
        "ListenAddress": ":8067"
    },
    "ExperimentalSettings": {
        "ClientSideCertEnable": false,
        "ClientSideCertCheck": "secondary",
        "EnableClickToReply": false,
        "LinkMetadataTimeoutMilliseconds": 5000,
        "RestrictSystemAdmin": false
    },
    "AnalyticsSettings": {
        "MaxUsersForStatistics": 2500
    },
    "ElasticsearchSettings": {
        "ConnectionUrl": "http://dockerhost:9200",
        "Username": "elastic",
        "Password": "changeme",
        "EnableIndexing": false,
        "EnableSearching": false,
        "EnableAutocomplete": false,
        "Sniff": true,
        "PostIndexReplicas": 1,
        "PostIndexShards": 1,
        "ChannelIndexReplicas": 1,
        "ChannelIndexShards": 1,
        "UserIndexReplicas": 1,
        "UserIndexShards": 1,
        "AggregatePostsAfterDays": 365,
        "PostsAggregatorJobStartTime": "03:00",
        "IndexPrefix": "",
        "LiveIndexingBatchSize": 1,
        "BulkIndexingTimeWindowSeconds": 3600,
        "RequestTimeoutSeconds": 30,
        "SkipTLSVerification": false,
        "Trace": ""
    },
    "DataRetentionSettings": {
        "EnableMessageDeletion": false,
        "EnableFileDeletion": false,
        "MessageRetentionDays": 365,
        "FileRetentionDays": 365,
        "DeletionJobStartTime": "02:00"
    },
    "MessageExportSettings": {
        "EnableExport": false,
        "ExportFormat": "actiance",
        "DailyRunTime": "01:00",
        "ExportFromTimestamp": 0,
        "BatchSize": 10000,
        "GlobalRelaySettings": {
            "CustomerType": "A9",
            "SmtpUsername": "",
            "SmtpPassword": "",
            "EmailAddress": ""
        }
    },
    "JobSettings": {
        "RunJobs": true,
        "RunScheduler": true
    },
    "PluginSettings": {
        "Enable": true,
        "EnableUploads": false,
        "AllowInsecureDownloadUrl": false,
        "EnableHealthCheck": true,
        "Directory": "./plugins",
        "ClientDirectory": "./client/plugins",
        "Plugins": {},
        "PluginStates": {
            "com.mattermost.nps": {
                "Enable": true
            }
        }
    },
    "DisplaySettings": {
        "CustomUrlSchemes": [],
        "ExperimentalTimezone": false
    },
    "ImageProxySettings": {
        "Enable": false,
        "ImageProxyType": "local",
        "RemoteImageProxyURL": "",
        "RemoteImageProxyOptions": ""
    }
}

Hi @ali-zohrevand, these previous threads might have ideas on how you can resolve this:

Thanks for answering, there was no suitable answer in those topic for my problem.
I checked again my log and there was an error:


{"level":"error","ts":1570532727.1871893,"caller":"mlog/log.go:173","msg":"Plugins have been disabled. Please check your logs for details.","path":"/api/v4/plugins/webapp","request_id":"fh4brzd8upduiq8kg6sycqfgth","ip_addr":"172.17.44.7","user_id":"ewsx7wbbktn1p8kytdugkffftr","method":"GET","err_where":"GetActivePluginManifests","http_code":501,"err_details":""}

is this relevant to my problem?