I'm using oC 9.1.2 from the latest, official Docker Image.
As a Desktop client, I'm using 2.2.4 on Ubuntu Linux 16.10 from the official source site (http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.10/).
Somehow I managed to zero the content for some of my files in my oC folder. On the server and on my Desktop these files were empty. I then had a look at my stored versions in the Web GUI of oC and restored the latest version for those files.
In the Web GUI I then saw that those files had their old content again. I also can download them from the Web GUI and their content looks OK again.
I did that over one hour ago now and the files on my Desktop are still empty. I restarted my oC-Client twice - the restored versions are not synced.
When I do the following, they are synced:
- Delete the file, either locally or in the Web GUI and wait for this deletion to be synced (file vanishes on the other side, too).
- Restore the file from the trash bin in the Web GUI.
Then the file restored from the trash bin is synced and has the content restored from the version restore.
But this is a huge PITA when one has many of these files. Also, it is not very confidence-inspiring to see that one cannot rely on having a complete sync locally. Also, in environments which are quite filled to the brim, one has to trust the deleted file to not be deleted permanently from the Trash bin, also.
Steps to reproduce
1. Create a new file with content.
2. Have it synced.
3. Change the content.
4. Have it synced, also.
5. Restore the version with the previous content in the Web GUI.
6. Confirm the file remains with the content of step 3 on the sync client, running on Ubuntu Linux 16.10 at version 2.2.4
The file content should become the same on the Ubuntu Client, than it has on the remote server at every time.
The client doesn't sync files which were restored from a previous version of that file.
Client version: 2.2.4
Client operating system: Ubuntu Linux 16.10
Operating system: Arch Linux running oC from the official Docker Image (https://hub.docker.com/_/owncloud/), which is Debian 8.6
Web server: Apache/2.4.10
Database: MariaDB 10.1.19
PHP version: 5.6.28
ownCloud version (see ownCloud admin page): 9.1.2
Updated from an older ownCloud or fresh install: %
Special configurations (external storage, external authentication, reverse proxy, server-side-encryption): behind nginx reverse proxy