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)
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!
| Reporter | ||
Comment 1•15 years ago
|
||
Can we resync with a db from prod before importing that?
| Reporter | ||
Comment 2•15 years ago
|
||
Jeremy ran this today around 4pm.
Assignee: server-ops → jeremy.orem+bugs
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 3•15 years ago
|
||
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 → ---
Comment 4•15 years ago
|
||
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
Updated•15 years ago
|
Assignee: server-ops → jeremy.orem+bugs
| Assignee | ||
Comment 5•15 years ago
|
||
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?
Comment 6•15 years ago
|
||
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.
| Assignee | ||
Comment 7•15 years ago
|
||
Done.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•