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

Why was MM iOS v1.15 message menu modified?

$
0
0

Hello, @RbDev

Having a couple of enterprise level messaging app, I would say that moving towards the the new menu design would allow the features to be more scalable and flexible. As Mattermost continues to grow and introduce new features, it makes more sense to avoid too much clutter to maintain a simplistic design and have users to be able to utilize as much features offered as they can with a simple slide.

Nevertheless, your thoughts on this matter is appreciated. Thanks.


Linux Mattermost desktop start minimized from command line

$
0
0

@Sandmonster By “properly plugged into i3” I meant if i3 does properly handle the instructions to reduce mattermost to the systray. Even if we see packets travelling from mattermost via dbus doesn’t mean i3 can interpret this properly and know what to do with such an information (i.e. like in event based programming: does i3 is really registered to this kind of dbus event?).

Linux Mattermost desktop start minimized from command line

$
0
0

Do you have any other app to test to see whether i3 is the culprit here?

Linux Mattermost desktop start minimized from command line

$
0
0

@wget I start telegram-desktop with -startintray option and it does start minimized in tray. I also have a dropbox package which is also starts in systray on startup. This makes me think there might be something wrong with mattermost way of implementing minimization.

Here is dbus-monitor output of telegram launch:

method call time=1545772603.802713 sender=:1.86 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1545772603.802755 sender=org.freedesktop.DBus -> destination=:1.86 serial=1 reply_serial=1
   string ":1.86"
signal time=1545772603.802834 sender=org.freedesktop.DBus -> destination=(null destination) serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.86"
   string ""
   string ":1.86"
signal time=1545772603.802985 sender=org.freedesktop.DBus -> destination=:1.86 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.86"
method call time=1545772603.803645 sender=:1.86 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gtk.vfs.Daemon'"
method return time=1545772603.803711 sender=org.freedesktop.DBus -> destination=:1.86 serial=3 reply_serial=2
method call time=1545772603.803906 sender=:1.86 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.gtk.vfs.Daemon"
   uint32 0
method return time=1545772603.803964 sender=org.freedesktop.DBus -> destination=:1.86 serial=4 reply_serial=3
   uint32 2
method call time=1545772603.804440 sender=:1.86 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.gtk.vfs.Daemon"
method return time=1545772603.804490 sender=org.freedesktop.DBus -> destination=:1.86 serial=5 reply_serial=4
   string ":1.3"
method call time=1545772603.804938 sender=:1.86 -> destination=:1.3 serial=5 path=/org/gtk/vfs/mounttracker; interface=org.gtk.vfs.MountTracker; member=ListMountableInfo
method return time=1545772603.805827 sender=:1.3 -> destination=:1.86 serial=63 reply_serial=5
   array [
      struct {
         string "davs+sd"
         string "davs+sd"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "dav+sd"
         string "dav+sd"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "cdda"
         string "cdda"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "afp-server"
         string "afp"
         array [
         ]
         int32 548
         boolean true
      }
      struct {
         string "dns-sd"
         string "dns-sd"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "afp-volume"
         string "afp"
         array [
         ]
         int32 548
         boolean true
      }
      struct {
         string "http"
         string "http"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "computer"
         string "computer"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "ftp"
         string "ftp"
         array [
         ]
         int32 21
         boolean true
      }
      struct {
         string "trash"
         string "trash"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "archive"
         string "archive"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "ftps"
         string "ftps"
         array [
         ]
         int32 21
         boolean true
      }
      struct {
         string "localtest"
         string "localtest"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "admin"
         string "admin"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "recent"
         string "recent"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "davs"
         string "davs"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "dav"
         string "dav"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "ftpis"
         string "ftpis"
         array [
         ]
         int32 990
         boolean true
      }
      struct {
         string "burn"
         string "burn"
         array [
         ]
         int32 0
         boolean false
      }
      struct {
         string "sftp"
         string "sftp"
         array [
            string "ssh"
         ]
         int32 22
         boolean true
      }
      struct {
         string "network"
         string "network"
         array [
         ]
         int32 0
         boolean false
      }
   ]
method call time=1545772603.808193 sender=:1.86 -> destination=org.freedesktop.DBus serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.gtk.vfs.Daemon'"
method return time=1545772603.808274 sender=org.freedesktop.DBus -> destination=:1.86 serial=6 reply_serial=6
method call time=1545772605.983477 sender=:1.87 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1545772605.983525 sender=org.freedesktop.DBus -> destination=:1.87 serial=1 reply_serial=1
   string ":1.87"
signal time=1545772605.983552 sender=org.freedesktop.DBus -> destination=(null destination) serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.87"
   string ""
   string ":1.87"
signal time=1545772605.983712 sender=org.freedesktop.DBus -> destination=:1.87 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.87"
method call time=1545772605.984173 sender=:1.87 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''"
method call time=1545772605.984534 sender=:1.87 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"
method return time=1545772605.984586 sender=org.freedesktop.DBus -> destination=:1.87 serial=3 reply_serial=3
   boolean true
method call time=1545772605.985029 sender=:1.87 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus'"
method call time=1545772605.985223 sender=:1.87 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"
method return time=1545772605.985287 sender=org.freedesktop.DBus -> destination=:1.87 serial=4 reply_serial=5
   string ":1.6"
method call time=1545772605.985586 sender=:1.87 -> destination=org.a11y.Bus serial=6 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "ScreenReaderEnabled"
method return time=1545772606.012533 sender=:1.6 -> destination=:1.87 serial=10 reply_serial=6
   variant       boolean false
method call time=1545772606.578848 sender=:1.87 -> destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher',arg1=''"
method call time=1545772606.609661 sender=:1.87 -> destination=org.kde.StatusNotifierWatcher serial=8 path=/StatusNotifierWatcher; interface=org.freedesktop.DBus.Introspectable; member=Introspect
error time=1545772606.609708 sender=org.freedesktop.DBus -> destination=:1.87 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=8
   string "The name org.kde.StatusNotifierWatcher was not provided by any .service files"
method call time=1545772606.610404 sender=:1.87 -> destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher'"
method call time=1545772606.610836 sender=:1.87 -> destination=org.freedesktop.DBus serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.kde.StatusNotifierWatcher"
error time=1545772606.610934 sender=org.freedesktop.DBus -> destination=:1.87 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=10
   string "Could not get owner of name 'org.kde.StatusNotifierWatcher': no such name"
method call time=1545772606.611177 sender=:1.87 -> destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher'"
method call time=1545772606.611363 sender=:1.87 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.DBus'"
error time=1545772606.611518 sender=org.freedesktop.DBus -> destination=:1.87 error_name=org.freedesktop.DBus.Error.MatchRuleNotFound reply_serial=12
   string "The given match rule wasn't found and can't be removed"
method call time=1545772606.611552 sender=:1.87 -> destination=org.freedesktop.DBus serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher',arg1=''"

And here is the dropbox launch:

method call time=1545773364.531956 sender=:1.90 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1545773364.532011 sender=org.freedesktop.DBus -> destination=:1.90 serial=1 reply_serial=1
   string ":1.90"
signal time=1545773364.532044 sender=org.freedesktop.DBus -> destination=(null destination) serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.90"
   string ""
   string ":1.90"
signal time=1545773364.532150 sender=org.freedesktop.DBus -> destination=:1.90 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.90"
method call time=1545773364.532768 sender=:1.90 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''"
method call time=1545773364.532988 sender=:1.90 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner
   string "org.a11y.Bus"
method return time=1545773364.533058 sender=org.freedesktop.DBus -> destination=:1.90 serial=3 reply_serial=3
   boolean true
method call time=1545773364.533476 sender=:1.90 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.a11y.Bus"
method return time=1545773364.533519 sender=org.freedesktop.DBus -> destination=:1.90 serial=4 reply_serial=4
   string ":1.6"
method call time=1545773364.533876 sender=:1.90 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus'"
method call time=1545773364.533976 sender=:1.90 -> destination=org.a11y.Bus serial=6 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get
   string "org.a11y.Status"
   string "ScreenReaderEnabled"
method return time=1545773364.534484 sender=:1.6 -> destination=:1.90 serial=11 reply_serial=6
   variant       boolean false
method call time=1545773364.581345 sender=:1.90 -> destination=org.freedesktop.DBus serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.Notifications"
method return time=1545773364.581453 sender=org.freedesktop.DBus -> destination=:1.90 serial=5 reply_serial=7
   string ":1.8"
