Closed Bug 526379 Opened 15 years ago Closed 15 years ago

[AMO] Need configuration change on preview.amo

Categories

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

All
Other
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: oremj)

Details

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: server-ops → jeremy.orem+bugs
[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
Closed: 15 years ago
Resolution: --- → FIXED
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 → ---
This is blocking QA
Severity: normal → major
 define('REDIRECT_URL', 'http://outgoing.stage.mozilla.com/v1/');
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
(In reply to comment #4)
>  define('REDIRECT_URL', 'http://outgoing.stage.mozilla.com/v1/');

Did you rerun the script?
Nope, missed that. Running now.
It has been run.
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.