Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    3

    Default Restoring packages to accounts

    Hey got a problem I can't find a fix for:

    Just did a server migration from one to another, copying over all accounts/data/settings. Everything worked out well except for the packages. All the packages got moved over and they are still setting quotas and feature sets properly except that under List Accounts it is showing many of the account packages as "unknown" while some do have the correct packages listed.

    Is there a way to force cPanel/WHM to restore those listed packages or some other script or setting that I am missing?

    Thanks for your time!

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    The features and packages are actually not migrated!

    Instead, the original limits and package name are stored but the
    actual package and feature lists themselves are not transferred.

    You can actually go grab the files on your old server and manually
    transfer them if you would like your old package on your new server:

    /var/cpanel/features
    /var/cpanel/packages

    I think Cpanel designed things this way to prevent conflicts and / or overwriting of existing plans and features when moving one account to another.

  3. #3
    Member
    Join Date
    Sep 2009
    Posts
    11

    Default Restoring packages to accounts

    Hi,

    I work with Alex on the same project, and I think I have narrowed down the problem. We have views that reference functions in a package within the same schema. Some reason pg_restore/pg_dump does not recognize the dependencies between this view we have and the function that exist in a package. We have the -o specified in our pg_dump script, and I am assuming the current pg_restore command defaults to oid-order. I remember the older version of pg_restore allows you specific the item restore order. Is there a way get around this problem???

    Ken

    ___________________________________________________________________________________________________

    Regards..

    snoozer bed | washington printers | how to beat a drug test
    Last edited by dannydesiliva; 09-14-2009 at 06:08 AM.

  4. #4
    Member
    Join Date
    Feb 2006
    Location
    Jakarta
    Posts
    45

    Default

    I have this problem to

    i can fix this by upgrading the account to the account package. but i cannot do it for multiple account . Is there any quick way for fix packages account

  5. #5
    Member
    Join Date
    Sep 2004
    Posts
    8

    Default

    Quote Originally Posted by Spiral View Post
    The features and packages are actually not migrated!

    Instead, the original limits and package name are stored but the
    actual package and feature lists themselves are not transferred.

    You can actually go grab the files on your old server and manually
    transfer them if you would like your old package on your new server:

    /var/cpanel/features
    /var/cpanel/packages

    I think Cpanel designed things this way to prevent conflicts and / or overwriting of existing plans and features when moving one account to another.
    could you please help with the command line to grab that packages and features ?

Similar Threads & Tags
Similar threads

  1. Restoring a lot of accounts
    By optize in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-22-2011, 07:17 PM
  2. Problems when restoring accounts
    By DBJoshua in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-15-2008, 11:58 AM
  3. restoring email accounts
    By Antifreeze in forum E-mail Discussions
    Replies: 4
    Last Post: 08-19-2008, 03:05 PM
  4. problem restoring accounts.
    By dragon2611 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-11-2008, 02:54 PM
  5. Problem restoring accounts
    By beehave in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-19-2007, 10:33 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube