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

    2.5.0 beta1 - Errors in z-push-top.php

    General usage of Z-Push
    2
    14
    719
    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.
    • liverpoolfcfan
      liverpoolfcfan last edited by

      I am also getting the same error reported from active connections

      08/04/2019 12:01:42 [11572] [FATAL] [myUser] [myDevice] Fatal error: /usr/share/z-push/backend/ipcsharedmemory/ipcsharedmemoryprovider.php:44 - Declaration of IpcSharedMemoryProvider::__construct($type, $allocate, $class) must be compatible with IIpcProvider::__construct($type, $allocate, $class, $serverKey) (64)

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

        In both cases - z-push-top.php and real connections, adding a 4th parameter ($serverKey) to the constructor eliminates the error

        public function __construct($type, $allocate, $class, $serverKey) {
        

        but, as I don’t know what it is used for, I don’t know if there is any other code that is needed to handle it.

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

          Hi liverpoolfcfan,

          which repository are you using? It looks like something went wrong during the upgrade.

          IpcSharedMemoryProvider constructor already has the serverKey parameter:

          https://stash.z-hub.io/projects/ZP/repos/z-push/browse/src/backend/ipcsharedmemory/ipcsharedmemoryprovider.php?at=release/2.5

          Manfred

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

            This is the content of the z-push.repo file

            [z-push]
            name=Z-Push noarch Enterprise Linux 7 - $basearch
            baseurl=http://repo.z-hub.io/z-push:/pre-final/RHEL_6_PHP_56
            failovermethod=priority
            enabled=1
            gpgcheck=0

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

              Hi liverpoolfcfan,

              I’ve dowloaded the rpm from http://repo.z-hub.io/z-push:/pre-final/RHEL_6_PHP_56 and also there IpcSharedMemoryProvider constructor already has the serverKey parameter.

              Manfred

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

                Hi Manfred,

                I have checked the repo download and I too can see the $serverKey is in there. However, it looks like that version is not getting pulled down to my system.

                When I run z-push-top.php it reports version number 2.5.0.beta1+0

                The rpm file is labeled with version 2.5.0.beta1+0-215

                If I run yum update it checks the repository but does not pull down the newer file.

                Could there be a switch that wasn’t flicked to publish the newer update?

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

                  Hi liverpoolfcfan,

                  $serverKey was there in the constructor of ipcsharedmemory since 2.5.0.beta1+0. I’m not aware of any switches.

                  Could you try if this happen with the final repository as well?

                  Manfred

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

                    I ran “yum update” a couple of days ago (and again just now) - I am still using the pre-final repository. For now z-push-top shows

                    Z-Push: 2.5.0.beta1+58

                    Is this as expected?

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

                      Hi Vincent,

                      I’ve tagged the release/2.5 branch with 2.5.1.beta0 after 2.5.0 final release, but it looks like the build system didn’t trigger and hasn’t picked up the changes. I’ve run the services manually and pre-final repository now contains Z-Push 2.5.1.beta0+0.

                      Manfred

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

                        I will try another “yum update” and let you knoow what happens.

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

                          Hi liverpoolfcfan,

                          you probably have to install z-push-ipc-sharedmemory package: https://forum.kopano.io/post/13506

                          Manfred

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

                            That worked. Now showing Z-Push: 2.5.1.beta0+0

                            Is ip-sharedmemory package just packaging up a file I already have on my system from the pre-package days?

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

                              @liverpoolfcfan said in 2.5.0 beta1 - Errors in z-push-top.php:

                              That worked. Now showing Z-Push: 2.5.1.beta0+0

                              Is ip-sharedmemory package just packaging up a file I already have on my system from the pre-package days?

                              Yes.

                              Manfred

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