Closed Bug 596477 Opened 14 years ago Closed 14 years ago

Some users' pics still missing after running ./manage.py fix_user_images on prod

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: clouserw)

References

()

Details

Even after we ran ./manage.py fix_user_images in today's push to fix user-profile pics over in bug 593267, we're still seeing some users (Wil estimates ~15%) missing their pics, such as our own fligtar:

https://addons.mozilla.org/en-US/firefox/user/9945/
Target Milestone: --- → 5.12
Alright, this is committed and it runs great on my dev copy, but doesn't seem to queue tasks on preview.  Can someone try running this on their dev copy?

0) make sure you have at least 1 image under your USERPICS_PATH.  /0/10/10482.png is fine (you can just touch the file, doesn't have to be an image).  

1) `UPDATE users SET picture_type='' WHERE id=10482`

2) Run `./manage.py fix_user_images_again`.  You'll need celeryd running.

3) SELECT picture_type from users where id=10482

4) If all went well, step 3 will show 'image/png'
Fixed.  https://preview.addons.mozilla.org/en-US/firefox/user/9945/

Wasn't working on preview because the last time we imported all the user pics they weren't pngs yet.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified FIXED; thanks.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.