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



  • 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


  • Kopano

    @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?



  • @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


  • Kopano

    @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?



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

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


  • 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!


  • Kopano

    Good to read it has been solved!


Log in to reply