Closed
Bug 733244
Opened 13 years ago
Closed 13 years ago
Add admin_media path to Mozillians production
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tofumatt, Assigned: bburton)
Details
We have the admin area on mozillians enabled, but the media files aren't being served up. They're in vendor/src/django/django/contrib/admin/media, so we need that folder in the django project to be served at /admin-media.
If we could do this on the dev and stage server too that'd be great, but I'm most concerned about dev for now. Thanks!
Comment 1•13 years ago
|
||
Hey folks, some help here would be great. We're hoping to have an admin panel as a part of next week's release.
| Reporter | ||
Comment 2•13 years ago
|
||
Oops, I meant "most concerned about prod for now"!
Also, IT is having a work-week thing and I know there were MySQL fires earlier, so no worries not getting to this yet.
Updated•13 years ago
|
Assignee: server-ops → bburton
| Assignee | ||
Comment 3•13 years ago
|
||
This is now live on dev, see https://mozillians-dev.allizom.org/admin-media/js/urlify.js
Please confirm it looks good and all the asset URLs are good now, then I'll add to stage/prod
Thanks!
Status: NEW → ASSIGNED
| Reporter | ||
Comment 4•13 years ago
|
||
Works like a charm. Let's do it for stage and prod too; thanks!
| Reporter | ||
Comment 5•13 years ago
|
||
Ping-o... any news on putting this on stage/prod?
| Assignee | ||
Comment 6•13 years ago
|
||
These changes are now live.
-stage: https://mozillians.allizom.org/admin-media/js/urlify.js
-prod: https://mozillians.org/admin-media/js/urlify.js
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 7•13 years ago
|
||
That one URL seems to work, but actually going to https://mozillians.org/en-US/admin/ still shows no CSS/JS.
https://mozillians.org/admin-media/css/base.css is still a 404.
Same for stage.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 8•13 years ago
|
||
(For reference, https://mozillians.org/en-US/admin/ and https://mozillians.allizom.org/en-US/admin/ should look like https://mozillians-dev.allizom.org/en-US/admin/)
| Assignee | ||
Comment 9•13 years ago
|
||
I'm getting CSS back from https://mozillians.org/admin-media/css/base.css on both my desktop and mobile device.
It may be caching, I'm going to check the Zeus caching, but can you run the following and attach the output?
curl -v https://mozillians.org/admin-media/css/base.css
Thanks!
Status: REOPENED → ASSIGNED
| Reporter | ||
Comment 10•13 years ago
|
||
Yeah, it redirects to https://mozillians.org/admin-media/css/base.css in my browser, but curl works just fine.
| Assignee | ||
Comment 11•13 years ago
|
||
Ok, I've cleared any caching of mozillians stage and prod, can you try now in your browser?
If it's still doing that, can you try an alternate browser or a private browsing/incognito window?
| Reporter | ||
Comment 12•13 years ago
|
||
Yeah, it works in other browsers. Still not in my Firefox, but I'll blame that on over-zealous caching and try again in a bit. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 13•13 years ago
|
||
No problem.
Updated•12 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
•