Updating the vBulletin Scripts on Your Web Server 
Having downloaded the latest vBulletin package and unzipped it to a folder, you must now prepare your web server to accept the updated files. Before you do this you should close your forums. This will help eliminate any potential db errors as people attempt to access your forums before the upgrade is complete.

For uploading there are two ways that this can be done.

The first method involves overwriting all the files that were previously uploaded to your web server, while the second method involves deleting all the old files and directories, and then uploading the new scripts. In this tutorial we will use the overwrite method.

Having renamed the upload folder as specified in the previous step, you should load up your FTP client of choice. In this example we will use Smart FTP.

Connect to your FTP server and with the new vBulletin files in the local pane and the existing old files in the remote pane, drag the forums directory into the parent directory of your remote vBulletin installation as shown here:

You will most likely be prompted by the FTP client at this point to ask if you want to overwrite the existing files. You should confirm this prompt, telling the FTP client that yes, you do want to overwrite the existing files. If the prompt gives you the option to overwrite all existing files without prompting again, use this option.

Most FTP client applications will handle the file transfers automatically, but if for some reason your application does not, you should make a note of the following:
Warning:
It is extremely important that you upload all the files from the latest vBulletin package, including the entire contents of the install directory.

Failure to upload all the files may result in the upgrade script being unable to successfully complete the upgrade process.
User Contributed Notes: Updating the vBulletin Scripts on Your Web Server Add a Comment
Shane <bugs at bugssite dot org> Apr 20th '05, 12:00pm
Do not use a Browser FTP function. It allows for to many mistakes during upload. Use a dedicated FTP program.
StewardManscat <steward at manscat dot com> Apr 20th '05, 12:06pm
Remember to rename/replace your admin subdirectories... if you were foolish enough to follow the advice about renaming them for security purposes in the first place. The original directories are called admincp and modcp.
Retro <retro at chatwhores dot org> Oct 01st '05, 12:13am
Using FlashFXP, make sure you have your File Exist Rules set to overwrite any files that already exist, regardless of size.

<Added note by Floris>
The same goes for many ftp clients, make sure you have it set to overwrite files, do not skip or resume files while uploading!
Mike Pepper <pepper at w3pg dot com> May 27th '07, 10:44am
Alternative (3rd) method to shorten server downtime.

Upload to a temporary copy of your vB production directory, then when the upload is complete, switch the directories and continue from there.

The actual upload, after you've prepared the files, is the longest part of the server downtime. The objective with this method is to complete the upload of new files before you have to take down ("turn off") your forums.

Here are the steps:

1. Complete all file preparation as per the previous step, "Preparing the vBulletin files for Upload".

Then, before you upload any files go to step 2 here.

2. On your production server, COPY the entire vBulletin directory (or "folder") structure to another temporary directory. Be sure to preserve all attributes of ownership, permissions, etc.

For example, if your vB forums are in a directory called "vbbs", then you might copy it to one called "vbbsupdate". Your forums in "vbbs" will keep running for now.

On *ix at the command line use (e.g.)
"cp -pr vbbs vbbsupdate"

3. Upload your prepared vB update files to your temporary "vbbsupdate" directory as described above in the "overwrite" method.

REPEAT: upload to your temporary directory; in this example the one called, "vbbsupdate".

4. Wait till the wee hours of the morning to minimize impact on your traffic.

5. Turn off your forums in the admin CP.

6. Back up your database so that the backup is as fresh as possible.

7. Switch the directories by first renaming your (e.g.) "vbbs" directory to "vbbsold" and then renaming your "vbbsupdate" directory to "vbbs" (changing the names to match your setup, of course).

8. Run the update script as described in the next step, "Running the vBulletin Upgrade Script".

Good luck. The few times that I've done it, it runs pretty smoothly.
Schnee <wandersin at gmail dot com> Jun 30th '08, 07:17am
Don't delete your own favicon or you will get the VBulletin one back again.
A.I.Smari <ais2020 at hotmail dot com> Jul 09th '08, 08:49am
If you're upgrading from a very recent version, you may consider deleting all gif/jpg files locally to save on your upload time.
Windsun <windsun at wind-sun dot com> Sep 09th '08, 07:22am
Just for the information, you can also use Microsoft Expression Web 2.0 in ftp mode to upload files.
Add a Comment