Update PHP on addons.mozilla.org

VERIFIED FIXED

Status

Infrastructure & Operations
WebOps: Other
VERIFIED FIXED
8 years ago
4 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
Apparently addons.mozilla.org is behind all our other sites and is still running PHP 5.1.

Khan is running 5.2.9.  I don't know what preview.amo is running.

We should upgrade preview.amo, get QA to sign off, and then upgrade production.

If the timeline works out we can upgrade with the 5.0.8 push next week, but I'm filing this separately so they can progress independently of each other.

Stephend: what is the timeline looking like for you?
IT: What is preview.amo running and what does your timeline look like?
Assignee: server-ops → oremj
(Reporter)

Comment 1

8 years ago
Bump for the questions at the bottom of comment 0.  We're going to be writing code that will only run on PHP 5.2 for the 5.0.9 milestone (launch around 3 weeks away) so this needs to happen between now and then.  Perhaps next week?

Comment 2

8 years ago
I think that'll work - we have some server side changes we want to do to and doing them all at the same time might make sense.

Updated

8 years ago
Depends on: 504930
(Assignee)

Comment 3

8 years ago
Right now preview and production are on the same set of boxes, so upgrading one will upgrade the other. remora.stage, however, is running php 5.2.
(Reporter)

Updated

8 years ago
Blocks: 504930
No longer depends on: 504930
(Assignee)

Comment 4

8 years ago
How would you like to do this?
(Reporter)

Comment 5

8 years ago
(In reply to comment #3)
> Right now preview and production are on the same set of boxes, so upgrading one
> will upgrade the other. remora.stage, however, is running php 5.2.

I don't think any remora.stage boxes are still alive.

So, at this point our dev boxes (khan) have been running 5.2 but nothing in production has.  You're saying we can't upgrade preview without upgrading production, right?

If that's the case we should setup a new install somewhere on php 5.2 so QA can sign off on it. :-/
(Assignee)

Comment 6

8 years ago
Running on php 5.2:
https://addons-php5.stage.mozilla.com/en-US/firefox/
(Reporter)

Comment 7

8 years ago
Thanks oremj.  QA - can you have a look at that?  We've been developing on 5.2 for a long time on khan so I'm pretty confident in it but would like your sign off before updating production.
Does this instance have the Remora tests running?  I'll take a look at this today.
(Reporter)

Comment 9

8 years ago
(In reply to comment #6)
> Running on php 5.2:
> https://addons-php5.stage.mozilla.com/en-US/firefox/

This is setup differently than production.  Logging in takes me to:
/en-US/firefox/en#45;US/firefox/

Also, https://addons-php5.stage.mozilla.com/en-US/tests is blank.  I think setting DEV to true and commenting out SITE_STATE will help here and let anyone get to the tests.
(Assignee)

Comment 10

8 years ago
I just copied the config over from preview and changed the directory/url definitions. I commented out SITE_STATE and added DEV to config-local.
https://addons-php5.stage.mozilla.com/en-US/firefox/tests is still blank for me; the login redirect now works properly, though; thanks!
(Reporter)

Comment 12

8 years ago
(In reply to comment #11)
> https://addons-php5.stage.mozilla.com/en-US/firefox/tests is still blank for
> me; the login redirect now works properly, though; thanks!

Maybe bug 486421
(Reporter)

Comment 13

8 years ago
QA: We're planning on launching this next Thursday but are holding off landing a bug due to the PHP requirement.  It would also be good to do this before you start your QA run against 5.0.9 (which is code freezing today).
(In reply to comment #13)
> QA: We're planning on launching this next Thursday but are holding off landing
> a bug due to the PHP requirement.  It would also be good to do this before you
> start your QA run against 5.0.9 (which is code freezing today).

a=stephend on behalf of the rest of mozwebqa (I've done the brunt of the testing, which included password reset, account creation, and running all Selenium tests http://viewvc.svn.mozilla.org/vc/addons/trunk/site/app/tests/, which passed).
(Reporter)

Comment 15

8 years ago
thanks Stephen.  IT: can we get this on preview ASAP for 5.0.9 testing? thanks
(Assignee)

Comment 16

8 years ago
I've limited preview to one machine and upgraded to php5.2.9.
(Assignee)

Comment 17

8 years ago
Want to upgrade production tonight?
(Reporter)

Comment 18

8 years ago
Works for me
(Assignee)

Comment 19

8 years ago
X-Powered-By: PHP/5.2.9
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Yes, verified FIXED by looking at the headers.
Status: RESOLVED → VERIFIED
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.