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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2012, 10:12 AM
Bulldog Stang Bulldog Stang is offline
 
Join Date: Apr 2008
Location: Kenedy, Texas
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Pulling the trigger from 3.8 to 4.x

I am really nervous about doing this as I know this is a big jump in upgrading, but here are my thoughts on how to do this ...

I am wanting to keep my site up and running while I do this, so I am wanting to basically make a copy of my site as it currently sits, and get all the bugs worked out while my site is moving along.

Here is what I am thinking .....


I have created a sub domain on my server. I have also made a copy of my current database through the "mysqldump" program and renamed it (NEW DATABASE). Once I did create the sub Domain, I called it (NEW NAME) and it placed a new folder called NEW NAME into the public_html folder. I am assuming that this is the folder that I need to copy my current FORUMS folder to. Once I do that, I am also assuming that in order to access that copy, I will have to go to www.mysite.com/public_html/NEWNAME/index.php (Am I correct in thinking that way???)

If I am able to access the above, then I will delete all of the old hacks and mods and prep the site for the upgrade. Once I do all of that, then I upload the new files into the same above folder (correct ?). I will then edit my config.php file to reflect the new backed up database that I have copied to the MYSQL database side (This way it won?t screw up the original database). Once that is done, I will go into the /install/upgrage.php file with the same path as above, and I will upgrade the site.

Once the upgrade is completed, we will get the site edited with colors and all that cool stuff ?.. Then, when we are ready to go live with the site, I will delete (or rename) the old FORUMS folder, which contains the main site and I will put the new site in its place. I will then also change the previously mentioned config.php file to be directed to the old database (Which will be current with recent post, etc ? ) and WHALAA, we have a live up and running site ???

Please let me know if my thinking is correct. I really do not want to screw anything up while doing this ?.


Bulldog Stang
Reply With Quote
  #2  
Old 01-28-2012, 04:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are right in creating a test site and doing a test upgrade there first to work out the kinks and create a new style. But then you want to turn off your live site, upload the files for the site, point to the current database (that you have done a new backup of) and then run the install/upgrade.php script on the live (turned off) database. Then export/import your new style to the live site and any modifications and test it and turn it back on.
Reply With Quote
  #3  
Old 01-28-2012, 05:02 PM
conradk conradk is offline
 
Join Date: Aug 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My forum "owner" would prefer I not upgrade, but am waiting for the last release and then will test the 4.0.8 to 4.1.11 upgrade on a test directory and database. Test the mods that we have installed. If all goes well, then I'll just switch us over and without fanfare.
Reply With Quote
  #4  
Old 01-31-2012, 07:04 AM
Bulldog Stang Bulldog Stang is offline
 
Join Date: Apr 2008
Location: Kenedy, Texas
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question,

I have already created a sub-forum for my site and have copied the site over to the sub-forum. I have redirected the site to a copy of the current database (Mysql) that I backed up on the day I did all of this. I am in the process of removing all of the 3.8 mods and hacks and what not. All is working well (so far).

Once I am finished with removing the hacks and stuff, I am going to install the latest version of vBulletin onto the test site (the copied version) and get it up and running and all of the kinks and bugs worked out and a style that I like.

My question is this, once all of the above is done and I copy the "new" site back over to the "forums" directory, can I just redirect it to the database that my "live" site was running ???? Or do I have to re-install vBulletin again so that the database reflects the changes of the new vbulletin 4.xx??

I do not want to lose any of the post from the users or anything like that. This project is going to take about a month to complete, so I don't want to lose a months worth of traffic on the site.

Thanks a million for ya'lls input.

Brian
Reply With Quote
  #5  
Old 02-01-2012, 07:31 AM
Bulldog Stang Bulldog Stang is offline
 
Join Date: Apr 2008
Location: Kenedy, Texas
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone ????

Here is another question. If I were to install a fresh copy of the vBulletin to my subdomain using a totally new database:

What files from my original database do I need to copy over to my new database as far as making sure that I don't lose my users or their post ?? Is this even possible?
Reply With Quote
  #6  
Old 02-02-2012, 02:23 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IMHO: You're over-thinking the whole thing. Assuming there are no custom styles or modifications on your current site that aren't available in vb4, then just backup and upgrade.

Personally, I went a step farther and uninstalled all my vb3 mods as I figured they wouldn't work anyway. But forget all the stuff about a test site. When you go live you'll have bugs that just wouldn't have ever showed up on a test site anyway.
Reply With Quote
  #7  
Old 02-05-2012, 08:51 AM
Bulldog Stang Bulldog Stang is offline
 
Join Date: Apr 2008
Location: Kenedy, Texas
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. Next Question.

I have installed the Test Site using a copy of the Live Database. I have cleaned up that database dramatically. My Live site is still up and going.

I want to make the NEW site the live site. What tables from my OLD LIVE database do I have to copy over to the NEW database if I do not want to lose any of my newly registered members and all of the post since I began this journey??

Again, thanks a million for all the help. :-)
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 04:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08125 seconds
  • Memory Usage 2,217KB
  • 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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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