Closed Bug 738125 Opened 12 years ago Closed 12 years ago

Some thumbnails are not being created

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: timw, Assigned: timw)

Details

(Whiteboard: [rel:03/21/2012])

Attachments

(1 file)

Some thumbnails are missing. But some are there. Most puzzling.
I don't know why the email said it'd be unsatisfactory... unless you meant it was a "simple" fix? (I hate calling fixes that take awhile to figure out "simple" -- more just that it was a few line change.)

Anyway, based on the email to friendlydinos@ and the pull this'll work. Sweet.
Assignee: nobody → timw
Severity: normal → blocker
Whiteboard: [rel:03/21/2012]
OS: Mac OS X → All
Hardware: x86 → All
Commit pushed to master at https://github.com/mozilla/mozillians

https://github.com/mozilla/mozillians/commit/c17c41ec1a81bd20dc9b0aedcafa524b64ce0506
fix [bug 738125] be more spcific on the default image and only use images in ./media/upload/
https://github.com/mozilla/mozillians/compare/e75e5fd...2f1f6d3  <-- prod
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
To deploy:
0) run these as apache
1) $ ./manage.py migrate users 0009
2) cp ./media/img/unknown.png ./media/uploads/unknown.png
3) rm ./media/uploads/userprofiles/*     # Leave the userprofiles folder
4) rm -rf ./media/uploads/sorl-cache/*     # Leave the sorl-cache folder
5) ./manage.py thumbnail cleanup
6) ./manage.py thumbnail clear
8) ./manage.py migrate users 
7) sacrifice a thumbdrive to the goddess of entropy on an alter of sticks of ram 

Note: I typed this from memory because I cannot run them, but don't just copy paste these.
request to push prod branch to mozillians.allizom https://bugzilla.mozilla.org/show_bug.cgi?id=738359
actually that was the wrong bug form
correct one: https://bugzilla.mozilla.org/show_bug.cgi?id=738370
Reopened:
It appears the problem still exists even after the latest changes to the prod branch have been pushed to mozillians.allizom.org (bug 738370). The search results images  are still missing.

- https://mozillians.allizom.org/en-US/search?q=mozilla&limit=20

[13:08:52.405] GET https://mozillians.allizom.org/media/uploads/sorl-cache/88/9e/889e184d1ab333a3c2e908e5adcaab29.jpg [HTTP/1.1 404 Not Found 329ms]
[13:08:52.415] GET https://mozillians.allizom.org/media/uploads/sorl-cache/a1/ef/a1ef02b133a851e7c64223c70fae3ea4.jpg [HTTP/1.1 404 Not Found 1181ms]
[13:08:52.423] GET https://mozillians.allizom.org/media/uploads/sorl-cache/e9/e8/e9e89928b002ef9edc475b03b7598eee.jpg [HTTP/1.1 404 Not Found 1181ms]
[13:08:52.434] GET https://mozillians.allizom.org/media/uploads/sorl-cache/1a/1d/1a1df14afc251531328303ee80f312d4.jpg [HTTP/1.1 404 Not Found 1180ms]
[13:08:52.443] GET https://mozillians.allizom.org/media/uploads/sorl-cache/6a/56/6a560b0ea08f438bca0a64500e1c2c03.jpg [HTTP/1.1 404 Not Found 1180ms]

In addition to the missing images in the search results, I am no longer seeing profile images that previously existed: see bug 738431 for more details
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Removed the sorl-thumbnail tag, will sort this out with IT in the future.
Has been pushed to prod and master on github, will bug IT to deploy when QA confirms the fix.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
This is working for me now; how about you, Matt?
Attached image qa - verified
Tis true (comment 10), QA verified on stage - no more 404s when visiting https://mozillians.allizom.org/en-US/search?q=mozilla
Status: RESOLVED → VERIFIED
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Version: unspecified → other
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: