Support » Plugin: Duplicator - WordPress Migration Plugin » [Plugin: Duplicator] "A configuration file already exists in this location" Install Error

  • Resolved dorearendil


    Hi again!

    I uploaded the package and install to an empty directory on my server, and created a new DB for the occasion.

    But when launching the install process, a few seconds later I got an error screen telling me:

    A configuration file already exists in this location. You have two options:

    Empty this root directory and recopy the package and installer.
    Copy package from “wp-snapshots” directory back up to your root (same location as installer.php) and delete the wp-config.php file.

    This is weird, of course, since the directory was empty to start with.

    Opening that directory, I can see the installer unpackaged pretty much everything, as far as I can tell (I didn’t count all files of check every directory) — EXCEPT for the “wp-snapshots” folder, which only contains an index.php file.

    In my database, the tables were created, but are all empty (no posts content, etc). Unsurprisingly, I get an “Error Establishing Database Connexion” when trying to access the directory with a browser.

    The installer-log.txt file is blank.

    Any thoughts?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Cory Lamle


    Humm that is strange, never had anyone report that issue. What version of PHP/MySQL are you using? Do you happen to have open php open_basedir (check your php.ini file)?

    You might also check the permissions and owner/group of the directory you trying to deploy the package on. You can temporarily try 777 to see if gets things going…

    “open_basedir” doesn’t appear in my php.ini file (set to “no value” in phpinfo).

    Permissions seem to be alright…

    I tried the same install on a different server, and this time the problem is slightly different: I actually get the “Install Complete” screen, but upon trying to access wp-admin, a message tells me the database needs to be repaired. I repair it, all tables seem to be OK. But still the message occurs, so I visit the DB through PHPmyAdmin, and discover that, once more, all tables exist but all are full of zeros…

    Actually I just read on the Duplicator FAQs about something that may be causing mayhem (?): the fact that half of my site is in Chinese, and that I should have therefore unchecked the “Enable character conversion encoding” option when creating my package…
    Do you think this could be the culprit?

    Plugin Author Cory Lamle


    Hey Dorearendil,

    If you have international characters they you will want to uncheck the “Enable Character conversion” in the options dialog, and then at install time you will need to check the ‘Enable MySQL character set’. That might be your issue…

    Yes, I think that was probably the problem.
    I’ll see if this fixes it next time I try the install.
    Thanks for your support.

    Plugin Author Cory Lamle


    Hey Dorearendil,

    Any luck with this?

    Hey man,
    I’m on a trip currently, terribly slow Internet connexion — I’ll try again in about a week when I’m back home, and will let you know.
    Thanks for your help.

    Plugin Author Cory Lamle


    Any update on this one?

    I am having the same drama, and having used several different migrating tools to try and get this to work, the best luck I have had is that it installs a clean version of WP but with none of the local server development (no site, graphics etc.). FWIW I suspect that it may have something to do with it being a windows server that I am migrating to.

    Look forward to any updates….

    Plugin Author Cory Lamle


    Hey Mr.Karl,

    You can try the latest version (0.4.0) it may have your fixes for the issue your seeing. The very latest version can be found by following these instructions:

    -> Browse to
    -> Look for the section “Other Versions”
    -> Click on “Development Version” and download the zip plugin file
    -> Uninstall your current version and install this one

    Let me know if that helps.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Duplicator] "A configuration file already exists in this location" Install Error’ is closed to new replies.