core icon indicating copy to clipboard operation
core copied to clipboard

Wrong folder sizes at the web-interface (oc4.5.1a)

Open deHoeninger opened this issue 14 years ago • 15 comments

Hi everybody,

for many of my folders a size of "0", for others a size which didn't match the content, will be reported as "Size".

I suppose this isn't the desired behavior.

Best regards

Jan

deHoeninger avatar Oct 25 '12 20:10 deHoeninger

Maybe I misinterpreted the foldersize. It looks like only files directly in a folder will be counted, no subfolders and the subfolders content.

I'm not shure if this is the best behavior. I've a folder with up to 16 GB of photos, all categorized in subfolders. The folder reports a size of "0".

Regards Jan

deHoeninger avatar Oct 25 '12 20:10 deHoeninger

I'm confused, I've now uploaded some new folders with the syncclient and the folder now shows up a ">1000", other folders have sill wrong values.

deHoeninger avatar Oct 25 '12 22:10 deHoeninger

@icewind1991 Any idea? THX

DeepDiver1975 avatar Nov 15 '12 22:11 DeepDiver1975

It looks like that a manual filescan via Javascript-Console scanFiles() counts only the sizes of files directly inside a folder and ignores subfolders. Adding a file via webinterface correctly calculates the foldersize against all files and subfolders it it. Expecting the fact, that it uses the initial subfoldersizes, which get only direct filechilds in account, as described before.

This is still present with version 4.5.2

deHoeninger avatar Nov 15 '12 23:11 deHoeninger

It will be at least fixed with the new cache and scanning mechanisms in 5.0 I'll look into a fix for 4.5

icewind1991 avatar Nov 16 '12 00:11 icewind1991

O.K. Would be great.

karlitschek avatar Nov 16 '12 08:11 karlitschek

Seems like problem persist in 4.5.3 too. Any news?

cippaciong avatar Nov 30 '12 15:11 cippaciong

It will be at least fixed with the new cache and scanning mechanisms in 5.0 I'll look into a fix for 4.5

is there a ticket for that or is it implemented yet?

@icewind1991 here are some examples from 4.5.6:

folder size on pc is 1,25GB, synced with client 1.2.0 (win7), webinterface shows 1,3GB pc 2,96GB -> 3GB 143MB -> 143,7MB 119MB -> 119,2MB 4,72GB -> 4,7GB 2,93GB -> 2,9GB 379MB -> 379,4MB

wordpress-3.5-de_DE.zip: 6,472MB -> 14,0MB

davidak avatar Jan 31 '13 10:01 davidak

Check if there are conflict files in the remote folders as they can easily increase the folder size without any warning.

cippaciong avatar Jan 31 '13 10:01 cippaciong

no. the files are just uploaded with the client, no conflict.

davidak avatar Jan 31 '13 11:01 davidak

@icewind1991 Haven't you fixed that a few month ago? Any ide why this still happens?

karlitschek avatar Feb 09 '13 09:02 karlitschek

I've got a folder that I deleted everything from, emptied trash, and the folder size still shows as 64MB. (5.0.3 on IIS, W7, PHP 5.3).

tommyms avatar Apr 07 '13 18:04 tommyms

Working fine in stable5. Does this still happen in stable45?

Niduroki avatar Jul 10 '13 05:07 Niduroki

I consider this as a won't fix for 4.5 @karlitschek agree?

DeepDiver1975 avatar Jul 23 '13 06:07 DeepDiver1975

@DeepDiver1975 I agree

karlitschek avatar Jul 23 '13 09:07 karlitschek