Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Desktop > General Questions

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 08-30-2011, 12:22 PM
Active Member
 
Posts: 39
Default Zimbra Desktop 7.0.1 to 7.1.1 migration

I was running ZD 7.0.1 on Ubuntu 11.04 32-bit until I experienced what a lot of users have already reported on when sending Yahoo email(s). Out of frustration, I manually downloaded the zimbra desktop 7.1.1 (build 10917) "zdesktop_7_1_1_ga_b10917_linux_i686.tgz" file and hoped the Yahoo issue has been fixed.

So, I backed up my existing zdesktop folder manually just in case something happens:

:~$ pwd
/home/myname
:~$ cp -pR zdesktop zdesktop-bkup-08302011
:~$ du zdesktop -h -s
247MB
:~$du zdesktop-bkup-08302011 -h -s
247MB

I now extract the downloaded tgz file to my home folder:

:~$ tar -zxf /home/myname/Downloads/zdesktop_7_1_1_ga_b10917_linux_i686.tgz

Then cd to the new folder that was just created:

:~$ cd zdesktop_7_1_1_ga_b10917_linux_i686

Now I run the install script ("install.pl") and accepted all the default folder paths:

:~$ sudo ./install.pl

Welcome to Zimbra Desktop setup wizard. This will install Zimbra Desktop on your computer.
------------------------------
Press enter to continue:

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. VMWARE INC. WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for this Zimbra Collaboration Suite Software: Zimbra - Zimbra Public End-User License Agreement, Version 2.3

------------------------------
(A)ccept or (D)ecline [A]: A

------------------------------
Choose the folder where you would like to install Zimbra Desktop's application files [/opt/zimbra/zdesktop]:

Installing application files...done

You have finished installing application files.

Would you like to continue to install data files for user: root?
------------------------------
(Y)es or (N)o [N]: N

To install data files for additional users, please login as the user and run this command:
/opt/zimbra/zdesktop/linux/user-install.pl



When I ran the "user-install.pl" as the user I want, the install script created a new folder called "zd_backup" in /home/myname and a new "zdesktop" (12MB) folder also in the /home/myname. The script just blew away and overwrote existing user profiles and data in /home/<userdir>/zdesktop folder with the new version!!!

Thank goodness I made a backup!

Question:

What is the official migration (or workaround) to migrate zimbra desktop 7.0.1 user data to zimbra desktop 7.1.1 from the backup I made (/home/myname/zdesktop-bkup-08302011)?
Reply With Quote
  #2 (permalink)  
Old 08-30-2011, 12:28 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by medicaldiamonds View Post
I was running ZD 7.0.1 on Ubuntu 11.04 32-bit until I experienced what a lot of users have already reported on when sending Yahoo email(s). Out of frustration, I manually downloaded the zimbra desktop 7.1.1 (build 10917) "zdesktop_7_1_1_ga_b10917_linux_i686.tgz" file and hoped the Yahoo issue has been fixed.
If you'd read the threads on this problem you'd have seen it isn't fixed until the release of ZD 7.1.2.

Quote:
Originally Posted by medicaldiamonds View Post
What is the official migration (or workaround) to migrate zimbra desktop 7.0.1 user data to zimbra desktop 7.1.1 from the backup I made (/home/myname/zdesktop-bkup-08302011)?
All you need to do is run the installer for the new release and install it in the same directory(s) as your currently installed version. Taking a backup of your installed ZD directories is always a good idea.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 08-30-2011, 12:37 PM
Active Member
 
Posts: 39
Default

Thank you for the quick reply..

Quote:
Originally Posted by phoenix View Post
If you'd read the threads on this problem you'd have seen it isn't fixed until the release of ZD 7.1.2.
OUCH...didn't get to read that far

Quote:
All you need to do is run the installer for the new release and install it in the same directory(s) as your currently installed version. Taking a backup of your installed ZD directories is always a good idea.
Which "installer" are you referring to? The application installer ("install.pl")? or the user installer ("user-install.pl"?)?

