Wrong Foldersize
As reported in the forum ( http://forum.owncloud.org/viewtopic.php?f=4&t=5053 ):
I have copied a folder on the server in the data directory. This folder has ~17GB and only this one file with more than 2GB (negative size) and no other file has negative size in the mysql. But owncloud show me that this folder has ~12GB.
See also this other issue about negative file sizes: https://github.com/owncloud/core/issues/388
If possible, questions should be asked in the forum.
There are some issues regarding files/folder size due to the current file cache implementation. This is expected to be changed for OC5.
I'm also experiencing problems with erroneous folder sizes: http://forum.owncloud.org/viewtopic.php?f=4&t=6152
This seems to be a critical bug. @icewind1991 Can you have a look?
maybe related to #388
In my case, it doesn't seem related with > 2 GB files limitation. The largest file size within my folder is just 4.4M
sudo du -a /home/dataserver/data/user | sort -n -r | head -n 50
My problem seems fixed with the latest update (4.5.3).
Great. Thanks a lot.
Any idea what fixed this issue?
I'm not sure if the >2GB problem was already fixed or not, as my problem was happening even with small files, but it's in the changelog:
"- Fix wrong folder size calculation"
http://owncloud.org/releases/Changelog
so something must have been done in order to fix this :)
Thanks!
I'm also not sure if this is fixed once and for all: First, there is still the possibility for negative file sizes (https://github.com/owncloud/core/issues/388). Second, the notice described in https://github.com/owncloud/core/issues/726 is happening inside the "increaseSize" function which is doing the update to the folder sizes, which I think indicates that some folder sizes aren't properly updated (no idea yet as to why).