method call time=1545773364.581621 sender=:1.90 -> destination=org.freedesktop.Notifications serial=8 path=/org/freedesktop/Notifications; interface=org.freedesktop.DBus.Introspectable; member=Introspect
method return time=1545773364.582529 sender=:1.8 -> destination=:1.90 serial=35 reply_serial=8
   string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
                      "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- GDBus 2.58.2 -->
<node>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg type="s" name="interface_name" direction="in"/>
      <arg type="s" name="property_name" direction="in"/>
      <arg type="v" name="value" direction="out"/>
    </method>
    <method name="GetAll">
      <arg type="s" name="interface_name" direction="in"/>
      <arg type="a{sv}" name="properties" direction="out"/>
    </method>
    <method name="Set">
      <arg type="s" name="interface_name" direction="in"/>
      <arg type="s" name="property_name" direction="in"/>
      <arg type="v" name="value" direction="in"/>
    </method>
    <signal name="PropertiesChanged">
      <arg type="s" name="interface_name"/>
      <arg type="a{sv}" name="changed_properties"/>
      <arg type="as" name="invalidated_properties"/>
    </signal>
  </interface>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg type="s" name="xml_data" direction="out"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Peer">
    <method name="Ping"/>
    <method name="GetMachineId">
      <arg type="s" name="machine_uuid" direction="out"/>
    </method>
  </interface>
  <interface name="org.freedesktop.Notifications">
    <method name="GetCapabilities">
      <arg type="as" name="capabilities" direction="out">
      </arg>
    </method>
    <method name="Notify">
      <arg type="s" name="app_name" direction="in">
      </arg>
      <arg type="u" name="replaces_id" direction="in">
      </arg>
      <arg type="s" name="app_icon" direction="in">
      </arg>
      <arg type="s" name="summary" direction="in">
      </arg>
      <arg type="s" name="body" direction="in">
      </arg>
      <arg type="as" name="actions" direction="in">
      </arg>
      <arg type="a{sv}" name="hints" direction="in">
      </arg>
      <arg type="i" name="expire_timeout" direction="in">
      </arg>
      <arg type="u" name="id" direction="out">
      </arg>
    </method>
    <method name="CloseNotification">
      <arg type="u" name="id" direction="in">
      </arg>
    </method>
    <method name="GetServerInformation">
      <arg type="s" name="name" direction="out">
      </arg>
      <arg type="s" name="vendor" direction="out">
      </arg>
      <arg type="s" name="version" direction="out">
      </arg>
      <arg type="s" name="spec_version" direction="out">
      </arg>
    </method>
    <signal name="NotificationClosed">
      <arg type="u" name="id">
      </arg>
      <arg type="u" name="reason">
      </arg>
    </signal>
    <signal name="ActionInvoked">
      <arg type="u" name="id">
      </arg>
      <arg type="s" name="action_key">
      </arg>
    </signal>
  </interface>
</node>
"
method call time=1545773364.585577 sender=:1.90 -> destination=org.freedesktop.DBus serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.freedesktop.Notifications'"
method call time=1545773364.585707 sender=:1.90 -> destination=org.freedesktop.Notifications serial=10 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetCapabilities
method return time=1545773364.587508 sender=:1.8 -> destination=:1.90 serial=36 reply_serial=10
   array [
      string "actions"
      string "body"
      string "body-hyperlinks"
      string "body-markup"
   ]
method call time=1545773364.588692 sender=:1.90 -> destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.Notifications',path='/org/freedesktop/Notifications',interface='org.freedesktop.Notifications',member='ActionInvoked'"
method call time=1545773364.589300 sender=:1.90 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.Notifications"
method return time=1545773364.589375 sender=org.freedesktop.DBus -> destination=:1.90 serial=6 reply_serial=12
   string ":1.8"
method call time=1545773364.589976 sender=:1.90 -> destination=org.freedesktop.DBus serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.Notifications',path='/org/freedesktop/Notifications',interface='org.freedesktop.Notifications',member='NotificationClosed'"
method call time=1545773364.596947 sender=:1.90 -> destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher',arg1=''"
method call time=1545773364.597165 sender=:1.90 -> destination=org.freedesktop.DBus serial=15 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.kde.StatusNotifierWatcher"
error time=1545773364.597258 sender=org.freedesktop.DBus -> destination=:1.90 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=15
   string "Could not get owner of name 'org.kde.StatusNotifierWatcher': no such name"
