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
Quota not updated after moving files to shared folder in webinterface. #21236
So, I did a bisect and only observed the Webdav property "quota-available-bytes".
Before this commit d7b3a1a, moving a file into a received share would properly update the "quota-available-bytes" value. After this commit, the value stays unchanged.
However I also observed that the other property "quota-used-bytes" was not always updated, so this will need another bisect...
Okay, regarding "quota-used-bytes" it's another topic. It might be a valid value and includes the size of files used in received shared folders. So it might be correct.
Activity
MorrisJobke commentedon Dec 16, 2015
cc @icewind1991
PVince81 commentedon Dec 17, 2015
@Bubu we need your ownCloud version
@icewind1991 size propagation issue maybe ?
Bubu commentedon Dec 17, 2015
Sorry, the OC Version must have been lost to copy&paste. updated the post:
v8.2.1 (stable)Bubu commentedon Dec 17, 2015
I did a few more tests. Suppose we have the following Structure of files:
File1 gets moved to Shared_Folder.
PVince81 commentedon Jun 14, 2016
Still happening on v8.2.5.
It looks like cross-storage move isn't triggering a size update in the database.
@icewind1991 potential regression.
This works properly in 9.0.2, possibly because etag + size propagation has been rewritten in a different way.
PVince81 commentedon Jun 14, 2016
Also broken in
8.0.8v8.1.8PVince81 commentedon Jun 14, 2016
Works fine in v8.0.13.
Initiating bisect sequence
PVince81 commentedon Jun 14, 2016
So, I did a bisect and only observed the Webdav property "quota-available-bytes".
Before this commit d7b3a1a, moving a file into a received share would properly update the "quota-available-bytes" value. After this commit, the value stays unchanged.
However I also observed that the other property "quota-used-bytes" was not always updated, so this will need another bisect...
PVince81 commentedon Jun 14, 2016
Okay, regarding "quota-used-bytes" it's another topic. It might be a valid value and includes the size of files used in received shared folders. So it might be correct.
I'll check the oc_filecache entries instead.
PVince81 commentedon Jun 14, 2016
Bisect result: after the same commit d7b3a1a doesn't properly update the size of the "files" entry in the database after doing a cross-storage move.
PVince81 commentedon Jun 14, 2016
@felixboehm FYI
For OC < 9.0 any unexplained insufficient space issue could be related to this one.
icewind1991 commentedon Jun 14, 2016
Fix is here #25101
lock commentedon Aug 4, 2019
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.