1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 IP.Board import results in Duplicate entry error

Discussion in 'Installation, Upgrade, and Import Support' started by denam, Mar 2, 2015.

  1. denam

    denam Active Member

    When doing a test IP.board import on a fresh xenforo database (except admin user is during the xenforo install created) I get a server error when importing the user groups.

    Of course I clicked the option to retain the ids because my xenforo installation has no existing data besides the admin user. Retaining the ids are important to me for url rewritings.

    Is there a way to import the IP.Board data in a new xenforo installation while having the id's retained?

  2. Brogan

    Brogan XenForo Moderator Staff Member

    How many user groups do you have in your IPB installation?

    Can you list them and associated IDs?
  3. denam

    denam Active Member

    We have 9 user groups which are:

    I have just noticed that when not choosing to retain the ids before importing there is the option of the 'archive import log' which can be used to ensure a proper URL rewriting. If that works well, this could also be an option.
  4. Mike

    Mike XenForo Developer Staff Member

    There's a tricky situation with maintaining IDs when you have a group setup that involves one of your "non standard" groups (one that we have to create when importing) conflicting with a standard XF group. Unfortunately, there isn't really a great workaround short of not maintaining IDs.

    The import log does allow mapping of URLs even if IDs aren't maintained. There are redirect scripts/guides in the resources section for IPB that use the import log to deal with ID changes.
  5. denam

    denam Active Member

    Okay, I will try it without retaining the ids.
  6. Nuno

    Nuno Active Member

    I have the same error.

    If I place all users in these groups before importing will it works?

    Validating User Group ID:
    Guest User Group ID:
    Member User Group ID:
    Admin User Group ID:
    Banned User Group ID

    Changing id's is not an option :(
    Last edited: Jun 7, 2015
  7. Mike

    Mike XenForo Developer Staff Member

    If you want to maintain IDs, groups with IDs 1-4 in your source data must map to XF's built-in groups (guest, registered, moderating, administrative). Otherwise, you'll need to not maintain IDs within XF (or change IDs in the source, but that's never really going to be viable).

Share This Page