London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Gonzalo Gonzalez
Mar 25, 2010
  3725
(0 votes)

Upgrading an EPiServer CMS 5 R2 SP2 Site to CMS6 when running Oracle

If you’re running your EPiServer CMS 5 R2 SP2 site on Oracle and want to get all the advantages of CMS 6, you can easily upgrade the site using the these files:

1. The zip packet includes 3 files:

              - Upgrade Site.metadata

              - Upgrade Site (Oracle).ps1

              - Upgrade_Oracle_5sp2To6.sql

              - EPiServerUpgrade.CMS5.dll

2. Copy the 'Upgrade Site.metadata' and 'Upgrade Site (Oracle).ps1' files to the <Program Files>\ EPiServer\CMS\6.0.530.0\Upgrade\System Scripts folder as shown below:

image

3. Copy the EPiServerUpgrade.CMS5.dll file to the <Program Files>\ EPiServer\CMS\6.0.530.0\Install\Tools folder. Note that this should replace the existing one.

On a 64 bit operation system the EPiServer folder hive is located in the <Program Files (x86)> folder.

4. Copy the sql file to a convenient folder as it will be needed in step 6 below.

5. The EPiServerUpgrade.CMS5.dll file needs to be registered in the machine's Global Assembly Cache. To do this run the following command from a command prompt (Administrator privileges will be required for this on Windows Vista, Windows 7 and Windows Server 2008 / 2008 R2). This also implies that the gacutil utility is also installed on the current computer:

    - gacutil -i "<Program Files>\ EPiServer\CMS\6.0.530.0\Install\Tools\EPiServerUpgrade.CMS5.dll"

Replace the <Program Files> part with your actual program files (or program files x86) folder path.

6. First you should upgrade the database with the latest schema. It is very important to ensure you back-up your CMS database before you perform the following steps.

    - Connect to your <OracleEpiserverUser> through sqlplus.exe.

    - Run the script Upgrade_Oracle_5sp2To6.sql from the location you copied it to.

    - Make sure you don’t get any error running this script.

7. Start the EPiServer Deployment Center and you should find a new option called “Upgrade site with Oracle database”:

image

Select this item and click on the 'Run' button. Now a list of possible CMS 5 R2 SP2 sites installed on the machine should be shown:

image

Select the site to be upgraded and click on 'Next'.

8. Once the deployment script has finished you should be able to browse your upgraded site. You’ll find a few look and feel differences in Edit and Admin mode plus the new shiny OnlineCenter as shown below:

image

Note: If you need to upgrade from an older version of CMS than CMS 5 R2 SP2  please contact us via support: support@ep.se

Enjoy the new version!!!!

Mar 25, 2010

Comments

Please login to comment.
Latest blogs
Optimizely Frontend Hosting Beta – Early Thoughts and Key Questions

Optimizely has opened the waitlist for its new Frontend Hosting capability. I’m part of the beta programme, but my invite isn’t due until May, whil...

Minesh Shah (Netcel) | Apr 23, 2025

Developer Meetup - London, 21st May 2025

The London Dev Meetup has been rescheduled for Wednesday, 21st May and will be Candyspace 's first Optimizely Developer Meetup, and the first one...

Gavin_M | Apr 22, 2025

Frontend hosting for PaaS & SaaS CMS

Just announced on the DXP, we FINALLY have a front end hosting solution coming as part of the DXP for modern decoupled solutions in both the PaaS a...

Scott Reed | Apr 22, 2025

Routing to a page in SaaS CMS

More early findings from using a SaaS CMS instance; setting up Graph queries that works for both visitor pageviews and editor previews.

Johan Kronberg | Apr 14, 2025 |