Thank you for reaching us out!
The “WordPress site setup failed DK0021 ” error usually could be due to a local issue/system or network error issue when DevKinsta tries to use cURL to download WordPress.
If you keep getting that DK0021 error even after you’ve restarted DevKinsta and Docker multiple times, then you can try to add the WordPress files manually.
Please try to do the following:
Remove anything inside this \wp\ sub-folder, something like this: C:\Users\yourusername\DevKinsta\wp
and then extract that .zip file you just downloaded before into that sub-folder/path above, and make sure the folder names match as shown in the screenshot I took from my Windows computer below (e.g. wordpress-6.2 for WP version 6.2):
After this, please re-launch DevKinsta and try creating a new WP site again and see if you’re no longer getting that DK0021 error
Hopefully the solution above would help to solve this DK0021 issue you’re experiencing on your local computer. Same solution seemed to be working fine for other users as mentioned in the other thread here and here as well .
I tried these exact steps, ensuring I closed and fully quit DevKisnta and Docker. I removed any installation files as you specify in step 2 (but there weren’t any), and then manually added a folder that contains WordPress (unzipped).
My installation path is:
And then with WordPress:
Restarted DevKinsta (and thus Docker), tried to install a new site, still getting DK0021.
Seeing this a lot:
[error] [ipcMainStep] Error in operation SITE_CREATION, step baseapp: Error: Encountered an error: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded
And the WordPress files/folders would be downloaded and extracted/unzipped inside the “Site path” set in the DevKinsta’s settings - by default it’s set to: \Users\[user]\DevKinsta .
(in my case, the WP would be saved inside the : C:\Users\iagus\DevKinsta\wp - as I showed in my previous screenshot before)
Please kindly check your DevKinsta → Settings (look for the “Site path” section), and then open your Windows file explorer and go to that same path/subfolder (e.g.: C:\Users\yourusername\DevKinsta ), and remove anything inside the “wp” subfolder there (if any) and follow the step 2 and step 3 that I suggested in the previous reply? and see if that will help?