PDA

View Full Version : Upgrade Question


photocroatia
24th of April 2004 (Sat), 17:06
Hi I have a quick question about Upgrading from RC2 to RC4.

I copy EE_RC4.zip to my PC, unzip it, then I FTP all of the files from the zip over my existing install of EE.

What happens if people are surfing my web site? Will they get kicked out because the DB version and the files are different versions, or will they encounter errors or what?

Thank You!

Pekka
24th of April 2004 (Sat), 17:24
Hi,

The shortest downtime is as follows:

Make an new EE folder "temp_EE" and upload all RC4 files there. This is now what I call NEW EE folder
Edit add/connect.php and backup preferences file in NEW EE folder.
Make sure that all header files, own styles, EE commerce templates and so on are correct (if you have make modifications to them) in NEW EE folder.

If you have any photo folders in CURRENT EE folder, you will need to copy them to NEW EE folder before update.

Now you have updated files in NEW EE folder.

Make a database backup (both file backup and datbaase backup set) of the CURRENT database.

The update goes like this. Here I assume you current EE is in folder "gallery".

1. rename CURRENT EE to "galleryx". At this point people get 404 error. You can redirect it to update info message if you want to do it really cleanly.
2. run the updater "rc4_installers/to_rc4.php" inside NEW EE's folder.
3. rename NEW EE folder to "gallery".

As soon as you check out that all runs fine you can delete "galleryx". Before deleting however, check that all sizes and thumbs are ok (i.e. you did not leave photos in CURRENT EE folder).

With this procedure you'll have about 30 seconds downtime.

If you feel insecure doing this let me know (got your earlier PM btw, but did not have time to act yet).