We have a Nextcloud 20.0.9 in Ubuntu 20.04 + PHP 7.2 + MySQL 5.7.33 + Apache 2.4.29.
All is working fine on the server side and on android side.
However, when trying to sync with Windows Desktop (3.2.0), folders remains on “Pendind Sync” state even when the client icon on notification area says is already sync fine (we checked the sync is done right):
I had the same issue a couple days ago when I was using Windows Desktop Client 3.2.0.
I noticed 3.2.1 was recently released, and it seems to resolve the issue for me (release notes here). I couldn’t update directly from within the client as checking for updates showed that it was “the latest version”.
I used the following steps (feel free to comment a more efficient procedure if you find one):
Uninstall Desktop Client 3.2.0.
Delete the Nextcloud sync directory (this step may not be necessary, but if you don’t have many files, it should be too big of a setback).
Install Desktop Client 3.2.1.
Sign in, create new folder in same location as before and sync as usual.
Best of luck!
Edit: It seems to fix the issue initially, but after editing a file at least once, it remains in the pending status
For me it’s only happening with small (<5KB) files that I’ve told the sync client to “free up”. My workaround is to just keep those files on my hard drive, since their cumulative size is only about 20MB:
In Windows File Explorer, browse to the Nextcloud folder.
In the search box at the upper right, type size:tiny hit enter and it will find all the files under 15KB
Make sure you’re on Details view, and add the “Status” and/or “Availability Status” column to the results window.
Select all of the files with status “Sync pending”. Right-click one of the selected files and select “Always keep on this device” . Once this finishes, if you hit F5 you should notice all the files now have a solid green circle checkmark.
Again select all of those files that now show “Always available on this device”, right-click them and once again select “Always keep on this device” (which clears the checkmark next to that menu item)
Now the files should have the green/white checkmark, and the sync client will stop trying to sync them all the time.
I suppose the other workaround would be to disconnect your account on that computer, delete all those <=5KB files, then reattach your account and point to your existing folder. I haven’t tried that though…