Nextcloud Client General Ignore settings not working

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

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:

Nextcloud version (eg, 20.0.5): 26.
Operating system and version (eg, Ubuntu 20.04): 22.04
PHP version (eg, 7.4): 8.1

The issue you are facing:

Nextcloud Client sync files in folders it is supposed to Ignore according to the General ignore file (the one in general settings that should override the others).

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

Steps to replicate it:

  1. Add testignore/* to General → Edit Ignored Files → Add
  2. Go to local synced folder
  3. mkdir testignore && cd testignore && touch dontsync.txt
  4. Nextcloud client then sync dontsync.txt which is supposed to be ignored.

Nextcloud client is latest ( 3.10.1 ). I don’t know since when it doesn’t work though, because I had issues with previous version which I thought I kinda fixed (by unchecking the folder in the main setting panel) but it ends up not working.

Edit: Nevermind the error popup in my original text. It is related to syncing an empty file.

Edit2: Seems like using testignorewithout /*works. Are regex supposed to work in ignore settings?

Try it with this regex:

*testignore*

that works for me.

I hope that helps you.
Much luck,
ernolf

It works fine with / without * except the nextcloud client starts syncing nothing all the time making syncs slower (on NC Client 3.10.1). I am not sure it does that on my other device which I think it has the 3.10.0.

So I confirm. For some reason, NC Client 3.10.0 on another device with the same ignore list (which is synced) works properly, while my other device on 3.10.1 client keep syncing in loop.