Practice migration import on support-stage.mozilla.com

RESOLVED FIXED

Status

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

People

(Reporter: paulc, Assigned: fox2mike)

Tracking

Details

(Reporter)

Description

7 years ago
Our migration is ready to go to support-stage.m.c. Steps:

1. Import a fresh copy of the production database to support-stage

2. Run |schematic migrations|

3. Import SQL script from khan @
/home/pcraciunoiu/migration.sql

4. Extract the following zip file (also on khan) and place its contents in media/uploads/ under kitsune
/home/pcraciunoiu/gallery.zip

After extraction, the structure should be something like:
media/uploads/gallery/videos/thumbnails
media/uploads/gallery/images/thumbnails
As per our discussions and current configuration, please make sure the videos folder is also accessible from the CDN.

5. Yay, done! Thanks!


Hope I didn't miss anything.
(Reporter)

Comment 1

7 years ago
(In reply to comment #0)
> 
> 4. Extract the following zip file (also on khan) and place its contents in
> media/uploads/ under kitsune
> /home/pcraciunoiu/gallery.zip
Ah, as James points out, before doing this, it's better to erase the gallery directory (media/uploads/gallery), to avoid collisions. Then continue with the extraction and video CDN set-up.
(Assignee)

Updated

7 years ago
Assignee: server-ops → shyam
(Reporter)

Comment 2

7 years ago
Forgot one step here:
0. Drop the staging database. We're already past that now though :)
(Assignee)

Comment 3

7 years ago
All done!
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.