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

    webapp & z-push on a extra server - z-push works, webapp not

    Kopano WebApp
    3
    7
    480
    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.
    • 1of16
      1of16 last edited by

      Hi,

      to make my migration efforts (ubuntu 14.04 to 18.04) a bit easier I thought I could run z-push and webapp already on the new server, kopano-core on the old.
      So I just changed in /etc/z-push/kopano.conf.php the MAPI_SERVER part to https://<old-server>:237/kopano and it worked.
      the server.log showed it too: Accepted incoming SSL connection from <new-server>

      Then I changed /etc/kopano/webapp/config.php the DEFAULT_SERVER part to https://<old-server>:237/kopano and it doesn’t work. While logging in the webapp I only get “Cannot connect to Kopano Core”.
      the server.log showed nothing.

      So I guess the connection via 237/tcp between new and old server works and I bet I missed a small part at the webapp config?
      anyone got a idea?

      regards
      1of16

      bhuisman 1 Reply Last reply Reply Quote 0
      • bhuisman
        bhuisman @1of16 last edited by

        @1of16 said in webapp & z-push on a extra server - z-push works, webapp not:

        So I guess the connection via 237/tcp between new and old server works and I bet I missed a small part at the webapp config?
        anyone got a idea?

        Sounds like something is wrong in the configuration indeed, but this is hard to say without the config ;-) As you are not seeing anything in the server.log, I expect there is some sort of indication in the web server log - are you getting anything there?

        Regards, Bob

        Need support?
        Have a look at https://kopano.com/support/ for options.

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

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

          @bhuisman ok, maybe it wasn’t clear enough ;)
          I only changed this in the config /etc/kopano/webapp/config.php

          #       define("DEFAULT_SERVER", "default:");
                  define("DEFAULT_SERVER", "https://<old-server>:237/kopano");
          

          the rest is the default config for ubuntu 18.04 via your repository.

          and there is nothing, besides the access itself, in the webserver logs.
          I am really confused…and I am confused too, why z-push is working. there I only changed the server-line too.
          so the firewall logs are clean, I tried IP and FQDN.

          any debug logs or something I could activate?

          regards
          1of16

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

            @1of16 said in webapp & z-push on a extra server - z-push works, webapp not:

            https://<old-server>/kopano

            So your kopano-server is listening on port 443?

            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/

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

              @fbartels I removed the port while replacing the IP :(

              #       define("DEFAULT_SERVER", "default:");
                      define("DEFAULT_SERVER", "https://<old-server>:237/kopano");
              
              1 Reply Last reply Reply Quote 0
              • 1of16
                1of16 last edited by

                ok…I just installed another, new server, plain ubuntu 18.04 and only the kopano-webapp…it works.
                so its me again…and I did something really odd…
                sorry for your time…but thanks for the input!

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

                  Good to read it has been solved!

                  Regards, Bob

                  Need support?
                  Have a look at https://kopano.com/support/ for options.

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

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