upgrade

You are currently browsing articles tagged upgrade.

If you used Subversion to install Elgg using SSH, upgrading to Elgg 1.1 stable is a snap. Simply log in and:

cd yourelggdirectory

svn sw https://code.elgg.org/elgg/releases/core/elgg1.1/ .

Make sure you include the space and period. Press enter, then agree to accept the security certificate typing t for temporarily or p for permanently. The files will scroll quickly as they are transferred from server to server.

When the transfer is done, open your browser and go to yourelggdirectory.upgrade.php

You should get a message saying the database has been upgraded and land on the login page. Log in and check your version. It should say 1.1 Stable.

Always have a backup of both the files and the database in case something goes wrong. I have done this svn upgrade with the original 1.0 release, and the 1.1 RC1 from the trunk. Note that older themes may exhibit minor quirks.

That’s it. It only takes a minute or two.

More information about Elgg and SVN

Tags: , ,

Checking into the Elgg SVN repository is something I do on a regular basis. I was surprised to see over 40 revisions since I checked in the other day. Version.php now reflects release number 1.09. We appear to be closing in on the 1.1 release.

Please Note that this is information about upcoming features. As I mentioned in a previous post, working with trunk is risky:

Be warned though, working with the trunk can be risky. The Elgg SVN is currently divided into releases and trunk. The trunk represents the latest code for Elgg, but it is not tested thoroughly like a release is. It is best to work with trunk on test sites. If you do so with a production site, make sure you have backups of both the files and the database!

After uploading the new files and overwriting my installation, I ran upgrade.php to see if there were any revisions to the database between 1.08 and 1.09. Indeed, it did run and upgrade the database. Next, I checked into the admin interface and immediately saw new features.

The first thing I noticed was the ability to change the order in which the plugins load. At the upper left hand corner of each plugin box there are now links to move the plugin up, down, top, or bottom. Developer Ben Wermuller mentioned that this will allow greater customization. I also wonder if it will help resolve issues with plugins not playing well with each other as it does in some cases with Joomla.

The next thing I noticed was a new plugin called Activity:

This plugin gives you the option of replacing the widget propelled dashboard with the activity stream from the River. Enabled, you dashboard displays a list of the latest activities with the standard owner’s block.

You have options to view Site Activity, Your Activity, or Friends’ Activity. It also places an activity option in the toolbar’s dropdown menu.

I look forward to my next trip to the repository as it often results in pleasant surprises.

Tags: , ,