Closed Bug 1131232 Opened 9 years ago Closed 9 years ago

One and Done production site is DOWN due to inability to deploy on the PAAS

Categories

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

x86
macOS
task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bsilverberg, Unassigned)

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/537] )

I tried to deploy One and Done (oneanddone.mozilla.org) to the production paas this afternoon, and when running the syncdb command I see a mysql error. Complete output from deploy can be seen at https://gist.github.com/bobsilverberg/038a14a645c1969c7c93

This error happens each time I try to deploy the site.

The site is now down and displaying a 404 page.

Please help!
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/537]
I ended up deleting the existing app on Stackato and creating a new one by doing a fresh push and that seems to have fixed the problem.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Hi @bsilverberg,

Sorry for not getting back to you on this in time... I was in the middle of a major change to www.mozilla.org and didn't want to leave it partway finished.

Glad you got it solved though, that's probably a pretty reasonable way to sort out problems like that on the PaaS.

For future reference, you might want to double-check that your app is using environment variables to determine all it's database connection settings... without digging into it, that *seems* like the sort of thing that might happen if (for example) an app checked the env vars on initial deploy and then hard-coded the values into a config file, rather than have the config file refer directly to the environment variables all the time.

Cheers,

Jake
This was discussed in #data and issue has been resolved by doing a fresh redeploy.
Flags: needinfo?(schan)
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.