If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Run image migration on stage master

RESOLVED FIXED

Status

mozilla.org Graveyard
Server Operations
--
major
RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: paulc, Assigned: oremj)

Tracking

Details

(URL)

(Reporter)

Description

7 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

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

Comment 1

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

Updated

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

Comment 2

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

Comment 3

7 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: 7 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.