# Devkinsta suddenly failed today

**URL:** https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608
**Category:** Application Support
**Created:** [October 23, 2023, 10:11pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608 "2023-10-23T22:11:05Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 23, 2023, 10:11pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/1 "2023-10-23T22:11:05Z")

</div>

Today dev kinsta started freezing on ‘Starting Docker’. I’m not aware of any changes that would have caused this. So I read that in Docker settings under ‘Advanced’ I should enable ‘Allow the default Docker socket to be used’.

Now DevKinsta will load and a show a preview of the theme but when I start site and attempt to view it in browser I get ‘ERR CONNECTION REFUSED’.

Update: I tried cloning the site and now the error is:

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

I was able to pull a WP environment hosted from Kinsta to my local which is fully functional (except for the certificate which I can address on my own). I just don’t understand why my original environment I was working on is now bricked.

Any thoughts on next steps for troubleshooting would be super appreciated.

---

<div class="post-metadata">

### Author: ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)
#### Post date: [October 23, 2023, 11:47pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/2 "2023-10-23T23:47:59Z")

</div>

Hi @Tyler_Hervey 👋

Can you also enable the “Allow privileged port mapping” option, restart your computer and let us know if that helps?

If not, can you let us know what OS, OS version, and DevKinsta version you’re using?

Also if you can DM @Agus @Alessandro and myself @ZachE your main.log file?

> **[DevKinsta Error Codes](https://kinsta.com/knowledgebase/devkinsta/error-codes/#viewing-the-application-log-file)**
>
> Find out what error codes may be returned in DevKinsta, what each of them means, and how you can fix them.

Best regards,  
Zach

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 3:29pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/3 "2023-10-24T15:29:43Z")

</div>

Hi @ZachE thank you for your response.

‘Allow privileged mapping’ was enabled but still same error after restart. I just DM’d main.log.

-T

---

<div class="post-metadata">

### Author: ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)
#### Post date: [October 24, 2023, 3:32pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/4 "2023-10-24T15:32:55Z")

</div>

Hey Tyler 👋  
If you go into DevKinsta settings, under the Port selector section, is the checkbox for “Auto-detect ports” enabled or disabled?

Regards,  
Alessandro

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 3:45pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/5 "2023-10-24T15:45:42Z")

</div>

Hi!  
This is currently enabled:

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

---

<div class="post-metadata">

### Author: ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)
#### Post date: [October 24, 2023, 3:49pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/6 "2023-10-24T15:49:22Z")

</div>

Thank you, and for the site that is currently saying “Site stopped by DevKinsta”, what is the status reported inside the site page in DevKinsta under “Site Status”?

 ![Screenshot 2023-10-24 at 16.49.12](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/7c1aca09ed8302e0bac28d6589a24ccb4ca4472e.png)

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 3:50pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/7 "2023-10-24T15:50:17Z")

</div>

shows the site as running:

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

---

<div class="post-metadata">

### Author: ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)
#### Post date: [October 24, 2023, 3:50pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/8 "2023-10-24T15:50:42Z")

</div>

Do you get an error if you try to stop and restart?

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 3:52pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/9 "2023-10-24T15:52:40Z")

</div>

no errors when stopping and starting, UI appears gray:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/1/1836cc272d816106fcf127ece9f67ec44095af22.jpeg)

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 3:59pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/10 "2023-10-24T15:59:14Z")

</div>

Also, I tried spinning up a new site from scratch and it is incorrectly determining it to be a ‘custom site’ even though I selected wordpress during setup:

-attachment redacted-

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 4:00pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/11 "2023-10-24T16:00:12Z")

</div>

and subsequent error:

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

---

<div class="post-metadata">

### Author: ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)
#### Post date: [October 24, 2023, 4:04pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/12 "2023-10-24T16:04:26Z")

</div>

Hi Tyler!

Thanks for the logs, we’ll review this and get back to you soon!

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 24, 2023, 6:06pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/14 "2023-10-24T18:06:06Z")

</div>

version info:  
MacOS Monterey 12.6.3  
and I installed the latest devkinsta for intel macs

---

<div class="post-metadata">

### Author: ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)
#### Post date: [October 24, 2023, 9:37pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/15 "2023-10-24T21:37:33Z")

</div>

Hi Tyler!

Thanks for the extra details! I’m on Ventura with M1 Pro Silicon so not sure if I can replicate properly, but will keep on it. So far I am seeing these errors. These are for the `theme-troubleshooting-demo` site:

