Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Integrating Mattermost into Web/DeskApp

    Kopano Mattermost
    5
    11
    3333
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fbartels
      fbartels Kopano last edited by

      Sometimes I am wondering why I am writing documentation…

      https://documentation.kopano.io/kopano_mattermost_manual/first_steps.html#configuration-for-kopano-webapp-deskapp

      Regards Felix

      Resources:
      https://kopano.com/blog/how-to-get-kopano/
      https://documentation.kopano.io/
      https://kb.kopano.io/

      Support overview:
      https://kopano.com/support/

      Sinux 1 Reply Last reply Reply Quote 1
      • robertwbrandt
        robertwbrandt last edited by robertwbrandt

        RTFM… :)

        1 Reply Last reply Reply Quote 0
        • Sinux
          Sinux @fbartels last edited by Sinux

          @fbartels

          +1

          it’s all in your signature;) Felix
          very good work

          1 Reply Last reply Reply Quote 0
          • robertwbrandt
            robertwbrandt last edited by

            So here is my problem…

            Users can access our webapp via https://mail.i.opw.ie/ or https://mail/ however it seems I can only enter a single URL into the NGINX config - this doesn’t even include my random testing sites.

            Is there a way to allow all URLs for CORS?

            Thanks
            Bob

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @robertwbrandt last edited by

              @robertwbrandt there are multiple ways. see https://stackoverflow.com/questions/10205192/x-frame-options-allow-from-multiple-domains for example.

              Generally speaking I would recommend to unify hostnames so they are the same for internal and external access. makes ssl certificates easier to manage as well.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 1
              • robertwbrandt
                robertwbrandt last edited by

                Good man!!! I was too focused on the X-Frame-Options which can’t have multiple entries…

                It works great in Chrome and Firefox, but IE doesn’t like it (although it allows you to open it up in another tab.)

                1 Reply Last reply Reply Quote 0
                • mcdaniels
                  mcdaniels last edited by mcdaniels

                  Hi,
                  well it seems like I am doing something wrong. I have just installed mattermost today. So far all is running, but I am struggeling with the deskapp integration.

                  as said in: https://documentation.kopano.io/kopano_mattermost_manual/first_steps.html#configuration-for-kopano-webapp-deskapp

                  I modified the /etc/apache2/sites-available/mattermost.conf and commented out the lines which point to my kopanoserver mail2.mydomain.at.

                  In /etc/kopano/webapp I modified the config-mattermost.php:

                  <?php
                  
                  define('PLUGIN_MATTERMOST_USER_DEFAULT_ENABLE', false);
                  
                  define('PLUGIN_MATTERMOST_URL', 'https://mail2.mydomain.at');
                  
                  // This setting can be changed by the user in his settings.
                  // Here you can define the default behaviour.
                  define('PLUGIN_MATTERMOST_AUTOSTART', true);
                  
                  

                  Restarted everything.

                  But when I try to open Mattermost in Webapp it says:

                  Not Found
                  
                  The requested URL /webapp/<URL-OF-YOUR-MATTERMOST> was not found on this server. 
                  

                  which exactly was the “text” in the config-mattermost.php I modified.

                  1 Reply Last reply Reply Quote 0
                  • Martin
                    Martin last edited by

                    Do you have enabled the vHost for Mattermost (a2ensite mattermost) and restarted Apache?

                    1 Reply Last reply Reply Quote 0
                    • mcdaniels
                      mcdaniels last edited by

                      yes it is enabled and Apache is restarted.

                      Mattermost is running via Web, Client, App on the phone but not in the DeskApp.

                      1 Reply Last reply Reply Quote 0
                      • mcdaniels
                        mcdaniels last edited by

                        Update: Hm, today it is working. Nothing changed. (Except the Workstation, where Deskapp runs, was shutdown/restarted).

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post