mojoPortal Tips: Upgrading to the Latest Version of mojoPortal, Part 1

The frequent release cycles of mojoPortal ensure that users have access to the latest improvements implemented by the mojoPortal development team. It’s always a good idea to work with the latest version of your CMS, in order to leverage the best support and features. However, upgrades can also present unexpected issues, and some can be real show-stoppers, especially in the case of customized mojoPortal implementations. Here are some tips on how to upgrade your mojoPortal site without losing downtime due to unexpected incompatibilities.

Testing

The first thing to do is to make sure you’ve got the same version of database engine on your local machine as you’ve been leveraging on your hosting server – if your hosting provider is running MSSQL 2008, for instance, make sure you’re running the same version on your local testing environment, right down to the release version – you’ll see more on why that’s important shortly.

We’ll go on the assumptions that

  1. you tested your mojoPortal implementation locally before you launched it live
  2. you still have that development environment available
  3. it’s the same version as the live site you currently have

Now – let’s proceed to get a backup copy of your live site database. This step will vary, depending on which database engine you’re using (mojoPortal supports MSSQL, MySQL, SQL CE, and several others); once you’ve got your backup database, restore it to your local database instance, and make sure your local mojoPortal instance is pointing to it.

From here in, we’ll presume that you’re using Visual Studio to access your local instance (if you’re using a different IDE, leave a note in the comments, and I’ll cover that in a future post).

  1. Press F5, and allow your local instance of mojoPortal to start up; make sure that you’re seeing the content from the live site, to confirm that you’re working with the right database.
  2. Now, stop your local instance, and download the latest version of mojoPortal that you intend to install.
  3. Extract the download from the .zip file, and leave that folder open.
  4. Right-click the solution in your Visual Studio pane, and select “Open Folder in Windows Explorer”
  5. Close Visual Studio
  6. If your database settings aren’t in user.config, make a backup copy of your web.config file, so you don’t lose your configuration information
  7. Select all the contents of the extracted folder, right-click, and select “Copy”
  8. Navigate to the folder of your existing mojoPortal instance, find an area without a file, right-click, and select “Paste”
  9. Allow all files to be overwritten
  10. If you’re not using user.config, re-enter your database connection string into the web.config folder – do not use the old web.config file, as many things tend to change between versions
  11. Re-open your Visual Studio project, and refresh files.
  12. Press F5, and allow mojoPortal setup to run through the updates.

At this point, if the automatic updates ran without any errors, you can navigate to the home page of your site.

We’ll take a coffee break here, and pick up in Part 2, where we’ll review areas commonly in need of attention after an upgrade, and how to implement your updates on the live site.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Looking for quality mojoPortal Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , | Posted under MojoPortal | RSS 2.0

Author Spotlight

Carole Bennett

Carole Bennett

Carole Bennett is the founder and principal of IndigoTea. As a professional IT consultant, Carole has provided solutions for companies as diverse as Verizon, Frito-Lay, Capital One Auto Finance, and Zales Jewelers, parlaying a unique talent for acting as a translator between the worlds of business challenges and technology solutions. She considers multi-tasking skills gained from simultaneously 1) managing a fire performance troupe, 2) raising a family, and 3) working as a full-time IT consultant excellent preparation for her current career incarnation as the driving force behind IndigoTea. "Fire-breathing redhead on a mission" is not just a metaphorical description!

Leave a Reply

Your email address will not be published. Required fields are marked *


+ 8 = 10

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>