method call time=1545773364.599638 sender=:1.90 -> destination=org.kde.StatusNotifierWatcher serial=16 path=/StatusNotifierWatcher; interface=org.freedesktop.DBus.Introspectable; member=Introspect
error time=1545773364.599697 sender=org.freedesktop.DBus -> destination=:1.90 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=16
   string "The name org.kde.StatusNotifierWatcher was not provided by any .service files"
method call time=1545773364.602967 sender=:1.90 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher'"
method call time=1545773364.603193 sender=:1.90 -> destination=org.freedesktop.DBus serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher'"
method call time=1545773364.603395 sender=:1.90 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
   string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.kde.StatusNotifierWatcher',arg1=''"

Restoring config.json fails

$
0
0

Summary

Restoring config.json after migrating to another server fails
Issue in one concise sentence

Steps to reproduce

  1. Backup MM following https://docs.mattermost.com/administration/backup.html
  2. Restore MM
    • restore DB dump
    • copy data dir
    • copy config.json

Expected behavior

MM starts

Observed behavior

When copying config.json MM fails to start with a very unspecific error (/var/log/gitlab/mattermost/mattermost.log):

{"level":"info","ts":1545783114.786322,"caller":"utils/config.go:211","msg":"Config file watcher detected a change reloading /var/opt/gitlab/mattermost/config.json"}
{"level":"error","ts":1545783114.7864351,"caller":"utils/config.go:216","msg":"Failed to read while watching config file at /var/opt/gitlab/mattermost/config.json with err=parsing error at line 1, character 1: unexpected end of JSON input"}
{"level":"info","ts":1545783114.8663583,"caller":"utils/config.go:211","msg":"Config file watcher detected a change reloading /var/opt/gitlab/mattermost/config.json"}

MM versions on both servers should be the same. (Using gitlab omnibus.)

When I remove config.json, MM starts with all channels and attachments, but the system config is missing obviously. So it seems that there is some incompatibility that prevents me to move my old config to the new server. I can’t figure out what though as the log messages is basically useless.

Did anyone encounter this previously?

Mattermost Version: 5.5.0
Database Schema Version: 5.5.0
Database: postgres

Restoring config.json fails

$
0
0

PS: config file is not corrupted, correct JSON, hash of file is same as on old servers
PPS: servers differ in underlying Ubuntu version (16.04 vs. 18.04)

Schedule DND for all users

$
0
0

Is there any way by which we can Turn ON/OFF DND status for all the users and we can schedule it.
So the outcome would be that status of all the users will be changed to Do Not Disturb irrespective of them being Online/Offline/Away.

HipChat Importation

$
0
0

Hi,
now we are under way on migratoion from HipChat to local Mattermost instance.
HipChat data converted by Hipmost utility.

We are successfully imported direct messages using this method but have issue with importing room’s data.
CLI command finished without errors but new room I’ve found only from CLI command line. I able to see new room in Mattermost only after manipulation with CLI command line:
- manually add himself to new team
- manually add himself to channel
But after this I’ve found that new room is empty, without any message. However source JSOL file contains many messages.

Please help me resolve this situation.
Sergiy


JIRA Plugin "not configured"

There are no links to create a group and admin console

$
0
0

Summary

There are no links to create a group and admin console, after the first authorization (see screens).
Links:
Create a new team
Go to System Console

Steps to reproduce

  1. Iinstall and configure Mattermost

  2. Go to page Mattermost

  3. Enter mail, login and password for first use

  4. Version number
    Mattermost Version: 5.5.1
    Database Schema Version: 5.5.0
    Database: mysql
    OS: 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

  5. Steps to reproduce your issue
    See steps to reproduce

  6. Link to the documentation you’re using, noting the step where you encounter the issue.
    https://docs.mattermost.com/guides/administrator.html#installing-mattermost

HipChat Importation

There are no links to create a group and admin console

$
0
0

Hey @Shevchik - are there any other users on the system? You can return a list of users via this API call

https://api.mattermost.com/#tag/users%2Fpaths%2F~1users~1usernames%2Fpost

If there are, the very first user created would have been the System Admin, with permissions to create a new team and go to the System Console.

If you’re unsure how to use the API call to return a list of users, let me know. Moreover, if you lost access to the first user created on the system, and hence lost System Admin permissions, let me know as well. We can help you on both :slight_smile:

HipChat Importation

HipChat Importation

$
0
0

Hi,
now we are under way on migration from HipChat to local Mattermost instance.
HipChat data converted by Hipmost utility.

