Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-2008, 04:27 AM
Intermediate Member
 
Posts: 24
Default Migration problems caused by broken vmware image

Ok. This is kind of a weird situation.

I am running zimbra on a vmware server setup. I am using loose images for the OS (debian), /opt, and /home.

The image for the operating system got corrupt. Now that isn't a real big problem, debian was reinstalled and re-setup from a backup etc in a short while. After that i ran trough a zimbra installation and when that was done i just removed the /opt directory and remounted the old image with the zimbra installation.
The zimbra server etc. is working perfectly just as before, but I'm having some problems upgrading to a new version.

When i try to upgrade it does recognise a zimbra installation currently exists. But during the installation it doesn't upgrade the ldap databases etc. but just writes as if it was a new installation. So altough it recognises and does an upgrade, it actually does a new install.

What can I do to upgrade to the latest version of zimbra? The current is 4.5.(9 or 10, not sure :X )
Reply With Quote
  #2 (permalink)  
Old 02-13-2008, 04:30 AM
Moderator
 
Posts: 7,911
Default

what does rpm -qa | grep -i zimbra show ?
__________________
Reply With Quote
  #3 (permalink)  
Old 02-13-2008, 04:39 AM
Intermediate Member
 
Posts: 24
Default

Well nothing as i'm using debian, which isn't a rpm based distribution.

email:~# dpkg -s zimbra-core
Package: zimbra-core
Status: install ok installed
Priority: optional
Section: Mail
Maintainer: build@zimbra.com
Architecture: i386
Version: 4.5.10_GA_1575.DEBIAN3.1
Depends: libidn11, curl, fetchmail
Description: Best email money can buy

But that package is installed by the intaller script, and isn't being "used" as the opt directory was replaced by the old one.
Reply With Quote
  #4 (permalink)  
Old 02-13-2008, 04:56 AM
Moderator
 
Posts: 7,911
Default

DOH!

Perhaps it may be worth shutting down Zimbra, removing /opt again, remove any zimbra package that may be installed. Checking through the deb install area and removing any remnants. Then install zimbra again, remove /opt, and mount your old one again. Or something along those lines.
__________________
Reply With Quote
  #5 (permalink)  
Old 02-13-2008, 05:03 AM
Intermediate Member
 
Posts: 24
Default

But that kind of is what i did in the first place

Ah well, luckily it's virtual and a not that essential server so i can screw around a bit with it.
Going to try
Reply With Quote
  #6 (permalink)  
Old 02-13-2008, 05:07 AM
Moderator
 
Posts: 7,911
Default

Did you run a zmfixperms when /opt was remounted ? Does the /opt directory have the correct permissions. Sorry just thinking out loud what I would look at.
__________________
Reply With Quote
  #7 (permalink)  
Old 02-13-2008, 05:13 AM
Intermediate Member
 
Posts: 24
Default

Well yes it does, because it just runs perfectly, only when upgrading it doesn't anymore. I didn't run any scripts (like fixperms)
Reply With Quote
  #8 (permalink)  
Old 02-13-2008, 05:27 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

A lack of RAM can cause upgrade problems, do you have enough?
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 02-13-2008, 05:33 AM
Intermediate Member
 
Posts: 24
Default

2GB is assigned, should be enough as I was able to upgrade in the past to other versions.
Reply With Quote
  #10 (permalink)  
Old 02-13-2008, 05:40 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Which version of Zimbra are you trying to upgrade to? Is the /opt on another drive and is it a symlink?
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.