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

    Kopano-search nightly build 05-09-2019 fails to start

    Kopano Groupware Core
    3
    4
    289
    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,

      Kopano-search fails to start on the latest build on Debian Buster. see error below:

      kopano-search.service - Kopa no Groupware Core Search Daemon Loaded: loaded (/lib/systemd/system/kopano-search.service; enabled; vendor preset: enabled) Active: failed (Result: exi t-code) since Thu 2019-09-05 16:09:35 CEST; 30s ago Docs: man:kopano-search(8) man:kopano-search.cfg(5) Process: 83 ExecStart=/usr/sbin/kopano-search -F (code=exited, status=1/ FAILURE) Main PID: 83 (code=exited, status=1/FAILURE) Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: from . import table as table Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: File “/usr/lib/python3/dist-packages/kopano/table.py”, line 25, in <module> Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: from . import property as prop Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: File "/usr/lib/python3/dist-packages/kopano/property.py", line 48, in <module> Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: from . import timezone as _timezone Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: File “/usr/lib/python3/dist-packages/kopano/timezone.py”, line 24, in <module> Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: import tzlocal Sep 05 16:09:35 mail.ckruijntjens.nl kopano-search[83]: ModuleNotFoundError: No module named ‘tzlocal’ Sep 05 16:09:35 mail.ckruijntjens.nl systemd[1]: kopano-se arch.service: Main process exited, code=exited, status=1/FAILURE Sep 05 16:09:35 mail.ckruijntjens.nl systemd[1]: kopano-se arch.service: Failed with result ‘exit-code’.

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

        Hai,

        The fix is very simple,

        apt install python3-tzlocal

        @fbartels This is a missing dependecy for package kopano-search in buster.
        And most probely other distro’s.

        @ckruijntjens How i know this. in the last 15 min i upgrade my kopano and had the same problem.
        This might help you in the future.
        From you output above : /usr/lib/python3/dist-packages/kopano/property.py
        So its python3 related.
        File “/usr/lib/python3/dist-packages/kopano/timezone.py”, line 24, in <module>
        its a python3 modules for kopano its modules called timezone.py
        Later on you see : kopano-search[83]: import tzlocal

        So your looking for a python module called : tzlocal

        and then you do an :
        apt-cache search python3 |grep timezone or apt-cache search python3 |grep tzlocal

        results in 3 options with the first search to install. i choose the close one to what the error it telling. ( tzlocal )
        python3-django-timezone-field - database and form fields for pytz objects (Python3 version)
        python3-tz - Python3 version of the Olson timezone database
        python3-tzlocal - tzinfo object for the local timezone (Python 3 version)

        And only one in the last search.
        Now, this is not always that easy, then i suggest, go here : https://packages.debian.org/
        And use the different search options to find the missing module.

        Greetz,

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

          @thctlo

          yes you are right. Problem is resolved thank you.

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

            apt install python3-tzlocal

            solved this for me, thank you ckruijntjens!

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