On my post, I mentioned I did accept the default install path's for the app installation (/opt/zimbra/desktop); and I also accepted the default path for the user installation (/home/myname/zdesktop). The user installation removed the existing /home/myname/zdesktop folder (all 247MB of my existing zdesktop!) and created a new same name folder "zdesktop" that is 12MB in size.
Reply With Quote
  #4 (permalink)  
Old 08-30-2011, 11:03 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by medicaldiamonds View Post
The user installation removed the existing /home/myname/zdesktop folder (all 247MB of my existing zdesktop!) and created a new same name folder "zdesktop" that is 12MB in size.
If the user directory is installed in the same location as the original install then it doesn't remove the data directory, it hasn't done that on any of the Linux or Windows systems on which I've upgraded ZD.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 08-31-2011, 06:34 AM
Active Member
 
Posts: 39
Default

Quote:
Originally Posted by phoenix View Post
If the user directory is installed in the same location as the original install then it doesn't remove the data directory, it hasn't done that on any of the Linux or Windows systems on which I've upgraded ZD.
Well, the OP that started this THIS THREAD experienced the same issue I had: the "user-install.pl" installer overwrote an existing "/home/userhome/zdesktop"

Again, i'm happy I have a backup. The question is: How do I use 7.1.1 to import/migrate all my zimbra mail folders from the backup I made?
Reply With Quote
  #6 (permalink)  
Old 08-31-2011, 07:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by medicaldiamonds View Post
Well, the OP that started this this thread experienced the same issue I had: the "user-install.pl" installer overwrote an existing "/home/userhome/zdesktop"
What can I say, it's never happened to me and there's no reason to think it won't work - I've never seen any evidence (nor exact steps to reproduce and lists of file locations) that it removes files if they've been installed in their standard locations. The instructions for upgrading are here: Zimbra Desktop 7.1 FAQ - Zimbra :: Wiki

BTW, you don't need to post "this thread" in upper case, I can read and upper case is considered shouting in a forum - it isn't necessary.

Quote:
Originally Posted by medicaldiamonds View Post
Again, i'm happy I have a backup. The question is: How do I use 7.1.1 to import/migrate all my zimbra mail folders from the backup I made?
If you've exported the email via the wizard the you install the new version and use the import wizard to import the files - it's mentioned in the wiki link I've given you above.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 09-01-2011, 11:21 AM
Active Member
 
Posts: 39
Default

Quote:
Originally Posted by phoenix View Post

If you've exported the email via the wizard the you install the new version and use the import wizard to import the files - it's mentioned in the wiki link I've given you above.

That's the problem, I did not use the export wizard utility to backup my data. I did a manual backup ( # cp -pR /home/username/zdesktop /home/username/zdesktop-bkup-MMDDYYY) to backup my zdesktop user data.

Is there any other way to use my manually backed up data and import that into ZD 7.1.1?
Reply With Quote
  #8 (permalink)  
Old 09-27-2011, 09:45 AM
Active Member
 
Posts: 39
Default

I just want to update this thread as I feel compelled to post back to the community that my zimbra desktop 7.1.1 for Linux migration to 7.1.2 B10978 for Linux was smoother this time.

The installer script maintained the existing $HOME/zdesktop and $HOME/zd_backup folders.

Again, thank you Zimbra!
Reply With Quote
  #9 (permalink)  
Old 10-17-2011, 09:47 AM
Member
 
Posts: 14
Default Thanks

Thanks MedicalDiamonds for your very detailed post and followup.

I saved myself a bit of pain updating my two Linux workstations from 7.1.1 to 7.1.2 (which DOES correctly do the SendMessage with Yahoo accounts)

I have been stuck with Webmail for a couple of accounts due to sending Yahoo issues for some months now.

< = happy camper

Now I just have to worry about those Windows users still on ZD v 1.0, LOL

Reply With Quote
  #10 (permalink)  
Old 10-17-2011, 10:13 AM
Active Member
 
Posts: 39
Default

Quote:
Originally Posted by JonB View Post
Thanks MedicalDiamonds for your very detailed post and followup.

I saved myself a bit of pain updating my two Linux workstations from 7.1.1 to 7.1.2 (which DOES correctly do the SendMessage with Yahoo accounts)
You're welcome! It is the very least I can do to show my appreciation for the hard work that was put into the free ZD open-source version.
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.