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

    10.0.4 + webapp work fine

    Kopano Groupware Core
    3
    7
    222
    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.
    • tjoen
      tjoen last edited by tjoen

      Thanks for 10.0.4 + webap
      System LFS; Python-3.8, Exim
      Only problem is in kopano-search
      …
      File “/usr/lib/python3.8/site-packages/kopano/service.py”, line 70, in _daemonize
      pidfile = pidlockfile.TimeoutPIDLockFile(pidfile, 10)
      NameError: name ‘pidlockfile’ is not defined
      …
      Python-daemon-1.2

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

        Hi @tjoen,

        I don’t think any of the distributions we are currently building for already has Python 3.8 and therefore the code is probably simply not compatible.

        If you want to submit a patch then that would be welcome: https://github.com/kopano-dev/kopano-core

        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/

        longsleep 1 Reply Last reply Reply Quote 0
        • tjoen
          tjoen last edited by tjoen

          Checking all other posts I see more people trying Py38
          Waiting for confirmation of this pidfile error

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

            @fbartels

            @fbartels said in 10.0.4 + webapp work fine:

            Hi @tjoen,

            I don’t think any of the distributions we are currently building for already has Python 3.8 and therefore the code is probably simply not compatible.

            We build for Ubuntu 20.04 which has Python 3.8. Also this does not seem to be a Python compatiblity issue - instead the python daemon library might just be missing.

            @tjoen please check if you have python3-daemon installed (https://pypi.org/project/python-daemon/).

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

              In my first post I wrote that I use the latest daemon-1.2
              I also tested versions 1.1 and 1.0. Both result with the same pidfile error

              I am not familiar with python. So I only can ask if this is corect:
              /usr/lib/python3.8/site-packages/kopano/service.py
              …
              try:
              import daemon
              import daemon.pidfile as pidlockfile
              except ImportError: # pragma: no cover
              pass
              …

              longsleep 1 Reply Last reply Reply Quote 0
              • longsleep
                longsleep Kopano @tjoen last edited by

                @tjoen said in 10.0.4 + webapp work fine:

                In my first post I wrote that I use the latest daemon-1.2
                I also tested versions 1.1 and 1.0. Both result with the same pidfile error

                Yes, well i do not know what “daemon” is. Lets just assume it is https://pypi.org/project/daemon - then it is the wrong thing. Use python-daemon which i linked before ((https://pypi.org/project/python-daemon).

                Yes 3rd party python modules can be confusing.

                tjoen 1 Reply Last reply Reply Quote 1
                • tjoen
                  tjoen @longsleep last edited by tjoen

                  @longsleep @fbartels
                  Thanks for that info
                  both project/daemon and project/python-daemon have daemon to import
                  Very confusing. name conflict
                  kopano-search-10.0.4 is running now

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