In Part 1, we covered how to set up your local testing environment with the latest database version from your mojoPortal live site, and how to download and apply the update locally for testing. We’ll pick up from there with the areas that usually require the most attention after running an update, ensuring that your updates are solid, and applying the update to your live site.
The first, and usually the most glaringly obvious issue with upgrades, is the fact that the supporting infrastructure for the UI (“skins”) has a tendency to change frequently, in response to changes from ongoing technology and supporting software, such as Artisteer“Important Skin Changes” – be sure to go through each step to confirm that you’ve applied all the changes to your mojoPortal skins.
Not sure what version you’re upgrading from? Not a problem; just log into your active site as an administrator, and go to (your URL)/Admin/ServerInformation.aspx – you’ll see which version you’ve been running there, and that’s the version you’ve upgraded from locally.
The next area that shows up as a potential issue is the case of any custom coding or third-party plugins you may have applied to your mojoPortal instance. Be sure to download the latest version of your plugins, and apply them to your local site for testing; if any error messages come up, copy them, and report them to your plugin supplier for resolution. Usually the developer who supplied your plugin will be more than happy to work with you to ensure that the plugin is compatible with the latest version of mojoPortal.
Be sure to navigate through all the areas of your site, to ensure that you haven’t missed any potential “Gotcha!” moments; custom HTML, third-party includes, and the like. Satisfied that you’ve got it all smoothed out? Great – now it’s time to upload to the live server!
If you’ve done any custom work, the best option is to “Publish” to a local folder from Visual Studio, to get the latest version of code ready for deployment to your live site. Open your live site via FTP, and navigate to your root folder. Take the same precautions with your web.config as mentioned earlier for your testing environment, so that you don’t lose any of your previous setting information.
I do highly recommend doing this during non-peak hours for your site, as there will be some disruption during the upgrade process. If you’ve added an upgrade recently, you’ll have the option to “close” the site via the admin section, under “Site Settings” – this is a good time to do just that.
Now – upload all your files from your local “Publish” folder to your live site – this may take a bit, depending on your connection. Once the upload is complete, update your new web.config to the proper database settings, navigate to your mojoPortal instance home page, and let the setup scripts do their job. (If you don’t automatically see the upgrade page, navigate to (your URL)/setup/default.aspx).
Since you’ve updated all your skins and plugins using a mirrored version of the database, the live update should run with no problem, and when you navigate to the live page, it’ll be updated without any further to-do. Don’t forget to turn your site back “on”!