My users report problems with image uploads. I can’t duplicate the problem with Firefox on Windows or Android so it seems like it’s specific to certain devices / operating systems / browsers.
AI-generated summary
Users are experiencing image upload issues on certain devices and browsers, particularly with recent versions of iOS and macOS. rlauriston reports a specific error on an iPad after updating to iOS 17.5.1, while others note timeouts and a generic error message: “Sorry, there was an error uploading [file name here].” The issue appears to affect multiple production instances but not local dev environments. Arkshine confirms the problem occurs on iPad with Safari and Chrome, and while enabling composer_ios_media_optimisation_image_enabled helps, it doesn’t fully resolve the issue. Genisis(/t/-/311196/7) notes that uploads via chat work more reliably, suggesting a potential difference in upload mechanisms.
Can you ask people on FTC if they can reproduce the issue on this bug topic? (if so what is the exact browser model they are using)
Anyway you guys can change the topic upload to the one that’s used in chat? I tested it and it uploads way faster in chat (live chat) than to the topic thing (idk what it’s called sorry lol)
Seems to be specific to more recent versions of iOS (and maybe macOS?). My iPad was working fine with 15.4 but after I updated to 17.5.1 a three-file upload failed after the second with the following error:
/var/www/discourse/lib/discourse.rb:138:in `exec':
Doesn’t seem to be browser-specific.
Other users are reporting timeouts, none mentioned error messages so far.
Does this happen here as well?
I can’t reproduce it here on an iPad 17.5.1 and Safari/Chrome, no matter how many times I try. However, I do have trouble uploading images on Robert’s forum and two other production instances I own (latest version, safe-mode enabled).
Unfortunately, I don’t have a Mac to see the browser console on iPad.
It’s unclear where the issue is.
- It fails always with this message:
Sorry, there was an error uploading [file name here]. Please try again - It can fail with a single image upload (not specific to bulk upload)
- The same image upload can work sometimes, but it fails most of the time.
- Same issue with Chrome (it doesn’t seem specific to the browser)
- I can’t reproduce it on a local dev instance
- Enabling
composer_ios_media_optimisation_image_enabledmakes the issue less frequent, but it still happens in bulk.
![]()
I noticed uploading via chat function works much better.