[2.5.1] client marks ignored files as sync conflict
I installed 2.5.0 over a previous 2.3.3 version. With the old client version, the folders synchronization was okay, with 2.5.0 instead it is stuck on a specific folder (let's call it "LLL") marked with "there are unresolved conflicts, click for details". I click and I simply get a list of files being ignored because they are usually temp or backup files, like .foo.bar, foo.bar~, ~foo.bar.
So there are no conflicts, only files being ignored.
Note that as soon the "LLL" folder start the sync, I get the alert message and the sync stops
Hi,
I have just tried my 1st 2.5 build (Nextcloud-2.5.0.61459-daily-20181011)
I can see the Files ignored by Patterns, has been dramatically reduced, which is good.
However I also see this issue, except that despite hidden files being syncd is on, I get:
File is listed on the ignore list for ~$sampleexcel.xls (yes the file is closed)
Also im getting error on various files for Conflicts, where Server version downloaded, local copy renamed and not uploaded
finally .iTunes Preferences.plist thowing an error
In the end I just want everything to sync, unless either chosen by the server (which that feature was in this version eg settings controlled by the server !) or by me.
Me just seeing a Green tick as per 2.3.3
I will revert back to that version for now
Thanks ZT
Solution was to not use the client gui, but to edit the file in the new roaming (not local anymore) location
Guess this is a client bug....
ZT
I am seeing the same issue. The 2.5 client gives me "unresolved conflicts", but when I click on the message ("Click for details"), nothing happens.
I am running on macOS HS, client version is 2.5.0rc1 (build 20181026)
After downgrade to 2.3.3 client, all seems to be ok again.
In the 2.5git (ubuntu18.04) i get the same "unresolved conflicts". If I click on it, it shows me a very long list of ignored files, which should not be ignored anymore due to the reduced ignore patterns.
Confirmed. The same issue with macOS 10.12 and NC Client Nextcloud-2.5.0.20181112.pkg i.e. Version 2.5.0daily (build 20181112) for all the users of our local NC 13.0.7 server.
One may consider the Nextcloud Client Manual section Conflicts to manually resolve the a.m. issue. However, I am unsure if the paragraph Uploading conflicts (experimental) might be useful for a workaround or would be misleading.
Please be aware there appears to be a more general documentation issue What is the current Client Manual? #839 One would expect the availability of a documentation for both the 2.3 and the 2.5 NC Client.
I still experience the problem on 2.5.0 final. I will not push nextcloud-client to Fedora / EPEL stable repository until this problem will be fixed
Confirming that the issue described by OP is still occurring. It occurs on Linux as well. Confirming that MacOS and Linux client with 2.3.3 do not exhibit this bug. I suppose this will have to be a new test-case that will be added to QA so to ensure that this functionality is properly tested before shipping a release as production ready.
Does anybody have log files or steps to reproduce this? I tried it locally and it seems just to work no mater what I put in the ignore pattern
Trying to sync a file with ~ at the end of the filename the client logs say:
...[_csync_merge_algorithm_visitor INSTRUCTION_IGNORE client file: path/to/file/file_with_tilde~
...
[csync_ftw <= Closing walk for with read_from_db 0
[csync_update Update detection for remote replica took 74.093 seconds walking 31725 files
[csync_memstat_check Memory: 2486580K total size, 873896K resident, 30828K shared
[OCC::SyncEngine::slotDiscoveryJobFinished #### Discovery end #################################################### 91355 ms
...
[OCC::PropagateItemJob::scheduleSelfOrChild Starting INSTRUCTION_IGNORE propagation of "path/to/file/file_with_tilde~" by OCC::PropagateIgnoreJob(0x55ddcab01f60)
[OCC::PropagateItemJob::done Could not complete propagation of "path/to/file/file_with_tilde~" by OCC::PropagateIgnoreJob(0x55ddcab01f60) with status 6 and error: "Die Datei ist in der Ignorierliste geführt."
[OCC::ActivityWidget::slotItemCompleted Item "path/to/file/file_with_tilde~" retrieved resulted in "Die Datei ist in der Ignorierliste geführt."
[OCC::ActivityWidget::slotItemCompleted Item "path/to/file/file_with_tilde~" retrieved resulted in error "Die Datei ist in der Ignorierliste geführt."
[OCC::ActivityListModel::addErrorToActivityList Error successfully added to the notification list: "Die Datei ist in der Ignorierliste geführt."
But in the ignore list is no entry for files with ~

@augustseptember My ignore files settings looked like that until I took @brianbgness advice from #851 and reset to defaults, then lots of other entries (including ~ones) appeared in the list
@leighss thanks for the advice but this doesn't change anything for me.
@augustseptember that is a different issue. But ~ files are ignored because they are temp files by definition.we probably can make that more clear
That also didn't change anything for me, but I thought it may have helped in diagnosing problem
@rullzer yes there could be some fixed entries in the ignore list, which can't be deleted from that list. You would at least be informed that some patterns (~) or files (like .htacess) are generally not synced.
But why is there still the warning about conflicts in the client?
Note that .htaccess is blocked server side.
I do not know why the warning is there. That is why I need steps to reproduce as it doesn't happen for me. No matter what I add to the sync list. Only if create conflicts in files that are synced I see them but that is to be exepcted.
Ah ok at least I'm a step further. It indeed looks like the system exclude list is always read. I'm not sure how this snuck back in. I'll prepare a PR to fix that at least.
hmm... i just updated my nextcloud-client from 2.3.3 to 2.5 with your ppa for ubuntu 18.04. The yellow warnings was there from the beginning.
Hopefully I am not muddying the waters as I do not understand the technicalities, but...
@rullzer mentioning .htaccess jogged my memory...
I did notice that amongst the many yellow ! warning logs about ignored files there were two red X server error logs and when I followed them in the file manager they were .htaccess files in my synced content.
I have three locations (I'll call them A, B & C) that I sync. One .htaccess files is in B, and the other in C. However, A & C give me a yellow ! error overall, not a red X.
A has started to give me a green tick again (I am not sure why, perhaps after resetting defaults?) and has no error relating to an .htaccess file
I do not think this solves it but it should make hte list more clear: https://github.com/nextcloud/desktop/pull/860
I'm having the same conflict issue described above. With the previous version on a Ubuntu 16.04 I had no issue. I've just update to 2.5.0git using the repository and now I have lots of "File is listed on the ignore list". In my case, I use Nextcloud to sync some python projects I'm working on. This is quite useful when changing from PC to laptop or going home. Sometimes the code is not in a state that I can commit, but I want to see and finish what I was working on on a different computer. To avoid silly or prejudicial syncs I added to the ignored files the following two patterns:
*.pyc
__pycache__/*
This has been working fine for me untill now. Since the update I see the yellow flag indicating that "There are unresolved conflicts. Click for details" When I click, all *.pyc files are mark as conflictive saying that "File is listed on the ignore list."
I hope I'm not doing something obviouly wrong and that this report helps to solve the issue.