learningequality / studio

Content curation tools for Kolibri
https://studio.learningequality.org/
MIT License
115 stars 163 forks source link

Studio storage showing conflicting information #3290

Open vahidmas opened 3 years ago

vahidmas commented 3 years ago

A channel on Studio is displaying [Channel size Very small (5MB)] when looking from the Channel summary (while browsing from inside the channel). However, the storage size displayed on the administrator panel indicates 97MB, which is also what the Kolibri install (token: vanuv-nivif) shows.

@jamalex suggests the following: "It looks as if that endpoint is cached. It should get updated at some point."

Observed behavior

Expected behavior

User-facing consequences

Errors and logs

01:10 info: something happened
01:12 error: something bad happened

Additional information

Steps to reproduce the issue

  1. Step one
  2. Step two
  3. ...

Usage Details

jamalex commented 3 years ago

My guess was that it's not clearing that cached value upon publishing, and as that channel is mostly exercises, and actual exercise files (Perseus zips) aren't generated until time of publication, they may not be counted in the cached total.

vahidmas commented 3 years ago

Here is a second example of the same issue: image

image Screenshot 2021-10-18 091534

The channel ID is 44869dc526584ae8a373b071fec66a9b