Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2008, 06:09 PM
nevetS nevetS is offline
 
Join Date: May 2005
Location: Sunny California
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Upgrade Process

I am starting to think about the 3.7 upgrade process. Certainly, it's nice for the community to experience new features.

I am concerned to a degree, as I haven't been through an upgrade on an active board just yet.

As far as upgrading the board, my plan is to take a look at all of the plugins I have installed, review each thread for 3.7 support and make a decision as to whether a particular plugin is necessary or whether I'm willing to risk it where there is not clarity of 3.7 compatibility.

Once I've checked out that road, I do have some other small php customizations that I can deal with as far as php code. Nothing too fancy and I'm not worried in that regard. They shouldn't take more than an hour, and they only concern a movable type integration point so no end users should see a problem.

The area that concerns me is template edits. I SHOULD be able to go through and find the template changes I originally made and re-make them to the new environment. Fortunately, I know HTML and PHP pretty well, and I have a forum that validates, so I'll be able to spot and fix any typos or errors. The trouble for me is: How do I make this happen with zero impact on my user base? Downtime isn't something I want to deal with.

I'm thinking the following:
1) back up my live system.
2) restore the database to a new database
3) set up a new virtual host in apache, copying all files from my original site
4) point my hosts file at the new IP address
5) go in and make template edits and any code changes.
6) back up any files edited
7) back up my customized and upgraded database
8) download my newly customized style
9) turn the production board off
10) back up the production database (new posts since last backup)
11) upload new files
12) run upgrade
13) install/upload appropriate plugins
14) upload customized style
15) upload any manually edited files
16) turn board back on

Past experience tells me that the upgrade process itself will take just a couple of minutes, and uploading plugins and styles just a few minutes more. I'm thinking I can get away with a downtime of less than 10 minutes in the middle of the night when there is no activity.

Any comments on my plan? Concerns?
Reply With Quote
  #2  
Old 03-21-2008, 07:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is basically what I do. However, I doubt you are talking about the upgrade only taking a couple of minutes. The last time I did an upgrade, I went from 3.0.12 to 3.6.8 and my site was down for about two hours. Most of that time was taken running the upgrade script and making my backup of the database and all the files (you need both of those if you need to downgrade cuz things didn't work out) and scping my backup/files to another server. Once the site was backed up and upgraded, it probably only took about 10 minutes to install the plugins and import the templates. Of course, then I did a couple of tests on my board to make sure my custom products worked.
Reply With Quote
  #3  
Old 03-21-2008, 07:38 PM
nevetS nevetS is offline
 
Join Date: May 2005
Location: Sunny California
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good to know! The upgrade scripts have been pretty quick for me in the past - but that's with some pretty small databases.

I'll get a feel for the time it takes on my site with this one well before the scheduled downtime, so if I need to plan for more time I will.
Reply With Quote
  #4  
Old 03-21-2008, 08:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I put a notice at the top of the index page about three days before the upgrade letting my users know the date of the upgrade. Then, the day before I posted a notice telling then the time I would start. Then the day of, I posted saying one hour until, and 30 minutes until, and then finally took down the site. I got no complaints from any of the users about the site being down and we get about 9000 unique users onto the site a day.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03803 seconds
  • Memory Usage 2,184KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete