\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Upgrading Horde on CentOS 5.2}
Taking Horde installations from 3.1.x to 3.2x

\section{Upgrading from 3.1.x}
\begin{itemize}
\item Your system may need different directory settings.


\item I assume you have full root access to your server.


\end{itemize}
<pre><code>
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
</code></pre>
MAKE COPIES

<pre><code>cd /zone/horde.upgrade
rsync -auvtP /var/lib/mysql/horde /zone/horde.upgrade
</code></pre>
\begin{itemize}
\item Goto the installation <a href="http://yoursite.whatever/horde-3.2.1">http://yoursite.whatever/horde-3.2.1</a>


\item You will only have horde so set that up.


\item Use the settings for the existing Horde mysql database


\item Save


\item Run the upgrade sql script (putty into your server)


\item \texttt{mysql -uroot horde -ppassword < /var/www/html/horde-3.2.1/scripts/upgrades/3.1\_to\_3.2.mysql.sql}


\item Try and logon to this copy of horde


\end{itemize}
The only issue I had with logging in was to make sure the \texttt{config/conf.php} pointed at this new installation. \texttt{\$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<br />
I use rsync to preserver dates.<br />
<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\newline
do<br />
rsync -auvtP /var/www/html/horde/\$i /var/www/html/horde-3.2.1/<br />
done<br />
<code><br />
Now run all the patches from horde to upgrade the various modules.

\section{Resources}
Include links to protocol descriptions, specifications, RFCs, external applications, presentations on <a href="http://horde.org/papers/">http://horde.org/papers/</a> or elsewhere that are relevant, articles, API docs from <a href="http://dev.horde.org/">http://dev.horde.org/</a> - anything that might be useful to someone working on this.


\noindent\rule{\textwidth}{1pt}
Back to the <a href="https://wiki.horde.org/Project">Project List</a>

\end{document}