We are successfully imported direct messages using this method but have issue with importing room’s data.
CLI command finished without errors but new room I’ve found only from CLI command line. I able to see new room in Mattermost only after manipulation with CLI command line:

  • manually add himself to new team
  • manually add himself to channel
    But after this I’ve found that new room is empty, without any message. However source JSOL file contains many messages.

Please help me resolve this situation.
Sergiy

Schedule DND for all users

$
0
0

Hey @yatin,

I think a plugin for your Mattermost server would work great here. Here is more information about plugins: https://developers.mattermost.com/extend/plugins/

With our plugin framework, you can create a plugin which updates user’s status based on custom criteria that you’ve specified. Here is the plugin API call that let’s you update user’s statuses https://developers.mattermost.com/extend/plugins/server/reference/#API.UpdateUserStatus

If you have any questions, don’t hesitate to let us know!


Segmentation fault while triggering webhook

$
0
0

@cpanato It was an outgoing webhook, posting JSON to a URL like http://nn.nn.nn.nn:5000/status.

I do not believe the webhook settings themselves are the problem. I believe the problem is that in some circumstances http.NewRequest may return null if the destination URL is not resolvable.

Segmentation fault while triggering webhook

$
0
0

https://github.com/mattermost/mattermost-server/blob/master/app/webhook.go: in TriggerWebhook:

				req, _ := http.NewRequest("POST", url, body)
				req.Header.Set("Content-Type", contentType)
				req.Header.Set("Accept", "application/json")

Clearly we are not expecting req to ever be nil here, but I believe the stack trace I posted at the top shows that it was indeed nil.

https://github.com/golang/go/blob/2012227b01020eb505cf1dbe719b1fa74ed8c5f4/src/net/http/request.go: in NewRequest it looks like nil is returned if the URL cannot be parsed.

I tried an experiment on our dev server - I set up an outgoing webhook with URL http://arealhostname:5000/whoops#this%&breaks;=no (with a valid hostname) and reproduced the crash.

I think the server should just be checking for the nil response here. Sorry for the lack of a PR - I would submit one if I had more time and was actually a golang developer!

Server hangs while shutting down

$
0
0

Summary

When shutting down the server via systemd (which will send SIGTERM), it hangs and is eventually killed by systemd.

Steps to reproduce

Observed on mattermost 5.6.1 and 5.6.2. Running on CentOS7 in systemd with command platform/bin/mattermost.

Expected behavior

Previously, running systemctl restart mattermost resulted in very fast shutdown and startup (<1 second).

Observed behavior

Recently noticed that the same command hangs, and then systemd kills the service after 90 seconds. journalctl shows:

Dec 31 10:26:04 <server> systemd[1]: Stopping Mattermost...
Dec 31 10:27:34 <server> systemd[1]: mattermost.service stop-final-sigterm timed out. Killing.
Dec 31 10:27:34 <server> systemd[1]: Unit mattermost.service entered failed state.
Dec 31 10:27:34 <server> systemd[1]: mattermost.service failed.

The mattermost log shows:

2018-12-31T10:26:04.315+1100    info    jobs/schedulers.go:140  Stopping schedulers.
2018-12-31T10:26:04.316+1100    info    jobs/schedulers.go:75   Schedulers stopped.
2018-12-31T10:26:04.316+1100    info    jobs/workers.go:176     Stopped workers
2018-12-31T10:26:04.316+1100    info    app/app.go:216  Stopping Server...
2018-12-31T10:26:04.316+1100    info    app/web_hub.go:120      stopping websocket hub connections

…and then nothing until it starts up again.

Please let me know if there is anything else I can do to get further insight into this.

Override username and icon_url using posts request REST API

$
0
0

Hello @taras.budzyn and sorry for the delay in replying.

I have posted a question to our engineers to confirm, but I don’t believe overriding the username and profile picture is supported via the posts API call due to privacy reasons. We don’t want users to be able to personify other members in the system.

That said, with the two settings enabled (overriding profile pictures and usernames), you can use webhooks and slash commands to create new posts with username and icon of your choice.

You may also use our plugin system, which allows you to completely override the formatting of posts, including the username and profile pictures. More on plugins here: https://developers.mattermost.com/extend/plugins/

Let me know if you have any questions

Restoring config.json fails

Viewing all 25529 articles
Browse latest View live


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