Nextcloud search stopped indexing new files all of a sudden

Nextcloud version (eg, 17.01 :
Operating system and version (eg, Ubuntu 18.04) :
Apache or nginx version (eg, apache) :
PHP version (eg, 7.1) :

The issue you are facing:All of a sudden Nextcloud stopped indexing new files. Both the file names and the contents of text documents do not come up when I search. I tested elasticsearch to makes sure its running and it is. I am a total newb to this can anyone hand hold me through?

Is this the first time you’ve seen this error? (Y/N) : Y

Steps to replicate it:

  1. upload new document
  2. wait 1min then 30 min then hours
  3. try to search and no results except for documents from the past few days if they happen to match the query

The output of your Nextcloud log in Admin > Logging :

I am so sorry I am new how do I get these to you?

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____ :