Could not delete site config file DK0072

When adding my first site from an existing environment on Kinsta I received the notice “Something bad happened” at 16% and couldn’t continue.

I followed some instructions from this forum post Something bad happened on 16% of importing site

I deleted the recommended container and volume in Docker. no fix

Then, I did a Clean / Purge all data, however, I forgot to cancel the site creation and close DevKinsta before doing this. Now the site is stuck at 33% with the error “Could not delete site config file DK0072.”

Tried adding a new site again (same site) and now both are stuck with the same message.

Hi @blackmatter,

Welcome to the Kinsta Community forums! Thank you for reaching out!

I am sorry to hear you are experiencing these issues while you attempt to create a site in DevKinsta. I understand the importance of finding a solution to these issues so you can get to working on your site as soon as possible!

I see that you are trying to import one site from MyKinsta. I also see you attempted to create a new site again using that same environment but both are appearing stuck with the DK0072 error.

It does seem like a related issue could be occurring between both sites. However, to confirm the exact issue we would like to review the main.log file generated by DevKinsta. This log file contains additional debug log information. As this file can contain sensitive information if you could please send a direct message to me with the main.log file attached it is appreciated.

Below you may find a link to our help article that goes into details about where to locate the main.log file:

If you could also confirm the following information that will help us in our investigation:

Date/Time this occurred (Provide your time zone also)

DevKinsta Version

OS Version

Docker Desktop Version

We look forward to hearing back from you!

Hi @blackmatter!

Thank you for DMing me the main.log file and environment information.

I have reviewed the main.log file and noticed some unusual errors. I do see it appears after the initial DevKinsta related containers were created, during the site creation attempt there was an error creating the database for the site. It appears that DevKinsta was unable to connect using the root user and the access was denied. This indicates that something may have prevented the root password from being synced/set correctly.

I also see that later in the log DevKinsta began having issues finding the DevKinsta related containers in Docker. This indicates that the DevKinsta related Docker containers were not running as expected.

As this is your first attempt at creating a site in DevKinsta it might be best to try and recreate all of the DevKinsta related Docker containers as well as the volumes.

To accomplish this, please stop DevKinsta by first closing it’s window, and then in the top bar secondary click it’s icon and choose to stop and shutdown DevKinsta. This should fully stop all of DevKinsta’s containers. This will ensure all containers/volumes can be properly deleted in Docker Desktop.

This next step will now delete all files/folders, containers and volume information related to DevKinsta including local site data. As I understand however you currently do not have any working sites in DevKinsta.

Next, open Finder and delete the DevKinsta folder under your home folder, as well as the DevKinsta folder located at Library (accessible by opening Go from the top menu, and then holding the option key) >> Application Support >> DevKinsta.

Next, open Docker Desktop and delete all of the DevKinsta related containers. Then, still in Docker Desktop switch over to the volumes and delete/erase all DevKinsta related volumes. This should effectively clear out all data and fully ensure all DevKinsta related containers/volumes have been removed.

After this step I would also recommend fully quitting Docker Desktop and relaunching it.

Once we are at this clean slate state please launch DevKinsta again. This will cause all of the DevKinsta related Docker containers to be downloaded, and recreated. This will also recreate the DevKinsta volumes and files. This process should also fully sync up the database passwords and any other configurations.

Once this process has completed and DevKinsta is running, please create a new local WordPress site in DevKinsta itself. This is to test if the site creation process for a new site can complete successfully. If this process is successful, than please try importing your site again from MyKinsta to see if that too can now complete successfully.

If you do have any questions about these steps, or need further assistance please let us know. We are standing by and ready to help!