What difficulties are you having? All you need is WebDAV. I use a nextcloud server for mine and my partner's zotero storage, and its entirely trivial to set up.
I have many issues with Zotero (which has been dumbing down at the expense of power users for some time) – but easy private sync is definitely not one of them.
WebDAV does not sync everything. With the amount of stuff faculty is syncing we would hit the storage limits with metadata alone