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

    The configured LOGFILE can not be modified.

    Synchronising (mobile) devices via Z-Push
    6
    24
    2378
    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

      Forgotten,
      I fix this with the two lines mentioned above, so for me it is not longer an issue.

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

        This is btw the place where the packaging sets these permissions (for Debian based platforms): https://stash.z-hub.io/projects/ZP/repos/z-push/browse/build/deb/debian.z-push-config-apache.postinst#27-36,43-44

        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/

        thctlo 1 Reply Last reply Reply Quote 0
        • BMWfan
          BMWfan last edited by

          For me is the problem fixed, but nevertheless it was not functioning inbetween of the installation process.

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

            @WalterHof said in The configured LOGFILE can not be modified.:

            chown www-data:www-data /var/lib/z-push /var/log/z-push

            same for me : new installation -> Debian 9

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

              @mcdaniels Can you show which packages you have actually installed? (e.g. dpkg - l | grep z-push)

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

                @fbartels
                sure:
                z-push-backend-kopano 2.5.1+0-0
                z-push-common 2.5.1+0-0
                z-push-config-apache 2.5.1+0-0
                z-push-ipc-sharedmemory 2.5.1+0-0
                z-push-kopano 2.5.1+0-0

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

                  @mcdaniels in that case you should not have had the need to chown the directory, as this action is part of the postinst action of z-push-config-apache.

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

                    @fbartels: Strange, but the errormessage while installing via apt-get was the same as mentioned in this thread. Did the chown. It is working now.

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

                      @fbartels That is a nice, but wrong example.

                      set_perms www-data www-data 700 /var/lib/z-push
                      set_perms www-data www-data 700 /var/log/z-push
                      

                      should be

                      set_perms www-data adm 750 /var/lib/z-push
                      set_perms www-data adm 750 /var/log/z-push
                      

                      Confirm debian policy. ;-)

                      install -d /var/lib/z-push -o www-data -g adm -m 750
                      install -d /var/log/z-push -o www-data -g adm -m 750
                      

                      where user/group should be the variable to set to match the correct user/group per distro.

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

                        @thctlo your version may include more Debianisms (the adm group), but in the end achieves the same. The www-data user needs read/write permissions.

                        So I would not say the current way is “wrong”.

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

                          yes, i do, because the "administrative group " adm, should have read access.
                          which is/was in Red Hat : wheel
                          but i can not confirm it that is still.

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