-
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
Wrong folder size in folder overview #16742
Comments
@icewind1991 Can you have a look? |
I tried the fix for shared folders in #14861 but it didn't work (there are no shared folders) |
@tflidd can you check the "size" values in oc_filecache of the folders ? Maybe there were multiple scanners trying to compute the folder sizes at the same time concurrently and gave wrong results. |
The parent folder (shown in images above) has a size of: 12037693124 in the filecache-table. There is still the field with unencrypted size (encryption was turned off some months ago): 449034503 (this seems to be the size shown on the interface). |
Hmm, if I remember correctly, whenever you disable encryption, it will not automatically recompute the sizes, so you might still have old sizes there. Did you try running |
I did run the ./occ files:scan several times but it didn't change anything.
|
Ah yes, that would work too. |
I leave it open for you, if you want to fix the encryption enabling/disabling-routine. From my point of view, the problem is solved. |
Thanks. I think I discussed this with @schiesbn before and decide to leave it. @schiesbn your call |
Closing as obsolete. Since encryption 2.0 (OC >= 8.1) the size column will always contain the unencrypted size, so doesn't need to be updated after encrypting/decrypting. |
Steps to reproduce
Expected behaviour
OC interface shows correct folder size
Actual behaviour
In the folder view, the folder size is obviously wrong;
But when I'm opening the folder, the size is different:
du in the file system gives a size of 12 GB!
sudo ... occ files:scan username doesn't help.
There is also a recent report on the forum: https://forum.owncloud.org/viewtopic.php?f=31&t=28525&p=88359
Somehow related to #14298 but encryption has been disabled since then (the total storage on the user's personal page is 13.5 GB and in the filesystem it is 14 GB).
Server configuration
Operating system: Ubuntu 14.04
Web server: Apache
Database: MySQL
PHP version:
ownCloud version: 7.0.5
Updated from an older ownCloud or fresh install: updated many times
List of activated apps: - activity
Are you using external storage, if yes which one: not this user
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Logfiles: There is nothing specific in the logfiles, I can't say when it exactly appeared. Perhaps some interrupted sync or lost wifi connection??
The text was updated successfully, but these errors were encountered: