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 wont start and errors out.

    Kopano Groupware Core
    3
    5
    428
    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,

      i got myself a broken kopano-search. It wont start and everything is up to date. can anybody help me with this problem?

       kopano-search.service - Kopano Groupware Core Search Daemon
      Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; disabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since Thu 2018-10-18 20:00:57 CEST; 28s ago
      Docs: man:kopano-search(8)
      man:kopano-search.cfg(5)
      Process: 2088 ExecStart=/usr/sbin/kopano-search -F (code=exited, status=1/FAILURE)
      Main PID: 2088 (code=exited, status=1/FAILURE)
      
      Oct 18 20:00:57 kopano kopano-search[2088]: File "/usr/lib/python2.7/site-packag…g
      Oct 18 20:00:57 kopano kopano-search[2088]: self.data[key] = self.config[key].pa…)
      Oct 18 20:00:57 kopano kopano-search[2088]: File "/usr/lib/python2.7/site-packag…e
      Oct 18 20:00:57 kopano kopano-search[2088]: return getattr(self, ‘parse_’ + self…)
      Oct 18 20:00:57 kopano kopano-search[2088]: File "/usr/lib/python2.7/site-packag…r
      Oct 18 20:00:57 kopano kopano-search[2088]: if self.kwargs.get(‘options’) is not…:
      Oct 18 20:00:57 kopano kopano-search[2088]: ValueError: invalid literal for int(…'
      Oct 18 20:00:57 kopano systemd[1]: kopano-search.service: main process exited, …RE
      Oct 18 20:00:57 kopano systemd[1]: Unit kopano-search.service entered failed state.
      Oct 18 20:00:57 kopano systemd[1]: kopano-search.service failed.
      Hint: Some lines were ellipsized, use -l to show in full.
      [root@kopano home]# systemctl status kopano-search -l
      ● kopano-search.service - Kopano Groupware Core Search Daemon
      Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; disabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since Thu 2018-10-18 20:00:57 CEST; 1min 5s ago
      Docs: man:kopano-search(8)
      man:kopano-search.cfg(5)
      Process: 2088 ExecStart=/usr/sbin/kopano-search -F (code=exited, status=1/FAILURE)
      Main PID: 2088 (code=exited, status=1/FAILURE)
      
      Oct 18 20:00:57 kopano kopano-search[2088]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 132, in parse_config
      Oct 18 20:00:57 kopano kopano-search[2088]: self.data[key] = self.config[key].parse(key, value)
      Oct 18 20:00:57 kopano kopano-search[2088]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 26, in parse
      Oct 18 20:00:57 kopano kopano-search[2088]: return getattr(self, 'parse’ + self.type_)(key, value)
      Oct 18 20:00:57 kopano kopano-search[2088]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 49, in parse_integer
      Oct 18 20:00:57 kopano kopano-search[2088]: if self.kwargs.get(‘options’) is not None and int(value) not in self.kwargs.get(‘options’):
      Oct 18 20:00:57 kopano kopano-search[2088]: ValueError: invalid literal for int() with base 10: 'yes’
      Oct 18 20:00:57 kopano systemd[1]: kopano-search.service: main process exited, code=exited, status=1/FAILURE
      Oct 18 20:00:57 kopano systemd[1]: Unit kopano-search.service entered failed state.
      Oct 18 20:00:57 kopano systemd[1]: kopano-search.service failed.
      [root@kopano home]# rpm -qa | grep kopano-search
      kopano-search-8.6.82.110-117.1.x86_64
      
      1 Reply Last reply Reply Quote 0
      • thctlo
        thctlo last edited by

        can you check you search.cfg? bit of a guess, but i see this :

        ValueError: invalid literal for int() with base 10: 'yes’

        somewhere kopano-search gets “yes” but it want an number int() 0 1 2 3 4 …

        you can try to remove the search.cfg and try to start, if it does, then its in the config somewere.

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

          @thctlo

          Hi indeed it had to do with this. Thanks for pointing me to the right direction. It has to do with this option:

          Log timestamp - prefix each log line with timestamp in ‘file’ logging mode

          #log_timestamp = yes

          If i disable timestamp all is ok and if i enable it it errors out with the above log.

          ???

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

            Thanks for bringing this up. We have fixed this with https://stash.kopano.io/projects/KC/repos/kopanocore/commits/2b8fd81214b6f6894b4470863e7899b5e5ca60d9

            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/

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

              @fbartels

              No problem thank you for your work and effort👍👍👍

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