http://www.privaterra.org/blog-rg/steps-to-follow-after-a-midgard- upgrade.html

Here's the set of steps I follow each and every time Midgard gets upgraded (for some reason or another). I hope it proves useful to others who also have Midgard running on a Debian based system.

Prerequisite:

* Linux system that is based on Debian (Debian , Ubuntulinux, etc)
* add to Midgard debian packages to sources.list

Add the following to /etc/apt/sources.list

# Midgard - Debian testing
deb http://www.midgard-project.org/debian/dists/testing/main/binary- i386 ./
deb-src http://www.midgard-project.org/debian/dists/testing/source ./

Update packages and upgrade them:

$ apt-get update; apt-get upgrade

Upgrade PEAR:

Now find out if there are any PEAR packages that need upgrading.

$ pear list-upgrades

If there are packages listed, then - they likely need upgrading. If you want to upgrade them all, then type the following:

$ pear upgrade-all

Update mysql libraries to prevent Apache Segmentation Fault

apt-get install php4-dev libmysqlclient12-dev
apt-get source -d php4
dpkg-source -x php4_x.dsc
cd php4-x/ext/mysql/
phpize
./configure —with-mysql=/usr ; make
cp .libs/mysql.so /usr/lib/php4/20020429/
/etc/init.d/apache2 reload

Upgrade Midgard CSS layout lable

Obtain an updated (fixed) version of the layout template at http:// midgard.tigris.org/source/browse/midgard/src/templates/ The latest version of the layout table should be downloaded at the following URL:

http://midgard.tigris.org/source/browse/*checkout*/midgard/src/ templates/layout-table.xml

Now move the file to the correct location so that we can install it with Datagard

$ cp layout-table.xml /usr/share/midgard/data
Now start Datagard

$ datagard

Select Import, then choose your midgard related database table

From the list of items to be upgraded, make sure to select the layout-table

Then, log into Aegir, and apply the style. The layout to use in your website is "template_Simple Table Layout"

After that, invalidate output cache with http://host/midcom- cache- invalidate

--
Robert Guerra <[EMAIL PROTECTED]>
Managing Director, Privaterra <http://www.privaterra.org>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to