I made a little progress here. Clearing the siteUrl helped. Now I have a different problem, request origin not allowed by Upgrader.CheckOrigin. If I enter our domain in the cors allowed domains it works from our laptops, but not from our phones over the public internet.
New messages do not appear until refresh
New messages do not appear until refresh
After about one hour the issue reoccured, now even with cleared SiteURL new messages are not displayed without manual refresh
HipChat Importation
Hi,
thank a lot for your help!
I did as you wrote (repalce “direct_post” -> “post” and remove “channel_members” object) and received a validation error as a result:
[tsaruk@mattermost-1 bin]$ sudo ./mattermost import bulk data.jsonl --validate
{"level":"info","ts":1546432032.3000233,"caller":"utils/i18n.go:78","msg":"Loaded system translations for 'ru' from '/opt/mattermost/i18n/ru.json'"}
{"level":"info","ts":1546432032.300167,"caller":"app/app.go:143","msg":"Server is initializing..."}
{"level":"info","ts":1546432032.3065329,"caller":"sqlstore/supplier.go:207","msg":"Pinging SQL master database"}
{"level":"info","ts":1546432032.4146852,"caller":"app/plugin.go:130","msg":"Starting up plugins"}
{"level":"error","ts":1546432032.414776,"caller":"app/plugin.go:138","msg":"Failed to start up plugins","error":"mkdir ./client/plugins: no such file or directory"}
Running Bulk Import Data Validation.
** This checks the validity of the entities in the data file, but does not persist any changes **
Use the --apply flag to perform the actual data import.
{"level":"info","ts":1546432032.4170878,"caller":"sqlstore/post_store.go:1286","msg":"Post.Message supports at most 16383 characters (65535 bytes)"}
BulkImport: Missing required Post property: Team.,
Error occurred on data file line 12
{"level":"info","ts":1546432032.4171906,"caller":"app/app.go:216","msg":"Stopping Server..."}
{"level":"info","ts":1546432032.4172096,"caller":"app/web_hub.go:120","msg":"stopping websocket hub connections"}
{"level":"warn","ts":1546432032.4172215,"caller":"app/web_hub.go:125","msg":"We appear to have already sent the stop checking for deadlocks command"}
{"level":"info","ts":1546432032.4183903,"caller":"sqlstore/supplier.go:850","msg":"Closing SqlStore"}
{"level":"info","ts":1546432032.4188824,"caller":"app/app.go:237","msg":"Server stopped"}
Error: BulkImport: Missing required Post property: Team.,
Are you faced with this error?
I can send to you examples of my file (before and after replacement) If it helps.
Cincerely
Sergiy
Can't get MM to listen on 443
Hey All,
Using Ubuntu Server 18.04. Following the directions in the MM install docs for 18.04 (non container install) to the letter. I can get the server up on port 80 and browse to it. But as soon as I try the procedure of changing the port setting in the MM config.json to 443, setting use letsencrypt to true, turning TLS on, enabling FrowardPort80to443, I simply cannot get the daemon to listen on port 443 on ipv4 (the IP is statically set in the VM if that makes a diff). I see in the docs that it states that in order for the daemon to listen on 443 you need to run the setcap command, but that seems to make little difference, even after a reboot or restart of the MM daemon. From what I can tell the ufw is totally disabled.
Frustrated and thinking the automatic letsencrypt process may be broken for some reason, I made my own certs with the letsencrypt certbot software successfully and set the paths in the MM config.json, but to no avail, same issue. The MM daemon starts, which leads me to believe the config.json is ok, or at least the syntax of it is correct, but nothing starts listening on port 443 when running netstat. When I try to browse to 443 in chrome I get ERR_Connection_Refused, I assume this is becasue nothing is listening on 443.
This is all stock stuff, so I must be missing something simple, any direction here would be appreciated.
[SOLVED] Server started but app not connecting and no logs
Glad you were able to narrow down the cause. Thanks @aalasolutions for posting it back, much appreciated
System console not appearing for admin user
Thank you @alexbab, this is helpful.
Given you upgraded from a relatively old version (3.9), I recommend reviewing our important upgrade notes here: https://docs.mattermost.com/administration/important-upgrade-notes.html
Make sure to review and take actions on those that apply to you. One additional thing that comes to mind is setting the Site URL field in System Console > Configuration, if you haven’t already done so.
System console not appearing for admin user
Hi, try open your instance in web browser “IE”
Restoring config.json fails
Hi @arnuschky,
That’s interesting. I’m not aware of any reason that a config should work on one server but not the other.
It looks like you’re copying the new config over while the MM server is still running. Is that the case? If so, there might be some issue with the server trying to read the file as it’s still being populated, so you could try stopping the server with gitlab-ctl stop mattermost
, replacing the config, and then restarting it with gitlab-ctl start mattermost
.
Question about presence detection
Hi Amy!
Sorry for the big delay. I have been ill, later on christmas holidays… I’m so sorry…
Thank you so much for your answer!!. It seems as in the following link is explained for Slack, that it takes care or knows your availability by the interaction of yourself with your own computer. Please read in " How Slack determines your availability" at site “https://get.slack.help/hc/es/articles/201864558-Configurar-tu-estado-y-disponibilidad-en-Slack”. It seems that what my user is arguing about, is that Slack’s client, seems to measure slightly clever your availability, by perhaps, asking some of your computer timer (the screen saver timer or similar) your idle-ness of yourself in your own computer.
I assume this could be then treated as an improvement, as a sugestion. Perhaps for those using the app, not those using the browser probably, the desktop OS could be queried about the time the computer keeps waiting for the user to hitting keys or moving the mouse, doing one click… For instance, for Cocoa (Mac OS X) this should help… https://stackoverflow.com/questions/5039788/best-way-to-know-if-application-is-inactive-in-cocoa-mac-osx
This would very probably improve Mattermost a lot.
Thanks a lot really!!!
Happy new year!
Cheers!
Integrate Azure Bot Service to Mattermost
Hi @bsu86453,
One option would be to try with Zapier: https://docs.mattermost.com/integrations/zapier.html.
Mattermost Recipe: Encrypting Internal Traffic
Hi everybody!
One common requirement is to encrypt internal connections between the proxy server and Mattermost. This recipe demonstrates how to achieve this while keeping Mattermost on port 8065 so Nginx can handle load balancing and external-facing TLS connections.
Feedback and questions welcome!
New messages do not appear until refresh
Hi @m.schwarz,
One thing I can think of is that this could be a network issue, have you also tried with different networks or tried changing the network?
HipChat Importation
Hello,
You’ll want to make sure that the “post” objects follow the documentation at https://docs.mattermost.com/deployment/bulk-loading.html#post-object . The error message seems to suggest that “post” object at around line 12 is missing the “team” value.
Each line should look something like the following:
{ "type": "post", "post": { "team": "hipchat-import-example", "channel": "example_channel_name", "user": "username_here", "message": "some_message_imported_from_hipchat", "create_at": <date value of message here> } }
System console not appearing for admin user
I don’t know if this will help your case or not, but when I try to use the MatterMost CLI, I usually have sudo
use the mattermost
user. For example:
sudo -u mattermost <path to mattermost binary>/mattermost team add example_team example_user
System console not appearing for admin user
Also, you may wish to look inside the database that you are using. In the Users
table, there is a Roles
column, and for admins, the Roles look to have system_admin system_user
. Regular users just seem to have only system_user
under Roles
. It may be possible to update the value in the database manually for admin access.
Can't get MM to listen on 443
Hi @Zavestang,
Do you see any errors in mattermost.log
or when you run
sudo service mattermost status
or
sudo journalctl -xe
New messages do not appear until refresh
I have no access to the network configuration of the machine running mattermost, so no, didn’t try that. I reached out to the people responsible for the network to make sure there is no other proxy, firewall or whatsoever involved which might be misconfigured but got no response yet.
HipChat Importation
Hi again,
really good job from you - I’d changed file as you describe and validate step passed.
But I’d got a new error message when running import with “–apply” key:
[tsaruk@mattermost-1 bin]$ sudo ./mattermost import bulk data.jsonl --apply
{"level":"info","ts":1546516929.9373665,"caller":"utils/i18n.go:78","msg":"Loaded system translations for 'ru' from '/opt/mattermost/i18n/ru.json'"}
{"level":"info","ts":1546516929.9377325,"caller":"app/app.go:143","msg":"Server is initializing..."}
{"level":"info","ts":1546516929.9443572,"caller":"sqlstore/supplier.go:207","msg":"Pinging SQL master database"}
{"level":"info","ts":1546516930.043418,"caller":"app/plugin.go:130","msg":"Starting up plugins"}
{"level":"error","ts":1546516930.0435271,"caller":"app/plugin.go:138","msg":"Failed to start up plugins","error":"mkdir ./client/plugins: no such file or directory"}
Running Bulk Import. This may take a long time.
User.IsValid: Your password must contain at least 8 characters made up of at least one lowercase letter, at least one uppercase letter, and at least one number.,
Error occurred on data file line 4
I’m looking in my data file but see nothing extraordinary in line 4:
{ "type": "version", "version": 1 }
{ "type": "team", "team": { "display_name": "ua", "name": "ua", "type": "I", "description": "ua", "allow_open_invite": false } }
{ "type": "channel", "channel": { "team": "ua", "name": "offline-sale", "display_name": "Offline Sale", "type": "P", "header": "Offline office's issues" } }
{ "type": "user", "user": { "username": "adoroshenko", "email": "a.doroshenko@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "barylskiy", "email": "a.barylskiy@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "offlinekv", "email": "e.medynska@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "oksiuta", "email": "a.oksiuta@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "darnopyh", "email": "d.darnopyh@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "pasichenko", "email": "r.pasichenko@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "tsaruk", "email": "s.tsaruk@busfor.com", "teams": [] } }
{ "type": "user", "user": { "username": "vishnevskaya", "email": "o.vishnevskaya@busfor.com", "teams": [] } }
{ "type": "post", "post": { "team": "ua", "channel": "offline-sale", "user": "offlinekv", "message": "Я так понимаю они пренадлежат охранной фирме, а у нас есть характеристики камер или лучше обратится в охранную службу ? ", "create_at": 1544610447000 } }
{ "type": "post", "post": { "team": "ua", "channel": "offline-sale", "user": "offlinekv", "message": "Коллеги, добрый день! Можете подсказать, камеры в офисе пишут? ", "create_at": 1544610391000 } }
{ "type": "post", "post": { "team": "ua", "channel": "offline-sale", "user": "offlinekv", "message": "все в порядке. спасибо ", "create_at": 1544438837000 } }
If you have any idea about this, please tell me.
Once more many thanks to you for your advices and participation in my issue.
Segiy
IOS classic client with AFDS SSO + AzureMFA
Hi @dimych,
Apologies for the delay - would you be open to creating a customer support ticket through our ticketing system: https://mattermost.com/support/? We will most likely need to set up a test environment to reproduce the issue and/or determine what the cause of the issue is.
[Urgent] Users become logged in to another user
Hi @Camille, have you experienced this issue recently?