# Stuck in "Disabling maintenance"

**URL:** <https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531>\
**Category:** Bug Reports\
**Created:** [June 3, 2022, 8:33am UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531 "2022-06-03T08:33:46Z")\
**Posts on this page:** 12\
**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 3, 2022, 8:33am UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/1 "2022-06-03T08:33:46Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
\*\*A: June 2nd 2022, 18:20 CEST

**Q: DevKinsta Version**  
\*\*A: 2.6.0

**Q: OS Version**  
\*\*A: Windows 11

**Q: Docker Desktop Version**  
\*\*A: 4.9.0

**Q: Were any error codes or messages observed? If so, what were they?**  
\*\*A: No

**Q: Detailed Description of the Problem**  
\*\*A: I’m testing DevKinsta with one of my sites (a small one I’m starting to work on), pull it to DevKista, then made a few changes and pull is back to it’s staging site, but the process is not finished, it’s stuck at “Disabling maintenace” and can’t cancel it (cancel is disabled). The staging site is in maintenance, and I couldn’t find a way to go on. What should I do? The site is [https://dev.landsdesign.com](https://dev.landsdesign.com)

![Captura de pantalla 2022-06-03 103308](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/6737bc00751c679f0193edcc119070200ceec386.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 3, 2022, 10:04pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/2 "2022-06-03T22:04:53Z")

</div>

Hi @fmon, welcome to DevKinsta!

If closing and reopening DevKinsta doesn’t fix this, then you might have to manually clear the process. Please see if this is applicable for you: [Stuck on Canceling maintenance, restore snapshot - #7 by Kevin](https://community.kinsta.com/t/stuck-on-canceling-maintenance-restore-snapshot/1362/7)

If you aren’t able to cancel or complete the process through DevKinsta, you will also need to contact our Live Support team in MyKinsta. They can have our Sysops team disable maintenance mode on your Staging Site.

Please let me know if you run into any issues!

---

<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 4, 2022, 5:25pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/3 "2022-06-04T17:25:10Z")

</div>

Editing the config file confing.json didn’t seem to solve the problem. Still stuck.  
Then I asked the sysops team to disable maintenance mode in the site, and they did, so now the site is "workable again, but my DevKinsta is still stuck in “Disabling maintenace” and can’t be cancelled, even after restarting the computer. How do I end it?

---

<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 6, 2022, 4:16pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/4 "2022-06-06T16:16:31Z")

</div>

Hi @fmon the state of DevKinsta is based on config.json. Can you private message me what your config.json looks like? There are some passwords in there that you can delete before sending that over.

I believe sometimes restarting your PC can resolve this but not always.

---

<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 7, 2022, 8:09am UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/5 "2022-06-07T08:09:31Z")

</div>

I have sent you the config.json file. Restarting the PC didn’t solve it.

---

<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 7, 2022, 4:12pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/6 "2022-06-07T16:12:15Z")

</div>

Thanks for sending that, @fmon.

What did you edit within config.json last time? From what I’m seeing you just need to delete everything within “operations” similar to the solution I linked.

You might first need to make sure DevKinsta is completely closed/not running in the background when you do this/before restarting it.

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

---

<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 7, 2022, 6:28pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/7 "2022-06-07T18:28:23Z")

</div>

Oops! I sent you the copy before the modification. The real config.json ends with:

```
"operations": [
]

```

}

---

<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 7, 2022, 6:31pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/8 "2022-06-07T18:31:54Z")

</div>

I now have added the braces so it’s exactly as you posted:

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

Still stuck at 87% “Disabling maintenance”

![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/8a54749bb562ec22b1db505a5662c19713242cd5.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 7, 2022, 6:43pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/9 "2022-06-07T18:43:29Z")

</div>

I believe having the curly brackets there still causes a syntax error. Can you change that to this:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/76e294ac439a9d9ec8ef8761f0094b83da02d9d6.png)

Also if you save it like this:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/7dc6e4d5fb889f35b58bed90a3fe030019bb8593.png)

then restart DevKinsta, it will reformat the code to match the format from my first screenshot with the square brackets next to one another `[]`.

That’s one way to make sure DevKinsta is loading from your edited config.json. When I save my config.json with the curly brackets, DevKinsta doesn’t even start.

---

<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 7, 2022, 10:29pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/10 "2022-06-07T22:29:12Z")

</div>

Yes, the format of the brackets seemed to matter. Now the process is ended at last! Thanks!

---

<div class="post-metadata">

**Author:** ![chiara](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/chiara/32/3058_2.png) [@chiara](https://community.kinsta.com/u/chiara)\
**Post date:** [February 29, 2024, 3:02pm UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/11 "2024-02-29T15:02:40Z")

</div>

Hi Kavin! I have a Macbook with MacOS Sonoma and I can’t find config.json, could you please tell me the correct path?

---

<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:** [March 1, 2024, 12:52am UTC](https://community.kinsta.com/t/stuck-in-disabling-maintenance/1531/12 "2024-03-01T00:52:19Z")

</div>

Hi @chiara 👋

The `config.json` file on Mac normally is located inside this sub-folder:  
`~/Library/Application Support/DevKinsta/`  
(something like perhaps under your `/Users/yourusername//Library/Application Support/DevKinsta/` ).

Kevin also mentioned the same in the [other thread here](https://community.kinsta.com/t/cannot-access-local-dev-site/1468/24) .

Hope that helps!

Best regards,  
Agus Utomo
