Mac VFS sync stuck

,

Hi Everyone,

usually I can figure things out myself, but I am getting to the point where I no longer have any other good ideas. So, thanks for any other good ideas.

I wanted to let my dad use my Nextcloud instances so that he is no longer dependent on the big cloud providers. So far so good. Since he has a lot of files, he wanted to give the new VFS on Mac a try. We installed the app, he dropped a big chunk of his files (150GB maybe), and off it went. Started syncing, all good. Then, at some point it stopped. And since then, it seems half the files are on the server (I can confirm that), and half of the files are still local on the laptop. We can easily confirm that since some of the files you can open, and the other half it is spinning where it is supposed to sync from server, but it won’t. When starting Nextcloud, most of the times it turns into Application not responding after a while, the menu bar item does not show up anymore. Most of the times, there are entries in Console (from FileProviderExt), for example:

Or this:

There is others as well. If you want me to provide specific other data, just let me know.

At this point, I am thinking that my best course of action is to create one complete set of data (from what is on the laptop, and from what is on the server), and then reassess. But I don’t find a good way to copy all the local (laptop) files to some other location, as there is really no way (besides manually opening) to tell. I have tried: rsync, stat, head -c1, tried looking for specific attributes with xattr, to no avail. There seems no good way to tell in a programmatic way that I can script which files will succeed.

So two Questions:

  1. Any good ideas on how I can at least rescue the still local files?
  2. What else can I try to do to get the sync working again.

P.S. Both Server and Desktop are on latest versions.

Much appreciated!

Hello @brensch,
first of all, I think it’s great that you’re using Nextcloud.
Unfortunately, there’s an open bug with the VFS for Mac. Sometimes it works, sometimes it doesn’t.
It helped me connect using the IP-Adress instead of the domain name. Maybe you could try that?

And for your other problem: I would suggest that you re-upload all files to a separate folder. You could do that about the web interface or using for example rsync.
After that, you can move the files in the originally planned destination with the web interface. If there some files are already existing, you can easily replace them (a pop-up asks for it).