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)

x86
macOS
task
Not set
normal

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!
Hey folks, some help here would be great. We're hoping to have an admin panel as a part of next week's release.
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.
Assignee: server-ops → bburton
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
Works like a charm. Let's do it for stage and prod too; thanks!
Ping-o... any news on putting this on stage/prod?
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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 → ---
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
Yeah, it redirects to https://mozillians.org/admin-media/css/base.css in my browser, but curl works just fine.
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?
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 ago13 years ago
Resolution: --- → FIXED
No problem.
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.