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

    WebApp Search doesn't return any recent entries

    Kopano Groupware Core
    2
    3
    1107
    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.
    • robertwbrandt
      robertwbrandt last edited by

      I wasn’t sure if I should place this in WebApp section or here, but I think this is a problem with the kopano-search service rather then WebApp itself.

      We found that WebApp is not returning any “new” emails when performing a search. The newest items are always 5 weeks old even though I know there are more recent items that match the criteria.

      Looking at /var/log/kopano/search.log I can see the following errors:

      2017-06-29 09:06:15,971 - query - WARNING - could not open database: /var/lib/kopano/search/D958167F25C948BD8F640BE2FEBD58DE-37219F9207FA474E9B7F095FA689F935
      2017-06-29 09:06:15,971 - query - INFO - Response: OK: 
      2017-06-29 09:06:15,971 - query - INFO - found 0 results in 0.00 seconds
      2017-06-29 09:10:36,086 - search - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_search/__init__.py", line 351, in incremental_sync
          new_state = self.server.sync(importer, self.state, log=self.log)
        File "/usr/lib/python2.7/dist-packages/kopano/server.py", line 566, in sync
          return _utils.sync(self, self.mapistore, importer, state, log or self.log, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 287, in sync
          exporter.Config(stream, SYNC_NORMAL | SYNC_ASSOCIATED | SYNC_UNICODE, importer, restriction, None, None, 0)
        File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 2915, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      
      2017-06-29 09:14:03,095 - search - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_search/__init__.py", line 351, in incremental_sync
          new_state = self.server.sync(importer, self.state, log=self.log)
        File "/usr/lib/python2.7/dist-packages/kopano/server.py", line 566, in sync
          return _utils.sync(self, self.mapistore, importer, state, log or self.log, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 287, in sync
          exporter.Config(stream, SYNC_NORMAL | SYNC_ASSOCIATED | SYNC_UNICODE, importer, restriction, None, None, 0)
        File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 2915, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      
      2017-06-29 09:17:09,138 - search - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_search/__init__.py", line 351, in incremental_sync
          new_state = self.server.sync(importer, self.state, log=self.log)
        File "/usr/lib/python2.7/dist-packages/kopano/server.py", line 566, in sync
          return _utils.sync(self, self.mapistore, importer, state, log or self.log, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 287, in sync
          exporter.Config(stream, SYNC_NORMAL | SYNC_ASSOCIATED | SYNC_UNICODE, importer, restriction, None, None, 0)
        File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 2915, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      
      2017-06-29 09:20:27,304 - search - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_search/__init__.py", line 351, in incremental_sync
          new_state = self.server.sync(importer, self.state, log=self.log)
        File "/usr/lib/python2.7/dist-packages/kopano/server.py", line 566, in sync
          return _utils.sync(self, self.mapistore, importer, state, log or self.log, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 287, in sync
          exporter.Config(stream, SYNC_NORMAL | SYNC_ASSOCIATED | SYNC_UNICODE, importer, restriction, None, None, 0)
        File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 2915, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      
      2017-06-29 09:23:55,386 - search - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_search/__init__.py", line 351, in incremental_sync
          new_state = self.server.sync(importer, self.state, log=self.log)
        File "/usr/lib/python2.7/dist-packages/kopano/server.py", line 566, in sync
          return _utils.sync(self, self.mapistore, importer, state, log or self.log, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 287, in sync
          exporter.Config(stream, SYNC_NORMAL | SYNC_ASSOCIATED | SYNC_UNICODE, importer, restriction, None, None, 0)
        File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 2915, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      
      2017-06-29 09:27:50,719 - search - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_search/__init__.py", line 351, in incremental_sync
          new_state = self.server.sync(importer, self.state, log=self.log)
        File "/usr/lib/python2.7/dist-packages/kopano/server.py", line 566, in sync
          return _utils.sync(self, self.mapistore, importer, state, log or self.log, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 287, in sync
          exporter.Config(stream, SYNC_NORMAL | SYNC_ASSOCIATED | SYNC_UNICODE, importer, restriction, None, None, 0)
        File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 2915, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      

      I looked for the file referenced in the error and sure enough, it doesn’t exist.

      Restarting the service doesn’t help. I was wondering if stopping the service, deleting all the files in that directory and restarting the service might force the system to re-index itself??

      Or does anyone have any other ideas?

      Thanks
      Bob

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

        Turns out that this time period roughly corresponds with when we upgraded from Zarafa to Kopano.
        I know there was an issue when upgrading ZCP 7.1 to ZCP 7.2 but we were upgrading from ZCP 7.2.x to Kopano…

        Don’t know if that helps?
        Bob

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

          Hi Bob,

          this seems to be a limitation introcuded in the newer version of GSOAP. We already have a fix for this; https://jira.kopano.io/browse/KC-683
          Can you open up a support ticket for this?

          As a workaround you can reindex a single user’s store should that user request it. Full reindex would work as well, but we would not recommend it with that many users as a upgrade will also fix this

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