# Downloading existing WordPress Site not working on Windows

**URL:** https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890
**Category:** Application Support
**Created:** [December 27, 2023, 6:55am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890 "2023-12-27T06:55:13Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![roger067](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/roger067/32/2839_2.png) [@roger067](https://community.kinsta.com/u/roger067)
#### Post date: [December 27, 2023, 6:55am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/1 "2023-12-27T06:55:13Z")

</div>

Hey, everyone! I’m trying to import an existing site that uses bedrock in Windows and is not working. I’ve followed the steps below, but still not working:

1)Putted the site host in my host file  
2)Changed the root path in nginx editor to where is my wp-config (current/web)  
3)Changed .env with the right credentials  
4)Updated wp\_options in database  
5)Disabled firewall  
6)Deleted docker containers and reinstalled Kinsta.

The main.log show the following error:

```auto
[2023-12-27 03:47:46.544] [info] [containerExec] Command 'cd public/p43north && wp --allow-root --skip-themes --skip-plugins db size --size_format=b --url=http://p43north.local' on devkinsta_fpm finished with exit code 1
[2023-12-27 03:47:46.545] [error] Error: [31;1mError:[0m This does not seem to be a WordPress installation.Pass --path=path/to/wordpress or run wp core download.

```

And the browser shows a `DNS_PROBE_FINISHED_NXDOMAIN`

Is there anyone having the same problem? How can i fix it?

---

<div class="post-metadata">

### Author: ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)
#### Post date: [December 27, 2023, 7:45am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/3 "2023-12-27T07:45:06Z")

</div>

Hello Rogério, welcome to Kinsta Community! 👋

I’m sorry to hear that you’re having issues with DevKinsta, This is somewhat expected, as DevKinsta was built to work with standard WordPress installs and a lot of it’s functionality when pulling live sites is centered around wp-config.php.

Our developers are looking into a long-term solution for this, however, at the moment, we have no way to automate this process to run the same as with the standard WP installs.

In this post, my colleague Kevin explained the issue and what can be done as a workaround.

> [@Question re bedrock & push to staging](https://community.kinsta.com/t/question-re-bedrock-push-to-staging/1553/3):
>
> Thanks for sharing @designlobby ! I think what you are doing right now may be best solution until we have built-in support for Bedrock. Here’s what’s happening: First, DK needs to find a wp-config.php file in whatever the root directory is when using wp-cli. If there is no standardly formatted wp-config.php, the process fails. If you add a wp-config.php in ~/public with the connection credentials, the process will fail during the search and replace because wp-cli won’t be pointing to your …/…

You could try the following:

1. Add wp-config.php in ~/public with the connection credentials (regardless of that not being needed for your Bedrock install)
2. Add a wp-cli.yml file in ~/public that sets the path to your wp directory

The DevKinsta would be then basically used for transferring files and database, as it would require search and replace in both files and database even after the workaround to get it going.

We’re sorry that we don’t have a more straightforward solution at the moment, but we do hope to have one in the future.

Once again, welcome to Kinsta Community!

P.S. In regards to the DNS Probe Finished, it is possible that there’s an error in your hosts file and the way you’re pointing via the file itself. Please recheck it to make sure.

---

<div class="post-metadata">

### Author: ![roger067](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/roger067/32/2839_2.png) [@roger067](https://community.kinsta.com/u/roger067)
#### Post date: [December 27, 2023, 6:30pm UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/4 "2023-12-27T18:30:37Z")

</div>

My site already has the wp-cli, as we can see in the image. Is there any other solution?

![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/f/f35aaaaa78644b45d27380657fe5ea8b61462239.png)

---

<div class="post-metadata">

### Author: ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)
#### Post date: [December 28, 2023, 1:19pm UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/5 "2023-12-28T13:19:06Z")

</div>

Hello again,

Did you also add wp-config.php in ~/public with the connection credentials (regardless of that not being needed for your Bedrock install)?

---

<div class="post-metadata">

### Author: ![roger067](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/roger067/32/2839_2.png) [@roger067](https://community.kinsta.com/u/roger067)
#### Post date: [December 28, 2023, 5:45pm UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/6 "2023-12-28T17:45:41Z")

</div>

Yes, my public folder has the wp-config and wp-cli file, but it still doesn’t work :/, even if I pull it from kinsta again and restart the containers. About the host file, here’s my config:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/a/acc1730b99788c9a4a4fd3ce4fde1f9af9578926.png)

---

<div class="post-metadata">

### Author: ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew/32/2792_2.png) [@Andrew](https://community.kinsta.com/u/Andrew)
#### Post date: [December 29, 2023, 12:04am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/7 "2023-12-29T00:04:50Z")

</div>

Hi @roger067!

I’m sorry to hear you’re still having difficulty with importing your Bedrock site into DevKinsta.

After further researching into this issue we have discovered that Bedrock has provided documentation on how to create a Bedrock site using DevKinsta. You may find the link to this documentation below:

