You can upgrade to this version of Clearspace with these guidelines for each distribution.
Important Note Make sure to backup your jiveHome directory and backup your database before doing an upgrade.
Sections in this Topic
Upgrading the
Standalone Distribution
Upgrading the WAR
Installation
Upgrading the Source Build
Migrating from One
DBMS to Another
Back Up Your jiveHome
Directory
Back Up
Your Database
Remove Plugins Before Upgrading
Clearspace Upgrade
Philosophy
Known Issues
Your new version of Clearspace should be up and running using your previously configured database and customized settings.
java -DjiveHome=/usr/foo/jiveHome -cp . com.myappserver.Server
java -jar EditWAR.jar clearspace.warThe tool will then lead you through the process of updating the WAR.
java -DjiveHome=/usr/foo/jiveHome -cp . com.myappserver.Server
java -jar EditWAR.jar clearspace.warThe tool will then lead you through the process of updating the WAR.
You can use the Clearspace admin console to migrate Clearspace data from one database management system to another. Clearspace supports the following DBMSs as either source or destination systems (supported versions are those that are supported for installation; see the Clearspace Installation Guide for more details):
In the admin console, go to System > Database Migration > Database Migration. The database migration tool will migrate your Clearspace instance from one database server to another. Before beginning the migration, you must:
Note: If you begin migration but don't finish, it's possible to put Clearspace into a in-between state. In this state, you'll receive an "in-progress" message even though you're no longer migrating. If this happens, you can fix it in the admin console. In the console, go to System > Management > System Properties, scroll to locate the skin.default.maintenace.enabled property, then click its delete button. After you do this you should be able to refresh your browser to view the Clearspace UI.
The jiveHome directory is the place where Clearspace stores a number of things about your environment. The database connection information is stored there as well as logs, cached attachments, your license file, and the evaluation database files (if used).
You should back this up before upgrading and you should get in the practice of backing up this directory on a regular basis. The easiest way to back up the directory is to use a ZIP or TAR application or script to package the directory.
You should back up your database on a regular basis and before upgrades. For now, the best way to manage database backups is to follow the recommendations of your DBA or the recommendations of your database software. There are a number of tools built in to various databases. Here are a few example:
There are many tools for each database; try to pick one that suits your environment.
Before starting your upgrade be sure to remove any plugins you've installed. For those plugins that aren't compatible with the version you're upgrading to, you'll need to separately upgrade your plugin code (or get upgraded versions of the plugins from their developer), then install the upgraded versions after you've upgraded Clearspace.
Upgrading web applications doesn't have to be hard. We've made every effort for this to be a seamless process. If you have feedback or suggestions for this process, we'd love to hear it.
In general, upgrading between revision releases will be easy (for example, 2.5.1 to 2.5.2). Upgrades between minor releases (for example, 2.0 to 2.5) might require a bit more work, but we have an upgrade wizard in the application to assist.
In order to support transactions in version 2, MyISAM MySQL database tables will be converted to InnoDB during upgrade. The upgrade process will handle this conversion; there is no action required on your part.
After you finish the upgrade process, be sure to clear the clearspace subdirectory of Tomcat work directory before starting the application and viewing the admin console. You'll likely find this subdirectory at <tomcat_root>/work/.../clearspace. If you don't clear the directory (which contains cached application components), you might see errors when you try to view application pages.
Prior to version 2, using the {code} macro without a property would result in Java-style syntax coloring. As of version 2.5, text that was enclosed in {code} tags will be rendered merely as plain monospace text, rather than with Java syntax coloring.
Version 2.1 replaces the plain text editor, which supported wiki markup, with a more full-featured rich text editor. Here's how to change code markup back to Java syntax coloring beginning with version 2.5:
The moderation-related settings made in versions prior to 2.5.0 aren't respected after upgrade to a 2.5.x version. To avoid problems, you should clear all moderation queues in the earlier version before upgrading (such as by approving or rejecting items in the queue).
The upgrade process converts contents of formatted text widgets to HTML from wiki markup (which isn't used in 2.5.x). This increases the number of characters in the widget, sometimes beyond its 3500-character limit. In cases where the limit is exceeded, the widget's text is truncated to meet the limit. Before upgrading, you can address this by shortening the widget's contents. After upgrade, you'll find the text of truncated widgets in the log file, where you can use it to update the upgraded widgets.