# Something bad happened on 16% of importing site

**URL:** https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546
**Category:** Bug Reports
**Created:** [June 13, 2022, 1:04pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546 "2022-06-13T13:04:34Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![fmon](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fmon/32/429_2.png) [@fmon](https://community.kinsta.com/u/fmon)
#### Post date: [June 13, 2022, 1:04pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/1 "2022-06-13T13:04:34Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
June 13 2022, 14:30 CEST

**Q: DevKinsta Version**  
2.6.0

**Q: OS Version**  
Windows 11

**Q: Docker Desktop Version**  
v4.9.0 (Docker Engine v20.10.16)

**Q: Were any error codes or messages observed? If so, what were they?**  
No DK\*\*\*\* error code shown.

**Q: Detailed Description of the Problem**  
Everytime I try to import a site, staging or live, the process stops at 16% with an “Something bad happened” error. I tried to reinstall DevKinsta, run as an admin, etc… Didn’t solve it.

I’m sending you the main.log file by private message.

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

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [June 13, 2022, 4:39pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/2 "2022-06-13T16:39:56Z")

</div>

Thanks for sending the main.log @fmon  
I’m seeing a database error:

```auto
[2022-06-13 14:49:11.445] [info] [containerExec] Command ‘mysql -u root -p *******-e “create database***** ;”’ on devkinsta_db finished with exit code 1
[2022-06-13 14:49:11.447] [error] [ipcMainStep] Error in operation SITE_CREATION, step database: Error: Error (1): UERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)

```

Can you please try the solution from this [similar thread](https://community.kinsta.com/t/windows-10-dk0033-error-while-creating-a-site/155/4)?

Also, if you have no important data saved within DevKinsta/on the databases, I would recommend quitting DK, then opening Docker’s “Troubleshoot” page and “Clean/Purge data.” This will force DevKinsta to recreate everything the next time you open it.

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

Please let us know if that does not work.

---

<div class="post-metadata">

### Author: ![fmon](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fmon/32/429_2.png) [@fmon](https://community.kinsta.com/u/fmon)
#### Post date: [June 14, 2022, 10:20am UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/3 "2022-06-14T10:20:36Z")

</div>

It worked. Thanks!

Now it stops at 33% “Can’t create mysql dump”, DK0029. I have read some of the messages about DK0029 and recreated the .ssh folder, but it didn’t solve it. This is the error part in the main.log:

```auto
[2022-06-14 12:10:48.484] [warn] [dumpSiteDatabase] Some warnings from mysql: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: UNPROTECTED PRIVATE KEY FILE! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Permissions 0755 for '/root/.ssh/id_rsa' are too open.It is required that your private key files are NOT accessible by others.This private key will be ignored.Load key "/root/.ssh/id_rsa": bad permissions 
[2022-06-14 12:10:48.486] [warn] [dumpSiteDatabase] Some warnings from mysql: Kdevlandsdesigncom@34.159.24.125: Permission denied (publickey,password). 
[2022-06-14 12:10:48.489] [error] Error - DK0029: MYSQL_DUMP_COMMON: Error (255): Kdevlandsdesigncom@34.159.24.125: Permission denied (publickey,password).
    at C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:1033145
    at tryCatch (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:2165596)
    at Generator._invoke (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:2165219)
    at Generator.next (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:2166371)
    at asyncGeneratorStep (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:1003)
    at _next (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:1302)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-06-14 12:10:48.526] [error] [ipcMainStep] Error in operation SITE_CREATION, step rsync: Error - DK0029: MYSQL_DUMP_COMMON: Error (255): Kdevlandsdesigncom@34.159.24.125: Permission denied (publickey,password).
    at C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:1033145
    at tryCatch (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:2165596)
    at Generator._invoke (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:2165219)
    at Generator.next (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:8:2166371)
    at asyncGeneratorStep (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:1003)
    at _next (C:\Users\fran.montero\AppData\Local\Programs\DevKinsta\resources\app.asar\main.prod.js:2:1302)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

```

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [June 14, 2022, 4:11pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/4 "2022-06-14T16:11:20Z")

</div>

Odd, deleting .ssh should recreate it with the appropriate permissions the next time you run DevKinsta. Are you installing DK for just your current user or ALL USERS? That might affect how how the permissions there get set. Also this is just normal Windows 11, right? You aren’t running Hyper-V or anything special?  
I’m not sure if this still works but it might also be worth a try: [Windows SSH: Permissions for 'private-key' are too open - Super User](https://superuser.com/a/1296046)

---

<div class="post-metadata">

### Author: ![fmon](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fmon/32/429_2.png) [@fmon](https://community.kinsta.com/u/fmon)
#### Post date: [June 16, 2022, 7:41am UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/5 "2022-06-16T07:41:32Z")

</div>

I have tried again to delete the .ssh folder so DevKinsta recreates it and it doesn’t solve this problem. Regarding the other solution, on what file should be applied? I haven’t found the private\_key file in DevKinsta folders…

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [June 16, 2022, 11:55pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/6 "2022-06-16T23:55:25Z")

</div>

So it will actually be the `id_rsa` file within that .ssh folder that you have been deleting. DevKinsta basically creates a shortcut to that folder/file.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/0/0da7aa2ddbb4b96c737212b0af2acdf95f48ec91.png)

I asked if you were using Hyper-V because that’s the only other time I’ve seen Windows mess up the permissions of this file: [DK0029 Error - Unprotected private key file](https://community.kinsta.com/t/dk0029-error-unprotected-private-key-file/1284)

I was also wondering if how you installed DevKinsta (for just the root user or all users) was affecting this.

---

<div class="post-metadata">

### Author: ![Ryan\_Pluckrose](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ryan_pluckrose/32/1263_2.png) [@Ryan\_Pluckrose](https://community.kinsta.com/u/Ryan_Pluckrose)
#### Post date: [June 30, 2022, 2:07pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/7 "2022-06-30T14:07:05Z")

</div>

I’m on an M1 Mac and am experiencing the same issue. Any new site I import, gets to 16% and results in Something bad happened.

I tried this [Windows 10: DK0033 error while creating a site - #4 by michael](https://community.kinsta.com/t/windows-10-dk0033-error-while-creating-a-site/155/4)  
(even though it’s windows)

I’ve also uninstalled kinsta a few times, deleted the folders from the home directory and manually removed the containers in docker.

I’m fairly new to kinsta but have so far stuck with my valet+ environment as i can’t get sites to import

---

<div class="post-metadata">

### Author: ![Ryan\_Pluckrose](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ryan_pluckrose/32/1263_2.png) [@Ryan\_Pluckrose](https://community.kinsta.com/u/Ryan_Pluckrose)
#### Post date: [June 30, 2022, 2:28pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/8 "2022-06-30T14:28:37Z")

</div>

I’ve just managed to get this working ( I think ) by uninstalling kinsta again and removing the containers and folders.

Then after installing again, instead of pulling from an existing site I chose “New Wordpress Site” made a test site then afterwards tried importing an existing one and it worked.

So far so good. trying with the rest now .

---

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [June 30, 2022, 5:39pm UTC](https://community.kinsta.com/t/something-bad-happened-on-16-of-importing-site/1546/9 "2022-06-30T17:39:57Z")

</div>

Thank you for this @Ryan_Pluckrose. I’m wondering why this worked but sharing your process definitely helps us with future troubleshooting.