```auto
[2023-10-24 10:48:44.861] [info] [containerExec] Command 'wp --allow-root --skip-themes --skip-plugins core is-installed --path=/www/kinsta/public/theme-demo-troubleshooting' on devkinsta_fpm finished with exit code 1
[2023-10-24 10:48:47.395] [error] create thumbnail error: Error: Request failed with status code 403

```

That would indicate that WP CLI didn’t detect the theme-demo-troubleshooting site as WP, then it tried to take a thumbnail and got a 403 Forbidden

```auto
[2023-10-24 10:48:59.417] [error] [createThumbnail] Failed to create thumbnail on /Users/tylerhervey/DevKinsta/public/theme-demo-troubleshooting/d922dadb-70cc-43a3-b8fc-73aa52e27b6d.png, no more tries

```

I think that one is an extension of the previous error.

These are for the `tmt-dfy-theme-01` site when checking the site email inboxes:

```auto
[2023-10-24 10:49:47.843] [error] Error: [31;1mError:[0m This does not seem to be a WordPress installation.Pass --path=`path/to/wordpress` or run `wp core download`.
          'An error of type E_ERROR was caused in line 1016 of the file /www/kinsta/public/tmt-dfy-theme-01/wp-content/plugins/custom-post-type-ui/inc/utility.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /www/kinsta/public/tmt-dfy-theme-01/wp-content/plugins/custom-post-type-ui/inc/utility.php:1016\r\n' +

```

That one is part of a WordPress Fatal error further down in the main.log for the `tmt-dfy-theme-01` site

You said you tried to create a new WP site instead of a custom or import site, but custom-post-type-ui plugin doesn’t come with stock WP, so that’s confusing to see that in the logs, or it’s not the most recent logs?

Do you happen to have the other log files, e.g. starting from here:

> **[Logging and Site Debugging](https://kinsta.com/knowledgebase/devkinsta/logging/#error-log)**
>
> Logs can be very helpful when troubleshooting and debugging issues on your WordPress sites. Learn how to view your access and WordPress error logs with DevKinsta.

Also, can you provide screenshots of your site directories `ls -lat /www/kinsta/public/theme-troubleshooting-demo/` and checksum tests (command and steps in Docker context below)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/8cca823a1367d08ed6e913aa380ee7edd37f006b.jpeg)

I don’t have one called tmt-dfy-theme-01 or theme-troubleshooting-demo so I used one that already existed called `testsite` so you’ll have to replace it in the commands

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 25, 2023, 12:56pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/16 "2023-10-25T12:56:29Z")

</div>

I think it will be easier if we ignore the first theme and just focus on the fresh install for troubleshooting. I noticed there are no files/directories in the new site. Do you think this is a permissions issue?

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

---

<div class="post-metadata">

### Author: ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)
#### Post date: [October 25, 2023, 1:16pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/17 "2023-10-25T13:16:14Z")

</div>

Hey @Tyler_Hervey , I agree that it would be better if we focus on the vanilla install you did. Can you please share the Nginx configuration for that site? Inside your DevKinsta folder, you should see a nginx\_sites folder that contains a .conf file for each of the sites you have. Can you send the one for this new site via DM, please? If the forum blocks you for the file extension, please send it as .txt

Regards,  
Alessandro

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 25, 2023, 4:04pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/18 "2023-10-25T16:04:08Z")

</div>

Picking up from where @Alessandro and I left off. Inside of devkinsta\_fpm terminal i was able to CD into the theme directory and create a txt file (sorry I have added and removed sites so the name is different):

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

---

<div class="post-metadata">

### Author: ![Tyler\_Hervey](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/tyler_hervey/32/2541_2.png) [@Tyler\_Hervey](https://community.kinsta.com/u/Tyler_Hervey)
#### Post date: [October 25, 2023, 4:45pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/19 "2023-10-25T16:45:18Z")

</div>

Hi all, after reading this: [WordPress Installation Folder Is Empty After Creating New Site](https://community.kinsta.com/t/wordpress-installation-folder-is-empty-after-creating-new-site/2294)

it seemed the docker containers were definitely the issue. Wish I could say specifically but I just deleted them all and now I can spin up sites no problem.

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [October 26, 2023, 12:27am UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/20 "2023-10-26T00:27:36Z")

</div>

Thank you for your update Tyler!  
Glad to hear that you could spin up sites without problem! 👍

Regards,  
Agus

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)
#### Post date: [October 28, 2023, 12:28pm UTC](https://community.kinsta.com/t/devkinsta-suddenly-failed-today/2608/21 "2023-10-28T12:28:27Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
