wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.63k stars 1.1k forks source link

Media: cannot upload new images on a site using 75% of the allotted upload limit #12165

Open designsimply opened 4 years ago

designsimply commented 4 years ago

Steps to reproduce:

  1. Create a WordPress.com site and add a Personal Plan.
  2. Upload ~4.5 GB of images.
  3. On the web, check that the Media > Add New page says something like: "You are currently using 4.5 GB out of 6.0 GB upload limit (75%)."
  4. On the app, create a new post and try to upload an image.
  5. If the upload fails, check the app logs to see if you can find a message similar to: "Not enough disk space available to upload".

Result: a user reported being unable to upload new images on a site and there is a line in the app logs that starts with "Error uploading media" and says there is not enough disk space available even though they have only used 75% of the allotted storage space for their plan.

Problem description from the user:

I’m trying to upload pictures on my blog and for some reasons it doesn't work. No explanation is given and I was wondering whether you could help me with that.

App log says:

Pas assez d’espace disque disponible pour téléverser
Utilisation de 100 % sur 6 Go sur votre site

Translated with Google:

Not enough disk space available to upload
Use of 100% on 6 GB on your site

But /wp-admin/media-new.php says:

You are currently using 4.5 GB out of 6.0 GB upload limit (75%).

(internal references: 2165148-zen, p7cLQ7-Dx-p2#comment-1258)

jtreanor commented 4 years ago

I have spent quite a bit of time trying to reproduce this but with no luck so far.

I did get some image upload failures from my simulator, but they were resolved once I reset it and I don't think that was related.