> **[Bedrock with DevKinsta | Bedrock Docs](https://roots.io/bedrock/docs/bedrock-with-devkinsta/)**
>
> How to configure DevKinsta, a local WordPress development tool, for a Bedrock-based WordPress site.

This would be more of a manual import process, as first you’d create a new empty site within DevKinsta. Then, you’d clone your Git repository into the correct file path as mentioned in the Bedrock documentation. After that you would need to import the database separately. However, this might get you going with DevKinsta as the actual import/site creation process should not fail.

Below you may also find a link to our documentation that will help explain how to manage the database using Adminer so you can import a database backup you may have:

> **[Database Management - Database Manager - Kinsta® Docs](https://kinsta.com/docs/devkinsta/devkinsta-database/database-manager)**
>
> Learn how to use the Database manager in DevKinsta, how to carry out some basic tasks, and how to access your database via the terminal/command line.

Please let us know if this has helped, or if you need any further assistance.

Best regards

---

<div class="post-metadata">

### Author: ![roger067](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/roger067/32/2839_2.png) [@roger067](https://community.kinsta.com/u/roger067)
#### Post date: [December 29, 2023, 9:22pm UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/8 "2023-12-29T21:22:52Z")

</div>

Hi @Andrew !

I was pretty sure that this solution would work, but the same error persists:

```auto
[error] Error: [31;1mError:[0m This does not seem to be a WordPress installation.Pass --path=`path/to/wordpress` or run `wp core download`.

```

First, I tried to clone my WP site into the new empty site, but as I said, the same error continues to occur. Then I tried installing bedrock with composer instead of cloning my repository into the new empty site and this error occurred:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/a/a9d894b12ab3db8863a60324e7223dc0a65fc835.png).

PS: The database has been imported and is working fine.

I’m starting to think that this project will only run on Mac devices 😕

---

<div class="post-metadata">

### Author: ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew/32/2792_2.png) [@Andrew](https://community.kinsta.com/u/Andrew)
#### Post date: [December 30, 2023, 1:18am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/9 "2023-12-30T01:18:08Z")

</div>

Hi @roger067!

Thank you for your reply, and sharing that screenshot showing the permission denied error. To clarify, are you cloning the site files from a Git repository into DevKinsta? Or, are you cloning/importing the site through DevKinsta directly?

If you are importing/cloning via DevKinsta, would it be possible to clone the site using the Git application directly to clone your site’s GIt repository into the DevKinsta site directory? Also, just to confirm do you have the site within a Git repository that you can clone from?

The permission denied error you are seeing would indicate the user running the Composer application does not have the proper permissions to create files/folders in that directory. To confirm, does the user you are running Composer have read/write permissions to the folder you are installing Bedrock into?

We look forward to hearing from you!

Best regards

---

<div class="post-metadata">

### Author: ![roger067](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/roger067/32/2839_2.png) [@roger067](https://community.kinsta.com/u/roger067)
#### Post date: [December 30, 2023, 8:09pm UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/10 "2023-12-30T20:09:31Z")

</div>

Hi, Andrew,

I didn’t import via devKinsta, I created the empty site and in the folder I cloned it directly from the repository via git clone, and the error still occurring.

About the permission denied problem, I tried to create a simple bedrock site from the empty custom site and then install bedrock with composer running the commands as administrator, but the following error message appears:

```auto
 svn was not found in your PATH, skipping source download

```

---

<div class="post-metadata">

### Author: ![Andrew](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew/32/2792_2.png) [@Andrew](https://community.kinsta.com/u/Andrew)
#### Post date: [December 31, 2023, 2:25am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/11 "2023-12-31T02:25:40Z")

</div>

Hi @roger067!

Thanks for your reply, and clarifying how you are importing the site.

I have researched into the “svn was not found” error you are seeing when trying to install Bedrock with composer. I found a forum thread where another user was experiencing a similar issue [here](https://discourse.roots.io/t/svn-was-not-found-in-your-path-skipping-source-download/22958). It appears however that getting packages via SVN is a fallback method. Are you seeing any other errors earlier on that mention any connection timeouts?

I am also going to discuss this further with our team internally to see what options might be available.

Best regards

---

<div class="post-metadata">

### Author: ![Adrian\_L](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/adrian_l/32/2810_2.png) [@Adrian\_L](https://community.kinsta.com/u/Adrian_L)
#### Post date: [January 1, 2024, 1:58am UTC](https://community.kinsta.com/t/downloading-existing-wordpress-site-not-working-on-windows/2890/12 "2024-01-01T01:58:40Z")

</div>

Hi @roger067 👋

I noticed that you mentioned you changed the root path in the DevKinsta Nginx editor for the site to “`current/web`”. However, I believe that the path in your `wp-cli.yml` file should be updated to reflect the appropriate location of your WP files. Depending on where the files are stored, the **`path`** in the `wp-cli.yml` file should be either:

`root /www/kinsta/public/site_name/web/;`

```auto
path: web/wp
server:
  docroot: web

```

Or;

`root /www/kinsta/public/site_name/current/web;`

```auto
path: current/web/wp
server:
  docroot: web

```

I hope that the above information helps! 🙂
