[AMO] Need configuration change on preview.amo

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
--
major
RESOLVED FIXED
8 years ago
4 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

Details

(Reporter)

Description

8 years ago
On preview.amo:

1) /site/app/config/config.php defines a REDIRECT_URL which is currently https.  It needs to be http.

2) Once that change is complete, please run:

cd bin
php -f run_once/seed_purified_translations.php

That will take about 10 minutes, and will have a half dozen php notices.  They aren't a big deal.

Thanks.
(Assignee)

Updated

8 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 1

8 years ago
[root@mradm02 bin]# php -f run_once/seed_purified_translations.php 
Now running:
	SELECT autoid,localized_string FROM translations where id IN (SELECT description FROM addons)
Now running:
	SELECT autoid,localized_string FROM translations where id IN (SELECT developercomments FROM addons)
Now running:
	SELECT autoid,localized_string FROM translations where id IN (SELECT releasenotes FROM versions)
Now running:
	SELECT autoid,localized_string FROM translations where id IN (SELECT bio FROM users)
Now running:
	SELECT autoid,localized_string FROM translations where id IN (SELECT summary FROM addons)
Now running:
	SELECT autoid,localized_string FROM translations where id IN (SELECT description FROM collections)
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

8 years ago
Ah, well.  That worked, but now that it's not https, I see it's also not the right URL.  It needs to be .com, not .org.  Could you change that and rerun the script in step 2?  Thanks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Reporter)

Comment 3

8 years ago
This is blocking QA
Severity: normal → major
(Assignee)

Comment 4

8 years ago
 define('REDIRECT_URL', 'http://outgoing.stage.mozilla.com/v1/');
Status: REOPENED → RESOLVED
Last Resolved: 8 years ago8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

8 years ago
(In reply to comment #4)
>  define('REDIRECT_URL', 'http://outgoing.stage.mozilla.com/v1/');

Did you rerun the script?
(Assignee)

Comment 6

8 years ago
Nope, missed that. Running now.
(Assignee)

Comment 7

8 years ago
It has been run.
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.