The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Upgrade advise please

Discussion in 'General Discussion' started by ladydi711, Jun 22, 2008.

  1. ladydi711

    ladydi711 Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    120
    Likes Received:
    3
    Trophy Points:
    18
    Greetings,

    I have a 3 year old server that I am wanting to replace. It is running WHM 10.8.0 cPanel 10.9.0-S38 and I don't believe I have updated from mbox to MailDir (is there a way I can tell?).

    My questions are what would be the best upgrade plan? I suspect I will probably run into issues moving accounts from that old of software to new.

    I don't want to have both servers online for too long of time ($$).

    Is it worth spending the time getting the old server updated prior to attempting a move?

    I also have a few web sites that may be dependent on older version of mysql, so I want to test/fix them prior to a move.

    The old saying "if it ain't broke, don't fix it" sure messes with upgrade times...

    Any advise would be greatly appreciated!

    TIA,
    Diane
     
  2. ManojB

    ManojB Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    pune
    First you will have to convert the mail format from mail to maildir, upgrade perl and cpanel on the old server and then you can start the migration.

    You can keep the same Mysql configuration on the new server according the old server and the new cpanel support dual php (i.e., php4 and php5).
     
  3. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    You must do following to upgrade your server:
    1) upgrade your perl version to 5.8.8
    2) run /scripts/upcp to upgrade the cpanel
    3) run easyapache to update your apache/php installation
    4) run /scripts/convert2maildir for converting from mbox to maildir.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Run /scripts/convert2maildir - this is an interactive script. It will inform you if you are on mbox or maildir.

    cPanel 11 can transfer in accounts from a cPanel 10 server. If you already have a new server, you may wish to consider this as a possible migration path given your very specific situation (intent to move to a new server regardless).

    Would that be MySQL 4.0, 4.1 or something older?

     
  5. ladydi711

    ladydi711 Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    120
    Likes Received:
    3
    Trophy Points:
    18
    I felt that would be the first step before upgrading cPanel/WHM; is that true?
    Also, is there a way to determine how long this might take? I would like to schedule the appropriate amount of time, and I understand mail will not be available during this conversion. And that POP users may get messages twice? Are these true assumptions?

    Very good to know; i may very well go that way. But I assume I still have to have the mailboxes converted first.

    MySQL 4.0

    To recap what I believe I need to do:
    1) upgrade your perl version to 5.8.8 (I'm at 5.8.7)
    2) Run /scripts/convert2maildir
    3) EITHER:
    Move accounts from existing cPanel 10 server to new cPanel 11 server
    OR:
    Upgrade the cPanel, update Apache Installation

    Is that accurate? And again, is there anyway to estimate how long the mailbox conversion might take?

    Thanks for all the great feedback!
    Diane
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In the early days of cPanel 11, I used to say that converting could be done after the migration. However, seeing as so few people still use mbox, I recommend converting to maildir first then migrating as a means to minimize possible migration issues.

    The process can take anywhere from 5 minutes to 2 days. It all depends on how much mail is stored on your server.

    POP users that use "store mail on server" functionality of their mail clients will receive copies of the messages stored on the server after the conversion. This is due to functionality of the POP3 protocol we cannot counteract. I recommend users using POP3 in this manner simply use IMAP anyway.

    The conversion process simply depends on how much mail there is on the server. Whatever you do, DO NOT terminate the process even if it appears hung. This will only make things worse and cause the process to take longer to complete properly.

    Upgrading the Apache installation is not required, but would be a good idea. Since you are on MySQL 4.0, you may want to make the migration to 4.1 after upgrading to cPanel 11. I hear the migration from 4.0 to 4.1 can be somewhat painful, but going from 4.1 to 5.0 isn't nearly as difficult.

    Note, by default we install MySQL 5.0 on all new cPanel/WHM servers.
     
Loading...

Share This Page