r/NextCloud • u/radek277 • 10h ago
fixing desktop vfs on macos
I do run my nextcloud server and like to use nextcloud desktop for files which are on it, I have quite a few files there, so I want to use VFS, but current situation with client is quite bad for me.
I have two main problems with it - when i copy file on iphone to nextcloud it takes between 15 min to 3 days to appear on my mac and sometimes when synchronizing files to from mac to server there appears cloud icon with ! and file does not want to upload to server. There is also one more small problem and that is if upload fails, files prepared to upload to server, get stuck in tmp directory forever.
I always hopefully wait for new update of desktop, but after many months when there is practically no improvement with these bugs. I did try bug report, but it seems that developers are puzzled with those bugs also or I was not able to explain it properly.
Because it's open source I decided to use Claude to look into it and after few hours it managed to make build which works for me quite well. I have to mention that on my configuration where I have this problems it's much easier to debug those bugs, because I can immediately see results. I did try to do as minimal changes as possible and some fixes are just few lines of code, but other ones are a bit more complex.
I was quite surprised how easy it's to do edits to opensource software, I just asked claude and it did most of work for me with setting up nextcloud development environment on my mac and debugging problems. It's really not a replacement for experienced programer, because I do not really understand what it did. But real programers where not able to make those corrections in many months or years which they already build desktop, so what can I do.
I used ZED editor. A free Apple developer account is enough for building and using on my mac and guide in repo includes prompt for AI. This app runs next to official Nextcloud app, so you can test it yourself.
I have some experience with programming, but that was long time ago, so there is no way I could make proper patches which could be accepted by nextcloud, so I decided to publish it this way. Maybe somebody finds it interesting.
It seems that it should be easy to make update for official builds on 35.x when Nextcloud releases it, but 36.x have a lot of changes, so we will see.
For now I will use this build on side account on nextcloud with 10000 files to see how it works.
use at your own risk, keep a backup


