Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: Zimbra Version 4.0.4 to Zimbra 4.5.6_GA Migration

  1. #11
    skeeve is offline Intermediate Member
    Join Date
    Nov 2006
    Posts
    19
    Rep Power
    8

    Default

    Quote Originally Posted by jholder View Post
    Brained is 100% correct on the Open Source edition

    Some of us (brained included) have assisted in many open source migrations. Forgive us for thinking that's what you have

    john
    That's cool.

    Now, even though I have the network version, can I still use brained's procedure above?

    The key issue I have is that the current server has 1GB of space left, so doing backups will be a bit of a problem.... which is why I was hoping there was a migration tool for the Network version.

    ...Skeeve

  2. #12
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Yes, the procedure works on both editions.

    I understand the space thing.

    Another option would be IMAPSYNC, but you'd loose some stuff, like documents. So, we probably should do the tar /opt/zimbra thing.

    Lookup how to use rsync
    man rsync

    You can also just rsync the /opt/zimbra folder to the new server.

    it's really up to you, but everything is contained in /opt/zimbra

  3. #13
    skeeve is offline Intermediate Member
    Join Date
    Nov 2006
    Posts
    19
    Rep Power
    8

    Default

    Quote Originally Posted by brained View Post
    You want to migrate first, then upgrade.
    • Install the exact same 4.0.4 on the new server
    • Rsync the /opt/zimbra over from the old
    • Re-run the 4.0.4 install script on the new server
    • Start up the 4.0.4 on the new server and make sure it's running properly (LDAP, MySql, message store, etc) Really make sure - you don't want to try to upgrade a broken system
    • Shut Zimbra down and then -
    • Then run the install script for 4.5.6
    OK, re rsync, got any options I should be using. I'm trying:

    rsync -Wur --links source dest

    should I be adding aything else?

    ...Skeeve

  4. #14
    skeeve is offline Intermediate Member
    Join Date
    Nov 2006
    Posts
    19
    Rep Power
    8

    Default

    Quote Originally Posted by skeeve View Post
    OK, re rsync, got any options I should be using. I'm trying:

    rsync -Wur --links source dest

    should I be adding aything else?

    ...Skeeve
    ive add -o -g

    anything I miss?

    ...Skeeve

  5. #15
    skeeve is offline Intermediate Member
    Join Date
    Nov 2006
    Posts
    19
    Rep Power
    8

    Default

    Quote Originally Posted by brained View Post
    You want to migrate first, then upgrade.
    • Install the exact same 4.0.4 on the new server
    • Rsync the /opt/zimbra over from the old
    • Re-run the 4.0.4 install script on the new server
    • Start up the 4.0.4 on the new server and make sure it's running properly (LDAP, MySql, message store, etc) Really make sure - you don't want to try to upgrade a broken system
    • Shut Zimbra down and then -
    • Then run the install script for 4.5.6
    OK.. I'm up to the part where I have re-run the 4.0.4 install and I'm trying to make sure it is running properly.

    Well, it is sort of working... outlook can get it, I can get into the web interface, send email and so on.

    In the web interface I am having some problems though.

    When i look at "some", not all, emails I get:

    msg - system failure: IOException while retrieving content for item 1909
    com.zimbra.cs.service.ServiceException: system failure: IOException while retrieving content for item 1909
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:174)
    at com.zimbra.cs.mailbox.MessageCache.getMimeMessage( MessageCache.java:198)
    at com.zimbra.cs.mailbox.Message.getMimeMessage(Messa ge.java:270)
    at com.zimbra.cs.service.mail.ToXML.encodeMessageAsMP (ToXML.java:532)
    at com.zimbra.cs.service.mail.GetMsg.handle(GetMsg.ja va:74)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:261)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:162)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:173)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.FileNotFoundException: /opt/zimbra/store/0/5/msg/0/1909-5423.msg (Permission denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
    at com.zimbra.cs.util.ByteUtil.getContent(ByteUtil.ja va:86)
    at com.zimbra.cs.store.FileBlobStore.getContent(FileB lobStore.java:302)
    at com.zimbra.cs.store.FileBlobStore.getContent(FileB lobStore.java:296)
    at com.zimbra.cs.mailbox.MessageCache.fetchFromStore( MessageCache.java:216)
    at com.zimbra.cs.mailbox.MessageCache.getMimeMessage( MessageCache.java:179)
    ... 25 more

    code - service.FAILURE
    method - ZmCsfeCommand.prototype.invoke
    detail - soap:Receiver

    Is this serious? Is the migration a failure? This is the point I need to know whether to scrap everything I've done so far and try again (although I did everything right I am sure).

    I've got to wake up in 5 hours and go explain to the boss where I am up to, it woulda kinda be nice to know what to tell him. I will check here when I wake up.

    ...Skeeve

  6. #16
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Try running the zmfixperms script located in /opt/zimbra/libexec

  7. #17
    skeeve is offline Intermediate Member
    Join Date
    Nov 2006
    Posts
    19
    Rep Power
    8

    Default

    Quote Originally Posted by jholder View Post
    Try running the zmfixperms script located in /opt/zimbra/libexec
    Yup, ran it, didnt do much.

    When I first login as a user or click on the message it says 'A network service error has occurred.' with the detail being the above.

    ...Skeeve

  8. #18
    skeeve is offline Intermediate Member
    Join Date
    Nov 2006
    Posts
    19
    Rep Power
    8

    Default

    OK, ran out of time and had to junk to migration - had to give the users back their email access.

    So, what can I try to make this more successful next time?

    ...Skeeve

  9. #19
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    This will copy the files (to a backup directory) with all permissions:

    Code:
    # rsync backup
    rsync -avrlHKpogDt /opt/zimbra/ /data/backup/zimbra
    
    # rsync restore
    rsync -avrlHKpogDt /data/backup/zimbra /opt/zimbra
    obviously change the backup directory to one of your own. You should also make a note of the zimbra uid & gid on the current server and then make sure it's the same on the new install.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #20
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    I forgot to add that this type of migration assumes your are using the same IP and hostname on the new server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  2. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 06:29 PM
  3. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  4. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •