Closed
Bug 791713
Opened 13 years ago
Closed 13 years ago
blog.getfirebug.com not updating?
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bburton, Assigned: bburton)
Details
(Whiteboard: [triaged 20120917][firebug-p1])
Opening bug to investigate, got an email from :honza
| Assignee | ||
Updated•13 years ago
|
Whiteboard: [triaged 20120917]
| Assignee | ||
Comment 1•13 years ago
|
||
Prod was stuck on
[root@genericadm.private.phx1 getfirebug.com]# svn info
Path: .
Working Copy Root Path: /data/genericrhel6/src/getfirebug.com
URL: http://svn.mozilla.org/projects/getfirebug.com/tags/production
Repository Root: http://svn.mozilla.org
Repository UUID: 4eb1ac78-321c-0410-a911-ec516a8615a5
Revision: 109157
Node Kind: directory
Schedule: normal
Last Changed Author: sebastianzartner@gmx.de
Last Changed Rev: 109102
Last Changed Date: 2012-09-14 03:25:58 -0700 (Fri, 14 Sep 2012)
But the cron wasn't putting out any errors :/
I did a push and it's updated now
[root@genericadm.private.phx1 getfirebug.com]# svn up
Updating '.':
Fetching external item into 'releases/swarms':
External at revision 12950.
Fetching external item into 'swarms':
External at revision 12950.
Fetching external item into 'tests/result-viewer':
External at revision 5.
Fetching external item into 'tests/manual':
External at revision 42.
Fetching external item into 'tests/head':
External at revision 8705.
Fetching external item into 'tests/1.9':
External at revision 8705.
Fetching external item into 'tests/1.10':
External at revision 8705.
Fetching external item into 'tests/templates':
External at revision 8705.
At revision 109158.
[root@genericadm.private.phx1 getfirebug.com]# svn info
Path: .
Working Copy Root Path: /data/genericrhel6/src/getfirebug.com
URL: http://svn.mozilla.org/projects/getfirebug.com/tags/production
Repository Root: http://svn.mozilla.org
Repository UUID: 4eb1ac78-321c-0410-a911-ec516a8615a5
Revision: 109158
Node Kind: directory
Schedule: normal
Last Changed Author: sebastianzartner@gmx.de
Last Changed Rev: 109102
Last Changed Date: 2012-09-14 03:25:58 -0700 (Fri, 14 Sep 2012)
[root@genericadm.private.phx1 getfirebug.com]# bash -x update
+ CODE_DIR=/data/genericrhel6/src/getfirebug.com
+ cd /data/genericrhel6/src/getfirebug.com
+ svn up
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ svn info
++ date
+ echo 'finished at Mon Sep 17 09:07:04 PDT 2012'
+ '[' xterm-256color == dumb ']'
+ /data/genericrhel6/deploy getfirebug.com
[2012-09-17 09:07:04] Running rsync_project
[2012-09-17 09:07:04] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/getfirebug.com/ /data/genericrhel6/www/getfirebug.com/
[2012-09-17 09:07:04] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/getfirebug.com/ /data/genericrhel6/www/getfirebug.com/ (0.348s)
[2012-09-17 09:07:04] Finished rsync_project (0.361s)
[2012-09-17 09:07:04] Running commit_www
[2012-09-17 09:07:04] [localhost] running: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['getfirebug.com']'
[2012-09-17 09:07:14] [localhost] finished: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['getfirebug.com']' (9.771s)
[localhost] out: [master fb75b29] deploy [getfirebug.com]
[localhost] out: 1 file changed, 3 insertions(+), 3 deletions(-)
[2012-09-17 09:07:14] Finished commit_www (9.772s)
[2012-09-17 09:07:14] Running push_www
[2012-09-17 09:07:14] [generic1.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh getfirebug.com
[2012-09-17 09:07:14] [generic2.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh getfirebug.com
[2012-09-17 09:07:14] [generic3.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh getfirebug.com
[2012-09-17 09:07:14] [generic4.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh getfirebug.com
[2012-09-17 09:07:14] [generic5.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh getfirebug.com
[2012-09-17 09:07:14] [generic102.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh getfirebug.com
[2012-09-17 09:07:20] [generic3.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh getfirebug.com (6.007s)
[generic3.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-09-17 09:07:20] [generic1.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh getfirebug.com (6.191s)
[generic1.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-09-17 09:07:20] [generic4.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh getfirebug.com (6.271s)
[generic4.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-09-17 09:07:20] [generic5.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh getfirebug.com (6.388s)
[generic5.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-09-17 09:07:20] [generic2.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh getfirebug.com (6.476s)
[generic2.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-09-17 09:07:20] [generic102.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh getfirebug.com (6.531s)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 2•13 years ago
|
||
I did two commits here:
https://svn.mozilla.org/projects/getfirebug.com
(rev: 109003 and 108968)
I have removed a link at 108968, but I can still see it at the bottom of this page:
https://blog.getfirebug.com/
(it's the Parakey, Inc)
And at the bottom of every blog post
https://blog.getfirebug.com/2012/09/13/firebug-1-11-alpha-3/
Sounds like the blog is still not updated.
Or did I anything wrong?
Honza
Comment 3•13 years ago
|
||
I am reopening this bug.
AFAIK the site is still not updated.
See my comments #2
Honza
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Updated•13 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Jan Honza Odvarko from comment #3)
> I am reopening this bug.
>
> AFAIK the site is still not updated.
>
> See my comments #2
>
> Honza
I missed that you were talking about edits to blog.getfirebug.com, blog.getfirebug.com is a completely separate site from getfirebug.org and is a standalone Wordpress site.
Changes made to the site in SVN won't show up on blog.getfirebug.com, you'll need to make edits via https://blog.getfirebug.com/wp-login.php
Thanks
| Assignee | ||
Updated•13 years ago
|
Summary: getfirebug.com not updating? → blog.getfirebug.com not updating?
| Assignee | ||
Comment 6•13 years ago
|
||
The update cron job does seem to be working for getfirebug.com, and you can always check what revision the site is at by viewing https://getfirebug.com/revision_info.txt
If you need assistance editing the Wordpress blog.getfirebug.com let us know
Thanks
Status: ASSIGNED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 7•13 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #5)
> I missed that you were talking about edits to blog.getfirebug.com,
> blog.getfirebug.com is a completely separate site from getfirebug.org and is
> a standalone Wordpress site.
OK, I see
> Changes made to the site in SVN won't show up on blog.getfirebug.com, you'll
> need to make edits via https://blog.getfirebug.com/wp-login.php
So, I tried to edit footer.php & footer.html to do the same as in revision 108968
(https://svn.mozilla.org/projects/getfirebug.com)
I went to Appearance -> Editor menu.
- The footer.html file is not available in the list of file on the right side
- The footer.php file is there, but after I do my changes I can't safe them. I don't see any "Update File" button.
Do I need higher privileges?
Honza
Comment 8•13 years ago
|
||
Could anyone help here please?
Honza
Updated•13 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•13 years ago
|
||
I am still not able to modify the theme. How should I do that?
Honza
Comment 10•13 years ago
|
||
Jason, here is another mystery, now related to our blog (Wordpress)
Do you think you could help out?
Honza
Updated•13 years ago
|
Whiteboard: [triaged 20120917] → [triaged 20120917][firebug-p1]
| Assignee | ||
Comment 11•13 years ago
|
||
I am cc'ing Craig Cook, who's pretty familiar with Wordpress, to see if he can take a look
:Honza, can you please add an administrator user named infra-webops and email me the password?
Thanks
Comment 12•13 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #11)
> I am cc'ing Craig Cook, who's pretty familiar with Wordpress, to see if he
> can take a look
Thanks!
> :Honza, can you please add an administrator user named infra-webops and
> email me the password?
Done
Honza
Comment 13•13 years ago
|
||
It seems this change was committed to SVN six weeks ago, it just needs to be pushed to production.
http://viewvc.svn.mozilla.org/vc/projects/getfirebug.com/tags/production/blog/wp-content/themes/firebug/footer.php?revision=108968&view=markup
| Assignee | ||
Comment 14•13 years ago
|
||
I'm not sure if the blog was moved to it's own folder at some point, but blog.getfirebug is a completely separate site and document root and the themes/firebug folder is not a checkout from svn, which is why the updates aren't being propagated, and I didn't notice the theme was in SVN
I will make it a checkout from SVN and modify the update script for the blog to pull down changes from SVN in the cron job that updates prod, but it won't automatically upgrade Wordpress
I should have this done later tonight
Thanks Craig and Honza for the help and info
Comment 15•13 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #14)
> I'm not sure if the blog was moved to it's own folder at some point, but
> blog.getfirebug is a completely separate site and document root and the
> themes/firebug folder is not a checkout from svn, which is why the updates
> aren't being propagated, and I didn't notice the theme was in SVN
>
> I will make it a checkout from SVN and modify the update script for the blog
> to pull down changes from SVN in the cron job that updates prod, but it
> won't automatically upgrade Wordpress
>
> I should have this done later tonight
Thanks, please post a comment here as soon it's done and
I'll verify the website.
Thanks!
Honza
| Assignee | ||
Comment 16•13 years ago
|
||
I've made the following updates to blog.getfirebug.com's setup
1. Moved it to a directory structure that follows how we normally deploy Wordpress sites and updated Apache's configs to respect this. This has been pushed live and tested by myself and :cturra
2. Written an update script that will update the getfirebug_content directory from SVN, the script produces an update file at https://blog.getfirebug.com/getfirebug_content/revision_info.txt that you check to see what version it's on
3. I added the update script to the cron job that updates getfirebug.com and runs every 15 minutes
The cron ran at 10:15am PST
Oct 24 10:15:01 genericadm CROND[23095]: (root) CMD (/usr/bin/flock -w 10 /var/lock/blog.getfirebug-prod /data/genericrhel6/src/blog.getfirebug.com/update)
The next step is to make a trivial edit to SVN and confirm it shows up, maybe a html comment in the footer?
Status: REOPENED → ASSIGNED
Comment 17•13 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #16)
> The next step is to make a trivial edit to SVN and confirm it shows up,
> maybe a html comment in the footer?
I tested this and works just fine.
My commit is revision: 110215 and I can see the changes live now.
Thanks!
Btw. getfirebug.com is quite broken (must have happened in past 24 hours), see my comment here: https://bugzilla.mozilla.org/show_bug.cgi?id=800311#c12
Just mentioning it here in case it's related to the changes.
Honza
Status: ASSIGNED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 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
•