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
Clearspace Upgrade
Philosophy
Known Issues
Your new version of Clearspace should be up and running using your previously configured database and customized settings.
Note: Be sure to see Evaluation Database to Oracle with Active Directory under known limitations below.
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.
Note: Be sure to see Evaluation Database to Oracle with Active Directory under known limitations below.
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.
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 (ie, 1.0.0 to 1.0.1, or 1.0.0 to 1.0.5). Upgrades between minor releases (ie, 1.0 to 1.1, or 1.0 to 1.3) might require a bit more work but we have an upgrade wizard in the application to assist.
If you are currently using the evaluation database and wish to upgrade from version 1.4, 1.5, or 1.6 and switch to running Oracle with Active Directory there is an extra step you must perform in order to work around an issue within Oracle.
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.
If you're upgrading a Clearspace instance that uses IBM DB2, some upgrade tasks might fail with the following error message:
The database table TABLE_NAME appears to be in a REORG PENDING state. In order to proceed any further you must issue a REORG TABLE command.
The only way to resolve this is to issue a REORG command. This may take some time depending on the size of the table. There are a couple of ways to do this. One way to is use the db2 command:
REORG TABLE <schema>.<table> ALLOW READ ACCESS;
Another way is to call a stored procedure using a SQL statement:
CALL SYSPROC.ADMIN_CMD('REORG TABLE <table>')
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.1, 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.1: