You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Some clients can't sync after migrate from OC to NC #8084
After update to NC 12.0.4 from OC 10.0.4 an than update to NC 12.0.5 some clients can't sync the files any more. The will only get errors about missing checksums.
The solution for it was:
Clean up the database via: UPDATE oc_filecache SET checksum = '' WHERE COALESCE (checksum, '') <> '';
Then rescan the file system via: sudo -u apache scl enable php71 "php occ files:scan --all"
The original was found here.
Environment:
OS: CentOS 7.4
PHP: 7.1 via fpm
Having the same problem.
What is the result of clearing the checksums in the database?
Resync of all files on all clients? We have TB of data on 100 distributed clients; don't want to disrupt the system too much.
In my specific case (migration from ownCloud to Nextcloud), I got the problem after I installed the Nextcloud client on a machine and after clearing the entries in the database (some 800 of them), it said it was going to redownload some 3000 files. Fortunately, it seems to have downloaded much less in the end.
On the other hand, on a couple of other computers where I left the ownCloud client running, it saw no difference and continued on as if nothing had changed. So, I'm going to just leave the ownCloud client running for everyone else until it either stops working or I know I can install the Nextcloud one without triggering huge downloads (or worse, sync failures) for them.
I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.
Activity
MorrisJobke commentedon Feb 12, 2018
cc @nickvergessen @rullzer
rullzer commentedon Feb 12, 2018
Ah pfff right.
@nickvergessen probably easiest is to on migration just drop them. Since we handle them not the same as oC for now I think.
nickvergessen commentedon Feb 15, 2018
Yeah fine by me
hanscomps commentedon Apr 25, 2018
Having the same problem.
What is the result of clearing the checksums in the database?
Resync of all files on all clients? We have TB of data on 100 distributed clients; don't want to disrupt the system too much.
dominalien commentedon May 2, 2018
In my specific case (migration from ownCloud to Nextcloud), I got the problem after I installed the Nextcloud client on a machine and after clearing the entries in the database (some 800 of them), it said it was going to redownload some 3000 files. Fortunately, it seems to have downloaded much less in the end.
On the other hand, on a couple of other computers where I left the ownCloud client running, it saw no difference and continued on as if nothing had changed. So, I'm going to just leave the ownCloud client running for everyone else until it either stops working or I know I can install the Nextcloud one without triggering huge downloads (or worse, sync failures) for them.
xkill commentedon Jul 5, 2018
The problem is after updating the checksum, all the checksums of old files are NULL.
How can I regenerate them?
szaimen commentedon May 21, 2021
I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.