Closed Bug 941808 Opened 11 years ago Closed 11 years ago

[mozillians-prod] humans.txt 404

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dpoirier, Assigned: cturra)

References

Details

Getting 404 on new URL https://mozillians.org/static/humans.txt

humans.txt file should have been created in the static dir during deploy, but some step along the way must be failing.

Can you try

   python manage.py cron generate_humanstxt

and see if a humans.txt file gets created in whatever directory the static files are served from?  If it's not there, and there wasn't any error, maybe it went somewhere else, possibly in a file named 'static' near to the code.
Blocks: 937066
i have manually pushed this. it does look like this should be part of the update process:

  https://github.com/mozilla/mozillians/blob/master/scripts/update/update.py#L70


my guess is the recent work we were doing in bug 941747 resulted in this.


[root@genericadm.private.phx1 mozillians]# python manage.py cron generate_humanstxt
/data/genericrhel6/src/mozillians.org/mozillians/vendor-local/lib/python/celery/decorators.py:34: CDeprecationWarning:
The `celery.decorators` module along with the magic keyword arguments,
are deprecated, and will be removed in version 3.0.

Please use the `celery.task` module instead of `celery.decorators`,
and the `task.request` should be used instead of the magic keyword arguments:

    from celery.task import task

See http://bit.ly/celery22major for more information.


  """))
[root@genericadm.private.phx1 mozillians]# pwd
/data/genericrhel6/src/mozillians.org/mozillians
[root@genericadm.private.phx1 mozillians]# /data/genericrhel6/deploy mozillians.org
[2013-11-21 11:31:55] Running rsync_project
[2013-11-21 11:31:55] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6/src/mozillians.org/ /data/genericrhel6/www/mozillians.org/
[2013-11-21 11:31:55] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/genericrhel6/src/mozillians.org/ /data/genericrhel6/www/mozillians.org/ (0.772s)
[2013-11-21 11:31:55] Finished rsync_project (0.772s)
[2013-11-21 11:31:55] Running commit_www
[2013-11-21 11:31:55] [localhost] running: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['mozillians.org']'
[2013-11-21 11:32:01] [localhost] finished: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['mozillians.org']' (5.337s)
[localhost] out: [master ce397ec] deploy [mozillians.org]
[localhost] out: 1 file changed, 118 insertions(+)
[localhost] out: create mode 100644 mozillians.org/mozillians/static/humans.txt
[2013-11-21 11:32:01] Finished commit_www (5.338s)
Assignee: server-ops-webops → cturra
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.