View Single Post
  #8 (permalink)  
Old 04-17-2007, 05:06 PM
dijichi2 dijichi2 is offline
OpenSource Builder & Moderator
 
Posts: 1,158
Default

In order to upgrade DEBIAN4 from 4.5.3 to 4.5.4, I had to do the following:

*** TAKE A BACKUP OF /opt/zimbra ***

make sure /etc/debian_release says 3.1
apt-get install libstdc++5
tar -xzf zcs-4.5.4_GA_763.DEBIAN3.1.tgz
cd zcs
edit util/utilfunc.sh
change util/utilfunc.sh
if [ $PLATFORM = "UBUNTU6"]; then
to
if [ $PLATFORM = "UBUNTU6" -o $PLATFORM = "DEBIAN3.1" ]; then

run install.sh

it fails doing the upgrade - zmsetup.pl doesn't detect last installed version so the upgrade portion of the script fails, as it doesn't know what version to upgrade from.

you can however get it working, by removing all lines in /opt/zimbra/.install_history after this:
0000000000: INSTALL SESSION START
0000000000: INSTALLED
0000000000: INSTALL SESSION COMPLETE
0000000000: CONFIG SESSION START
0000000000: CONFIGURED BEGIN
0000000000: CONFIGURED END
0000000000: CONFIG SESSION COMPLETE

and running /opt/zimbra/libexec/zmsetup.pl - it does a 'fresh' install but all your data and settings should still be intact. You did take a backup, right?
Reply With Quote