-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
occ command to adjust filecache checksum #30951
Comments
Note: when user-key encryption is enabled the command can only work if a recovery key is specified. Else there is no way for the occ command to decrypt the files to compute the checksums to verify them. (see how decrypt-all). For the first version I suggest ignoring user-key encryption and add a warning. |
|
Could not test with objectstore because of: https://github.com/owncloud/objectstore/issues/88 |
where is the PR ? please link |
found it, PR here: #31008 |
Forward Port: #31082 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In some special cases (not reproducible) it can happen that the checksum in oc_filecache doesn't match the data on disk. This causes the desktop client to refuse working with said file.
If an admin can confirm that the data on disk is correct, they need a way to reset the checksums.
For this we should provide an occ command that scans through all files and detects wrong checksums. This could likely take a very long time as it needs to open all files to recompute the checksums ! I suggest to add a
--path
parameter so an admin can provide a more focussed scan (see--path
argument like for occ files:scan) when they know in what folder most broken checksums are located.Another alternative would be to only delete the wrong checksums and let the server recompute during the next download.
@IljaN @jnweiger @felixboehm
The text was updated successfully, but these errors were encountered: