6.0.0-git
2024-04-18
Last Modified 2008-09-07 by Guest

Upgrading Horde on CentOS 5.2

Taking Horde installations from 3.1.x to 3.2x

Upgrading from 3.1.x

  • Your system may need different directory settings.
  • I assume you have full root access to your server.

mkdir /zone
mkdir /zone/horde.upgrade
cd /zone/horde.upgrade
wget ftp://ftp.horde.org/pub/horde/horde-3.2.1.tar.gz
gunzip horde-3.2.1.tar.gz
tar -xf horde-3.2.1.tar -C .
mv horde-3.2.1 /var/www/html/

cd /var/www/html/horde-3.2.1/config
for foo in *.dist; do cp $foo `basename $foo .dist`; done
chown -R apache.apache /var/www/html/horde-3.2.1

MAKE COPIES

cd /zone/horde.upgrade
rsync -auvtP /var/lib/mysql/horde /zone/horde.upgrade

  1. Goto the installation http://yoursite.whatever/horde-3.2.1
  2. You will only have horde so set that up.
  3. Use the settings for the existing Horde mysql database
  4. Save
  5. Run the upgrade sql script (putty into your server)
  6. mysql -uroot horde -ppassword < /var/www/html/horde-3.2.1/scripts/upgrades/3.1_to_3.2.mysql.sql
  7. Try and logon to this copy of horde

The only issue I had with logging in was to make sure the config/conf.php pointed at this new installation. $conf['cookie']['path'] = '/horde-3.2.1';

Once I knew I could login I copied all the other module over from horde to horde-3.2.1
I use rsync to preserver dates.
<code>rsync -auvtP /var/www/html/horde/imp /var/www/html/horde-3.2.1/

for i in forwards mottle vacation agora gollem kronolith nag rakim volos ansel ingo nic chora jeta occam thor whups hermes jonah trean wicked mimp passwd sam turba wps_sober ducttape klutz mnemo swoosh
do
rsync -auvtP /var/www/html/horde/$i /var/www/html/horde-3.2.1/
done
<code>
Now run all the patches from horde to upgrade the various modules.

Resources

Include links to protocol descriptions, specifications, RFCs, external applications, presentations on http://horde.org/papers/ or elsewhere that are relevant, articles, API docs from http://dev.horde.org/ - anything that might be useful to someone working on this.


Back to the Project List