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 won't start - example config incorrect

    General Discussion
    2
    2
    201
    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.
    • hodgepig
      hodgepig last edited by

      kopano 8.6.90 from openSUSE repository

      kopano-search fails to start and throws lots of python errors if you use a local config file based off the example provided. The search.cfg file requiries ‘1’ or ‘0’ rather than ‘yes’ or ‘no’ for some directives but the example config (at least the one I have in 8.6.90 on openSUSE) uses ‘yes’. so as soon as you use your own and uncomment any directives it breaks.

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

        Hi @hodgepig ,

        at least here on Ubuntu 18.04.1 LTS I cannot see such problems:

        # Index drafts folder
        index_drafts = yes
        
        # Index junk folder
        index_junk = yes
        
        # Prepare search suggestions ("did-you-mean?") during indexing
        # This takes up a large percentage of the used disk space
        suggestions = yes
        
        ##############################################################
        # ATTACHMENT INDEX SETTINGS
        
        # Should attachments be indexed
        index_attachments = no
        
        # Maximum file size for attachments
        #index_attachment_max_size = 5M
        
        root@felix-pre-final:/etc/kopano# systemctl status kopano-search
        ● kopano-search.service - Kopano Groupware Core Search Daemon
           Loaded: loaded (/lib/systemd/system/kopano-search.service; enabled; vendor preset: enabled)
           Active: active (running) since Wed 2018-12-12 15:03:11 CET; 1s ago
             Docs: man:kopano-search(8)
                   man:kopano-search.cfg(5)
         Main PID: 26102 (kopano-search)
            Tasks: 4 (limit: 4915)
           CGroup: /system.slice/kopano-search.service
                   ├─26102 /usr/bin/python3 /usr/sbin/kopano-search -F
                   ├─26107 /usr/bin/python3 /usr/sbin/kopano-search -F
                   └─26108 /usr/bin/python3 /usr/sbin/kopano-search -F
        root@felix-pre-final:/etc/kopano# dpkg -l | grep kopano-search
        ii  kopano-search                              8.6.90.108-0+20.1                  amd64        Indexed search engine for 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/

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