The issue started with Grif who couldn’t upload a profile picture on their Discourse community (http://community.p2pu.org/). The upload bar would reach 100% but then disappear, and the system-assigned profile picture would remain.
riking confirmed the issue and suspected it might be related to the Docker install and S3 file storage. Grif confirmed the use of Docker and S3, and dirkcuys verified the S3 storage.
sam suggested moving off S3 as it will be removed soon. dirkcuys asked for help in turning off S3 uploads and migrating existing files.
The issue also affects other communities, including discourse.mcneel.com. BrianGillespie reported similar issues, and sam offered to help resolve the problem.
The problem was isolated to http://chinese.discourse.mcneel.com/ by BrianGillespie and KelvinC. zogstrip eventually fixed the issue by migrating http://chinese.discourse.mcneel.com/ off S3.
When I select a square .jpg from my local drive, I see the upload bar go to 100%, but then it disappears and my icon remains the system-assigned profile picture.
I just updated my profile picture here on meta to the same .jpg and, as you can see, had no trouble doing so.
EDIT: it also doesn’t work for me if I try and upload a custom profile picture. Any pointers regarding where I should go look for the error? What log files will contain the error is something with the S3 upload goes wrong?
I didn’t realize, thought it was the preferred method! I assume I can turn of S3 uploads and newly uploaded files should work and old files will be served from S3? Any way I can pull down previously uploaded files to S3?
EDIT: ok - seems like it’s not that simple. I see images are being served at a local url which is then redirected to S3. In this thread I see mention of using uploads:migrate_from_s3, but it’s not working for me either. Is there an automated method to pull down the images from S3?
Sam, It appears that discourse.mcneel.com is not using S3-backed storage, but we have users complaining about not being able to upload profile images. What do you recommend?
Thanks. Will do. Just got notification from one of our Chinese support folks… the problem may be on http://chinese.discourse.mcneel.com/ - I’m not admin there, so I can’t dig very deep into the problem (plus, I can’t read Chinese, either).