We have 2 instances of Nextcloud. The first instance has 2 active users (User1 syncing content across 3 PC and User2 syncing 1 PC with the server). The second instance has around 30 active users and roughly 50 in total (the only sync clients on this instance are for the same 2 users).
I’ll focus on the first one in this post, although the problem also happens in the second one.
We use NC to share our small office’s work documents. All files are stored into folder originally shared by User1. There are around 15,000 files & about 30GB of data. Some (most) of the data is various years old and has been untouch for at least 24 months (archived information from previous projects).
The instance was setup back when NC split from OC and has been upgraded various times throughout the years.
Starting around version 14, we started to see, from time to time, notices that there were conflicts with some of these archived files on both active users’ PCs. Checking the files in question, neither the original nor the the ‘conflict’ copy seem corrupted and the content for both is equal.
Since about 1 month ago, the problem has become much more frequent to the pont that I’ve started to seriously worry about the integrity of the data.
Before restarting the whole thing with a clean instance, I’ll like to see if anybody else here has run through similar problems and has managed to find a solution?
Our current setup (same for both instances):
Desktop sync clients: Version 2.6.0stable-Win64 (build 20190927).
Ubuntu 18.04, MariaDB 10.1, Apache 2.4 with PHP 7.3 (PHP FPM).
We use Redis for caching (although shouldn’t, I’ve been wondering if this could have to do).
Server is a dedicated box with 100 Mbps connection.
Users connected through 20 / 5 Mbps (Down / Up) connection.
Probably important to mention as well, the instance is replicated onto a backup server using MySQL replication + rsync of the nextcloud folder (excluding the config files).
I did try to pause the replication thinking it could be the issue but the problem has persisted.