How to change LOCAL sync interval

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.52
  • PHP version (e.g, 8.3):
    • 8.2
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • Always
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Manual
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I see the instructions here, and in the documentation, changing sync interval. I have set remotePollInterval to be pretty high, but this doesn’t solve my problem.

My problem is that when I use a program that saves continuously (i.e. Obsidian), Nextcloud it constantly sending tiny revisions up to the server. Basically it’s sending a revision with every keystroke.

For now, I have disabled syncing entirely for the folder that contains all my notes. Is there a way to limit how often Nextcloud polls local files? At least for this folder, I can’t have it trigger on every save.

If this isn’t possible, my follow up question is whether I can resume sync and pause sync on a folder, from the command line. If so, I’ll just create a cron job to resume and then pause the folder every 10 minutes or so.

Thanks for your help. I didn’t fill out the rest of the logs and what not because this isn’t really a server issue.

If I would the client dev I would not rely on file scans but rather consume events created by OS/file system to detect changes, which is by far more resource effective. at the moment I can’t save if this is implemented..

Maybe you should change the way you store application data - use a location outside of NC folder for “working” and only sync/copy the data into NC from time to time.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.