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

    Zpush nginx

    General usage of Z-Push
    5
    19
    1104
    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.
    • A Former User
      A Former User last edited by

      Hi all,

      Can the zpush nginx package be installed on a different server then where kopano is installed? Or must z-push-nginx be installed on the kopano server?

      1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by

        Hi ckruijntjens,

        yes, z-push-config-nginx is there for Z-Push, not for Kopano. If you run Z-Push on a different server than Kopano, then you’ll need to install z-push-config-nginx on the server where Z-Push is installed (or configure nginx manually based on your needs).

        Manfred

        1 Reply Last reply Reply Quote 0
        • A Former User
          A Former User last edited by

          Hi @Manfred

          i indeed installed this on the zpush server. however it never seems to work. if i change the servername i never get the login page but yust the welcome page from nginx.

          Wat could be wrong?

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

            Which OS are you using?
            I just looked into it and the package seems to install to sites-available in nginx folder - CentOS for example doesn’t use this folder

            A Former User 2 Replies Last reply Reply Quote 0
            • A Former User
              A Former User @mkoas last edited by

              @mkoas

              a freshly install debian 9.9 system

              1 Reply Last reply Reply Quote 0
              • A Former User
                A Former User @mkoas last edited by

                @mkoas

                I now have the package installed. this is my configuration:

                bbcd7d61-f615-4b63-879b-5955aedd15e5-image.png

                However when i browse to mail.ckruijntjens.nl i get the welkom page from nginx. what can be the problem here

                1 Reply Last reply Reply Quote 0
                • robing
                  robing Kopano (Inactive) last edited by

                  @ckruijntjens ,

                  It seems like php-fpm is not installed or configured correctly https://mail.ckruijntjens.nl/Microsoft-Server-ActiveSync is working but you download the php file instead of loading it.

                  Regards Robin,

                  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/

                  A Former User 1 Reply Last reply Reply Quote 0
                  • A Former User
                    A Former User @robing last edited by

                    @robing

                    i installed php-fpm. how can i enable this? the service is running.

                    1 Reply Last reply Reply Quote 0
                    • robing
                      robing Kopano (Inactive) last edited by

                      in the z-push-php.conf you need to enable the right line for your php-fpm version
                      https://stash.z-hub.io/projects/ZP/repos/z-push/browse/config/nginx/z-push-php.conf

                      just check /etc/php/7.2/fpm/pool.d/www.conf (can be a different location on debian 9) and then search for the listen option

                      And check the nginx error logs there should be written something

                      Regards Robin,

                      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
                      • fbartels
                        fbartels Kopano last edited by

                        there is also documentation for this at https://wiki.z-hub.io/display/ZP/Nginx+configuration

                        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 0
                        • A Former User
                          A Former User last edited by

                          hi @fbartels

                          is there a documentattion how to install zpush from scratch on nginx server? i can not seem to get it working

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

                            @ckruijntjens what do you you mean with “from scratch”?

                            Honestly I would rather recommend you to go for the much simpler variant of using Apache and mod_php seeing how you currently struggle with nginx and php-fpm.

                            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/

                            A Former User 2 Replies Last reply Reply Quote 0
                            • A Former User
                              A Former User @fbartels last edited by

                              @fbartels

                              Hi @fbartels i came from apache and wanted to try nginx. I think i will revert back to apache

                              1 Reply Last reply Reply Quote 0
                              • A Former User
                                A Former User @fbartels last edited by A Former User

                                @fbartels Hi

                                now i got it al working. when i browse to the https adres it asks me credentials however after this i get a white sceen. any thoughts on this?

                                this is in the log from nginx.

                                b1d79946-ec6c-4627-9baa-471d959db582-image.png

                                1 Reply Last reply Reply Quote 0
                                • Manfred
                                  Manfred Kopano last edited by

                                  Hi ckruijntjens,

                                  it looks like you’re using a different configuration than https://stash.z-hub.io/projects/ZP/repos/z-push/browse/config/nginx/z-push-php.conf.

                                  There it is:

                                  fastcgi_pass    unix:/var/run/php/php7.0-fpm.sock; # for PHP 7.X Debian/Ubuntu
                                  

                                  You also have to uncomment fastcgi_param SCRIPT_FILENAME.

                                  Manfred

                                  A Former User 1 Reply Last reply Reply Quote 0
                                  • A Former User
                                    A Former User @Manfred last edited by

                                    @Manfred

                                    hi manfre i did that. i enabled debugging and the log is telling me the following

                                    8987610e-eba9-4964-ae2a-cb56552ca712-image.png

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

                                      @ckruijntjens could you please use code blocks and not post screenshots of log messages? This wiki is using markdown for formatting.

                                      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/

                                      A Former User 2 Replies Last reply Reply Quote 0
                                      • A Former User
                                        A Former User @fbartels last edited by

                                        @fbartels

                                        yes i will do sorry for that

                                        1 Reply Last reply Reply Quote 0
                                        • A Former User
                                          A Former User @fbartels last edited by

                                          @fbartels

                                          Allredeay got everything working. Thanks for your support.

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