Closed Bug 604503 Opened 14 years ago Closed 14 years ago

Run image migration on stage master

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: paulc, Assigned: oremj)

References

()

Details

Similar to migrating videos [bug 604165], we need to migrate images:

1. Copy images from production, should be in webroot/img/wiki_up under SVN

2. The images will be migrated to
    settings.GALLERY_IMAGE_PATH
so please make sure that folder exists. It MUST be a publicly
accessible folder, somewhere in media.

3. Run the migration command:
    ./manage.py migrate_images all --old /path/to/folder/from/step/1


Additional notes:
* It would be closer to the prod setup if the new folder is an NFS mount at the end of the process. I'm assuming the old one, wiki_up, already is.
* The migration code landed in bug 603847.
Summary: Run image migration on stage → Run image migration on stage master
Found a small issue in bug 603847, so please hold off on this until that fix lands (should be tomorrow).
Assignee: server-ops → jeremy.orem+bugs
This is ready to run now.
Not an image or failed to generate thumbnail for index.php
Image 7893fb630931350556d448b743602147-1286170351-171-1.jpg shrunk from 1062KB to 421KB.
Migrated 5150 images.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.