Closed Bug 550332 Opened 14 years ago Closed 14 years ago

[AMO-Preview] Add schematic to preview update script

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: fox2mike)

References

Details

Every 5 minutes (I think?) a script runs that svn ups preview, updates z-preview, compiles gettext files, etc.  Please cd into wherever the zamboni directory is and then add this line to it:

  schematic migrations


That will keep the database up to date.  Thanks.
Assignee: server-ops → shyam
Added, but I get this when I run by hand :

Error: Had trouble running this: CREATE TABLE schema_version (version INTEGER NOT NULL);
stdout: 
stderr: Unknown suffix '-' used for variable 'port' (value '-uaddons_reskin')
mysql: Error while setting value '-uaddons_reskin' to 'port'

returncode: 9
Okay, Wil helped out on IRC, should be all good.

[root@mradm02 zamboni]# /data/bin/omg_push_zamboni_preview_live.sh
/data/amo_python/src/preview/zamboni /data/amo_python
/data/amo_python
/data/amo_python/www /data/amo_python

Let me know if you see any issues with this down the road.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.