Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

EA3 migration to EA4 not migrate VirtualHost customizations

Discussion in 'EasyApache' started by capsx, Mar 31, 2016.

  1. capsx

    capsx Registered

    Joined:
    Mar 31, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!

    We migrated EA3->EA4
    Apache 2.2->2.4

    After migration some vhosts are not working
    and
    we found that
    /usr/local/apache/conf/userdata/std/2_2
    is not copied to
    /etc/apache2/conf.d/userdata/std/2_4

    kinda #weird ... :)
     
  2. JacobPerkins

    JacobPerkins Well-Known Member

    Joined:
    May 2, 2014
    Messages:
    619
    Likes Received:
    97
    Trophy Points:
    103
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    This is correct, and on purpose. If we were to transfer include files, with the new system paths, there are no ways for us to properly guarantee that those includes are working and don't conflict with the new platform.

    eg: If you have '/usr/local/apache/conf/userdata/std/2_4/user/domain.tld/include.conf' that has 'Include /usr/local/apache/conf/includes/my_personal_include.conf' in it, it's really hard for us to ensure these configurations work on the new platform without going in and manually adjusting those includes, which could cause further issues if it messes one up.

    At this time, includes need to be manually transferred.

    I hope this helps!
     
  3. rclemings

    rclemings Well-Known Member

    Joined:
    Nov 5, 2007
    Messages:
    47
    Likes Received:
    5
    Trophy Points:
    58
    Is this mentioned in the EA4 documentation anywhere? If so I haven't been able to find it.

    Seems to be that the fact that a manual migration is required ought to be mentioned here at least:

    How to Install or Uninstall EasyApache 4 - EasyApache 4 - cPanel Documentation

    The new locations for the include files are mentioned here but not the fact that they must be migrated manually:

    Introduction to EasyApache 4 - EasyApache 4 - cPanel Documentation

    Finally I don't see any EA4 version of this page, which explains how to use include files:

    Modify Virtualhost Containers With Include Files - EasyApache - cPanel Documentation

    I'm using an include file for access control (via the Apache mod_auth_form module) and was more than a little surprised to discover that everything was wide open after the EA3 to EA4 upgrade. Fortunately I was able to roll it back with no problems, but still ...
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The following document is now updated to provide users with information about existing issues with EasyApache 4:

    Current Status of EasyApache 4 - EasyApache 4 - cPanel Documentation

    It includes a reference to the migration of Apache user data includes from EasyApache 3.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice