NextCloud 18.0.6 server preview of text app slow to sync up

Nextcloud version: 18.06
Operating system and version: Ubuntu 16.04 AMD64
Apache or nginx version:
PHP version 7.4:

The issue you are facing:

nextcloud server is not showing most recent version of edited file.

Is this the first time you’ve seen this error? No. It happened with v19.0.0 as well.

Steps to replicate it:

  1. Create a markdown file and sync it up.
  2. Edit the file locally once. The changes appear on the server within the web interface.
  3. Edit the file locally again. The changes do not appear on the server within the web interface. It still displays the previous edit. No amount of time clears it out.

I tried:

  1. v19 and v18. Same issue.
  2. I tried different browsers side by side. Both showed the same data. So it’s not a client caching issue.
  3. The download link is correct. And the file is correct for all other users on their local nextcloud folders.
  4. It’s only the preview that’s wrong. Is there a setting to speed this up or fix it?

I’ve only tried text files.

Thank you!


EDIT: This appears to be a problem with the text plug-in. It doesn’t take the latest version of the file for a while, somehow.