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

    Z-Push with Zimbra backend PHP 8.0 not working

    General usage of Z-Push
    php 8.0
    7
    19
    6987
    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.
    • mathias.rumbold
      mathias.rumbold last edited by

      I would definitly not migrate to Ubuntu 18.04 since all packages are already available for Ubuntu 20.04.

      Important is that while the installation is happening to deactivate universe repositories to not have a mix with the packages in it.

      You can activate it afterwards. And best is to stay if possible on the default system packages of the latest supported OS version since php7.4 is the system default php in Ubuntu 20.04. 18.04 is php7.2.

      For php8.0 it will be supported with the support of Ubuntu 22.04, so it will take approx one more year if the development is in the same speed as of now.

      danir.de 1 Reply Last reply Reply Quote 0
      • danir.de
        danir.de @mathias.rumbold last edited by

        What is the current status here?
        Is there any info yet about PHP 8.X support?

        maedball 1 Reply Last reply Reply Quote 0
        • maedball
          maedball @danir.de last edited by maedball

          I did the update because of Ubuntu 22.04:

          by now i have had to fix two issues:

          1. Memcache @umgfoin thanks again for the code ;-)
          2. in my policies file i had to set maxattsize = -1 in my old version it was set to “” which caused z-push to not work.

          It is now somehow working for (outlook (PC), ios, android). But i have been only using it for 4 days.

          1 Reply Last reply Reply Quote 0
          • Kordian
            Kordian @umgfoin last edited by Kordian

            @umgfoin Hello,
            I have another issue with PHP8.1. Posted it here recently. 8.0 the same problem.

            umgfoin 1 Reply Last reply Reply Quote 0
            • umgfoin
              umgfoin @Kordian last edited by

              @kordian
              Which problem are you referring to?
              I’m not using the Zimbra-backend, so my PHP8.x-branch might not cover all functions required by this particular backend.

              Kordian 1 Reply Last reply Reply Quote 0
              • Kordian
                Kordian @umgfoin last edited by Kordian

                @umgfoin
                https://forum.kopano.io/topic/4047/z-push-php8-1-problem
                Seems to be z-push, not the backend problem.

                umgfoin 1 Reply Last reply Reply Quote 0
                • umgfoin
                  umgfoin @Kordian last edited by

                  @kordian said in Z-Push with Zimbra backend PHP 8.0 not working:

                  Seems to be z-push, not the backend problem.

                  Might be the case, but hard to debug without having a configured/working Zimbra-backend.
                  You have to find out, when and why $this->{$map[self::STREAMER_VAR]} resolves (or implicitely casts) to string although a stream-object is expected in $encoder->contentStream(...).

                  Kordian 2 Replies Last reply Reply Quote 0
                  • Kordian
                    Kordian @umgfoin last edited by

                    @umgfoin
                    Ha, thank you, but I am no programmer, so absolutely no idea what you are talking about :-)

                    1 Reply Last reply Reply Quote 0
                    • Kordian
                      Kordian @umgfoin last edited by

                      @umgfoin said in Z-Push with Zimbra backend PHP 8.0 not working:

                      @kordian said in Z-Push with Zimbra backend PHP 8.0 not working:

                      Seems to be z-push, not the backend problem.

                      Might be the case, but hard to debug without having a configured/working Zimbra-backend.
                      You have to find out, when and why $this->{$map[self::STREAMER_VAR]} resolves (or implicitely casts) to string although a stream-object is expected in $encoder->contentStream(...).

                      Answer from backend:
                      This error is not in the zimbra backend.

                      The Z-Push core is not tested with PHP 8.0 as yet, never mind PHP 8.1

                      There are a number of known issues that people have submitted fixes for to the z-push code repository but nobody at Kopano is picking up the pull requests so the code is just left sitting there.

                      As I said, I have no knowledge to analyse.

                      umgfoin 1 Reply Last reply Reply Quote 0
                      • umgfoin
                        umgfoin @Kordian last edited by

                        @kordian said in Z-Push with Zimbra backend PHP 8.0 not working:

                        The Z-Push core is not tested with PHP 8.0 as yet, never mind PHP 8.1

                        Ah, I thought, you’re aware of this.
                        Sure, z–push as of maintainer’s current release 2.6.2 is not PHP8.x ready.

                        It’s certainly not only about testing and I have no information, whether the maintainers currently have time/ resources/ intention to do the necessary work or merge PRs.

                        My PHP 8.x fork is work in progress and sufficiently stable to serve the kopano-backend (with a PHP8 MAPI-extension), but I never tested it against the requirements of the Zimbra-backend.

                        ++umgfoin.

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