Closed Bug 609350 Opened 15 years ago Closed 15 years ago

Import SQL script with wiki data to master.support

Categories

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

All
Other
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: paulc, Assigned: oremj)

Details

New SQL data ready to import on stage master! It's in my khan home folder: /home/pcraciunoiu/wiki_media_11_01.sql I didn't include the media gallery data but it shouldn't be necessary. Just do exactly what you did for bug 604705 please. Thanks!
Can we resync with a db from prod before importing that?
Jeremy ran this today around 4pm.
Assignee: server-ops → jeremy.orem+bugs
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Looks like this was done without dropping/creating the database first. Our migrations create a number of tables that won't be in a production database, so that's an important step. To unhork everything, we basically need to do: * Drop the current database and recreate it. * Import a dump from production. * Run `schematic migrations/` * Import Paul's SQL dump (khan:/home/pcraciunoiu/wiki_media_11_01.sql)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is preventing QA & Co from testing. Sorry the original instructions weren't clear. Hopefully comment 3 is better.
Assignee: jeremy.orem+bugs → server-ops
Severity: major → critical
Summary: Import SQL script with wiki data to stage master → Import SQL script with wiki data to master.support
Assignee: server-ops → jeremy.orem+bugs
Yesterday I: * Dropped the DB * Created the DB * Imported dump from prod * ran Paul's SQL Is there anyway to fix this without going through the entire process again?
If you didn't run schematic migrations between the import and Paul's SQL, then the only other option is to manually try to get all the migrations to apply.
Done.
Status: REOPENED → RESOLVED
Closed: 15 years ago15 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.