desktop icon indicating copy to clipboard operation
desktop copied to clipboard

3.4.0 keep synchronizing files after upgrade

Open AndyXheli opened this issue 5 years ago • 141 comments

Expected behaviour

Once updated from the 3.3.6 all my files started to resync all over again

Actual behaviour

Should not sync files that are already synced. I had to remove the folder and recreate it for the sync to stop

Steps to reproduce

  1. Update to 3.4.0

3.

Client configuration

Client version:

Operating system: Windows 10 Windows 11 MacOS 12.0.1 OS language: Eng Client package (From Nextcloud or distro) (Linux only): 3.4.0

AndyXheli avatar Nov 30 '21 18:11 AndyXheli

Subscribing, also had this issue. Local stored files started syncing again as soon as the latest version was installed.

valdearg avatar Nov 30 '21 20:11 valdearg

This happens on Macos also. I had to roll back to 3.3.6 i had alot of issues

AndyXheli avatar Dec 01 '21 02:12 AndyXheli

Resync in terms of downloading or also uploading? In my case (Windows 11 with virtual files) all my local files were uploaded again after the upgrade to 3.4.0 which resulted in a bunch of filechanges on the activity tab of Nextcloud.

snandos avatar Dec 01 '21 09:12 snandos

could you share your logs otherwise we cannot understand your problems

mgallien avatar Dec 01 '21 10:12 mgallien

I'll have to try it on another computer and get you the longs

AndyXheli avatar Dec 01 '21 12:12 AndyXheli

In the meantime I think i found out what my client was changing on the files on the serverside: The creation/modification date of the files - it was set to 0 -> 1970. And that on the other hand led to the creation year 2106 on the mac of my colleague (which is FFFF FFFF from 1970?!) - idk why. I think our clients never stopped syncing because of this?!

I'm currently fixing my two nextcloud instances, I hope I can search for the logs later.

Nextcloud version on the servers is 22.2.3 and 22.2.1

snandos avatar Dec 01 '21 13:12 snandos

I can confirm that this is happening. Every creation date of every file in the sync folder was set to 1970 (basically 0). Because the client resyncs the entire file when metadata changes, it's now resyncing all of my files. Reinstalling version 3.3.6 didn't help as the metadata has already been changed.

I'm not sure how I am supposed to "fix" this. Is there any way to force-restore the previous versions of all files that now get replaced on the server and then force-resync all files from the server? I would very much appreciate if I didn't have to lose my metadata over this.

Edit: Removing and readding the folder synchronisation forces the client to redownload all (correct) files from the server instead of uploading the files with the wrong metadata. Still, files that have already been uploaded to the server with wrong metadata stay that way. It's too much of a hassle to manually restore the previous version for the hundreds of files that have been changed, so I'm just going to give up on that.

MaxiMii05 avatar Dec 01 '21 18:12 MaxiMii05

I would use https://www.revouninstaller.com/revo-uninstaller-free-download/ to uninstall and it also dose a registry remove off the app and any files and folders associated with it then reboot, reinstall the 3.3.6 client

AndyXheli avatar Dec 01 '21 18:12 AndyXheli

It chanaged all file files create date back to year 1970 I don't think this is a very good idea to keep this still activate as it changes users data image

AndyXheli avatar Dec 01 '21 21:12 AndyXheli

Probably a good idea to pull this update until this is resolved if it's causing these issues.

valdearg avatar Dec 01 '21 21:12 valdearg

Yes i think so too.. i'm remove this from all my computers.

AndyXheli avatar Dec 01 '21 21:12 AndyXheli

Same issue here: all dates are set to 1970. OS: Windows 11 Nextcloud client version: 3.4.0

edmael avatar Dec 02 '21 07:12 edmael

The fact that this update got out to the public with such a major bug is completely unacceptable, please remove it immediately before more and more people end up with a mess

robertofabrizi avatar Dec 02 '21 08:12 robertofabrizi

Same issue here on Windows 11 22000.348 All files and folders show all file dates (created, last modified,) as 1.1.1970.

We had to restore the Nextcloud server from backup to get rid of the newly synced files.

Is it possible to block the 3.4.0 client from connecting to the server?

I use the virtual file sync on the clients.

Edit: NC Server is on version 22.2.3

ruffy91 avatar Dec 02 '21 09:12 ruffy91

I think you can setup in the config what client my Version you want to allow check out out the admin doc

AndyXheli avatar Dec 02 '21 10:12 AndyXheli

An extra two cents to the effect this problem had. It invalided the meta-data of about 40gb of pictures which i kept synced on my desktop. image

Maybe if such a big change happens it would be very nice to have an confirmation in the nextcloud client asking you 'if you are sure you want to submit 40gb worth of changes to the server'.

About the same with the confirmation of if you want to sync a file bigger than xxx from the server to your local machine.

Edit: I am very happy i make nightly local backups. However after this i might disable the 'auto-update' feature of the nextcloud client until some steps are taken to prevent this kind of behavior in the future.

mikhail5555 avatar Dec 02 '21 11:12 mikhail5555

I really hope they pull this update. As it may cause a lot of issues for Nextcloud enterprise clients.

AndyXheli avatar Dec 02 '21 11:12 AndyXheli

I would use https://www.revouninstaller.com/revo-uninstaller-free-download/ to uninstall and it also dose a registry remove off the app and any files and folders associated with it then reboot, reinstall the 3.3.6 client

Indeed be sure you remove all 'locally synced' files, files which were only enabled as virtual files are unaffected.

mikhail5555 avatar Dec 02 '21 11:12 mikhail5555

same to me .. did the upgrade from previous version on Windows 10. Then i noticed that after restarting the new agent 3.4 - that the agent 3.4 started to sync a lot of data, which were already synced before. Also, some applications will report errors now (like Cookbook ... reporting, that some recipes have spaces at the end, but i know, i did correct this one month before, so i suppose there can be some data inconsistencies into the data already).

When i have a look (as example) to files & folder in the cookbook "recipes" folder on Windows i do count: 1’476 files , 305 directories

when i do the same by Linux:

find . -type d | wc -l ==> 344 directories find . -type f | wc -l ==> 1663 files

and indeed on Windows 10 a lot of files are missing, which are physically on the Server. (all Agent reports all synced !).

ScreenShot011

Also: i can confirm the date "1. ‎Januar ‎1970, ‏‎01:00:00" - a lot of files lost their change- & creation date.

ScreenShot012 ScreenShot013

I really hope (i've got a lot of users), they didn't do the upgrade to 3.4 already.

I do expect an official communiqué from Nextcloud how severe the situation is and how / if the admin can/could downgrade.

And yes, i do really appreciate all the efforts from Nextcloud, but here i have to say .. did nobody test this before ?

Githopp192 avatar Dec 02 '21 15:12 Githopp192

What an absolute disaster.

BadAtIrcBots avatar Dec 02 '21 15:12 BadAtIrcBots