Closed
Bug 561246
Opened 15 years ago
Closed 15 years ago
[AMO] Local patch for AMO
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clouserw, Assigned: oremj)
Details
Paypal decided to start sending different data without telling anyone so we're having some errors in production... We have a local patch to fix it:
http://paste.pocoo.org/raw/205129/
and please run this SQL:
http://pastebin.mozilla.org/717631
Thanks
Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → jeremy.orem+bugs
Assignee | ||
Comment 1•15 years ago
|
||
The database modification applies to samo and amo. I've only patched AMO. Let me know if you need SAMO patched as well.
[root@mradm02 zamboni]# curl 'http://paste.pocoo.org/raw/205129/' | patch -p1
patching file apps/amo/views.py
patching file apps/stats/models.py
Hunk #1 succeeded at 8 with fuzz 2.
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 186 with fuzz 1 (offset -11 lines).
--------------
ALTER TABLE files ADD COLUMN `jetpack` tinyint(1) unsigned NOT NULL default '0' AFTER status
--------------
Query OK, 63011 rows affected (3.56 sec)
Records: 63011 Duplicates: 0 Warnings: 0
--------------
CREATE TABLE `blog_cache_ryf` (
`id` int(11) unsigned NOT NULL auto_increment,
`title` VARCHAR(255) NOT NULL default '',
`excerpt` text,
`permalink` varchar(255) not null default '',
`image` varchar(255) not null default '',
`date_posted` datetime,
PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8
--------------
Query OK, 0 rows affected (0.01 sec)
--------------
CREATE TABLE `subscription_events` (
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
`post_data` text NOT NULL
) DEFAULT CHARSET=utf8
--------------
Query OK, 0 rows affected (0.00 sec)
--------------
UPDATE schema_version SET version = 25
--------------
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Bye
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 2•15 years ago
|
||
This is a patch for services/paypal. Is that served by SAMO?
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•