Run image migration on stage master

RESOLVED FIXED

Status

--
major
RESOLVED FIXED
8 years ago
4 years ago

People

(Reporter: paulc, Assigned: oremj)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
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.
(Reporter)

Updated

8 years ago
Summary: Run image migration on stage → Run image migration on stage master
(Reporter)

Comment 1

8 years ago
Found a small issue in bug 603847, so please hold off on this until that fix lands (should be tomorrow).
(Assignee)

Updated

8 years ago
Assignee: server-ops → jeremy.orem+bugs
(Reporter)

Comment 2

8 years ago
This is ready to run now.
(Assignee)

Comment 3

8 years ago
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
Last Resolved: 8 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.