I had this problem today.
I put a +1 on this bug on github.
I have a main folder called “Technical” who is shared to a group of 12 users / Read-Write-Reshare.
After a drag n drop in the Finder (OS X) to move a folder A (inside Technical) to a folder B (inside Technical too) The sync stopped in every user having this folder “Technical” Synced.
On the Web UI i got a duplicate folder A is at it first place and also inside folder B. There is only one who work, the last one. When i click on the first one BUG i go to my main file page in nextcloud. When i click on the second one, no prob.
a lot of occ file:scan mainuser - nothing in file_locks etc… nothing worked.
When i go inside the server file system, i don’t see folder A at it first place…
So my solution :
Inside Server’ File system, make a cp of the upper folder where you get the problem, place the copy outside the /data folder.
With the creator user of this shared folder, log in the Web UI, select the folder and delete it.
Inside Server’ File system, put back the copy of the upper folder to the right place.
Make a chown -R www-data:www-data THEFOLDER
Make a sudo -u www-data php occ file:scan creatoruser
Then it get back to normal.
I said to my user to avoid drag n drop inside those folders waiting for a patch.