# Push to Staging fails on Uploading local site (DK0026)

**URL:** <https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265>\
**Category:** Bug Reports\
**Created:** [February 2, 2022, 6:58pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265 "2022-02-02T18:58:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevinang/32/899_2.png) [@kevinang](https://community.kinsta.com/u/kevinang)\
**Post date:** [February 2, 2022, 6:58pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/1 "2022-02-02T18:58:44Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
**A:** 2022-02-02 18:50:00 UTC

**Q: DevKinsta Version**  
**A:** 2.4.0.2954

**Q: OS Version**  
**A:** macOS Monterey 12.0.1

**Q: Docker Desktop Version**  
**A:** 4.4.2

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

**Q: Detailed Description of the Problem**  
**A:** Since updating DevKinsta to 2.4.0, local sites cannot be pushed to remote staging. I’ve tried restarting, re-pulling fresh copy to local, but it’s always stuck on “Uploading Local Site” with DK0026 error.

---

<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:** [February 2, 2022, 7:51pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/2 "2022-02-02T19:51:54Z")

</div>

Hi @kevinang, welcome to DevKinsta!

I’m able to reproduce this and have escalated it to our devs. We should get a fix very soon since this is an important issue. I’ll update you as soon as I know more.

Thank you for reporting this and sorry for the inconvenience.

---

<div class="post-metadata">

**Author:** ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)\
**Post date:** [February 3, 2022, 6:53pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/3 "2022-02-03T18:53:09Z")

</div>

I’m having this exact same issue. is there an ETA for a fix? on a tight deadline and really need to get a push to staging ASAP

---

<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:** [February 3, 2022, 8:29pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/4 "2022-02-03T20:29:00Z")

</div>

Hi @kevinang, @aaronblomberg and anyone experiencing this issue. I believe I have found a workaround until an official solution is released.

Please navigate to your site’s local files within DevKinsta and DELETE the Kinsta MU Plugin folders/files.

So go to` \DevKinsta\public\yoursitename\wp-contents\mu-plugins` and delete the` kinsta-mu-plugins` directory as well as `kinsta-mu-plugins.php` then retry that failed step.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/90ed819123a2aecdc934b49c3ac99472be151260.png)

Please let me know if this does not solve the issue.

---

<div class="post-metadata">

**Author:** ![kevinang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevinang/32/899_2.png) [@kevinang](https://community.kinsta.com/u/kevinang)\
**Post date:** [February 3, 2022, 8:41pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/5 "2022-02-03T20:41:52Z")

</div>

Thanks!

Does that `mu-plugins` folder exist on every project? I can’t seem to find one on ours.

This is what I have on my local folder:

```auto
debug.log index.php plugins themes upgrade uploads

```

I’ve also searched throughout my local filesystem and cannot find `kinsta-mu-plugins.php`

---

<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:** [February 3, 2022, 8:43pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/6 "2022-02-03T20:43:51Z")

</div>

Very strange; that was the issue for my sites.  
Can you go to DevKinsta\logs\main.log and check to see what the actual error is when it fails?

In my case it was a permissions error regarding mu-plugin files. It might be something different for you.

---

<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:** [February 3, 2022, 8:45pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/7 "2022-02-03T20:45:07Z")

</div>

You can also get to the logs by clicking on the question mark within DevKinsta and going to “Reveal log file in File Manager”

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/5b813ff598e7a8cd2bf65faad2acc67905744bc4.png)

---

<div class="post-metadata">

**Author:** ![kevinang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevinang/32/899_2.png) [@kevinang](https://community.kinsta.com/u/kevinang)\
**Post date:** [February 3, 2022, 8:48pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/8 "2022-02-03T20:48:38Z")

</div>

Thanks @Kevin ! I saw the logs, but don’t see any permission-related errors. Here’s what I got instead:

```auto
[2022-02-03 14:46:24.397] [error] [uploadFiles] Error while uploading files Error: Encountered an error: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
    at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:620423
    at ChildProcess.exithandler (node:child_process:413:5)
    at ChildProcess.emit (node:events:394:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
[2022-02-03 14:46:24.398] [error] [ipcMainStep] Error in operation SITE_PUSH, step rsync: Error: Encountered an error: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
    at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:620423
    at ChildProcess.exithandler (node:child_process:413:5)
    at ChildProcess.emit (node:events:394:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
[2022-02-03 14:46:24.398] [error] Error: Encountered an error: RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
    at /Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:620423
    at ChildProcess.exithandler (node:child_process:413:5)
    at ChildProcess.emit (node:events:394:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

```

Hopefully that helps!

---

<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:** [February 3, 2022, 8:51pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/9 "2022-02-03T20:51:54Z")

</div>

Yes that definitely helps. It looks like the error is failing at the same spot on both Windows and Mac but for different reasons.

When you run the Push how far along is it getting? Can you see what percentage it’s reaching when uploading before it quits on you?

I’m going to do my best to test this on a Mac/reproduce it.

---

<div class="post-metadata">

**Author:** ![kevinang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevinang/32/899_2.png) [@kevinang](https://community.kinsta.com/u/kevinang)\
**Post date:** [February 3, 2022, 8:56pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/10 "2022-02-03T20:56:57Z")

</div>

Sure!

It goes as far as ~270 MiB of uploads before the whole process crashes. It seems to happen at the same place every time, and it doesn’t seem to be a flaky issue.

![Screen Shot 2022-02-03 at 2.53.52 PM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/0615294f4ae09f02786c5f3243a42bec329b0e72.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:** [February 3, 2022, 8:59pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/11 "2022-02-03T20:59:05Z")

</div>

Thank you, that helps! I’ll keep at this and let you know as soon as we have an update!

---

<div class="post-metadata">

**Author:** ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)\
**Post date:** [February 3, 2022, 9:00pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/12 "2022-02-03T21:00:08Z")

</div>

![kinsta](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/c2b134dc00593f1ebd854238f85c16aba602035e.png)

That solution didn’t work for me either. it hung and failed at the usual spot again. let me know if there’s anything else we can try

---

<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:** [February 3, 2022, 9:05pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/13 "2022-02-03T21:05:11Z")

</div>

@aaronblomberg, are you on Mac as well? Does the error in you log file look similar/mention `RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded` ?

---

<div class="post-metadata">

**Author:** ![kevinang](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevinang/32/899_2.png) [@kevinang](https://community.kinsta.com/u/kevinang)\
**Post date:** [February 3, 2022, 9:15pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/14 "2022-02-03T21:15:35Z")

</div>

@Kevin I can confirm that this is issue with the size of uploads. I tried removing some content and with ~280MiB of total uploads it was pushed successfully.

Hence the `ERR_CHILD_PROCESS_STDIO_MAXBUFFER` error it seems …

---

<div class="post-metadata">

**Author:** ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)\
**Post date:** [February 3, 2022, 9:19pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/15 "2022-02-03T21:19:01Z")

</div>

Hi @Kevin - i’m on a mac and my log file is really long but i’ll attach here  
[main.log](https://community.kinsta.com/uploads/short-url/rmr1UkvdBdIBoBuRD6wmIUfx4Rn.log) (952.0 KB)

---

<div class="post-metadata">

**Author:** ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)\
**Post date:** [February 3, 2022, 9:30pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/16 "2022-02-03T21:30:19Z")

</div>

@Kevin - i unfortunately don’t have the luxury of removing some content as we need everything pushed up and everything was working before properly. let me know if there’s anything else i can attempt

---

<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:** [February 3, 2022, 9:30pm UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/17 "2022-02-03T21:30:22Z")

</div>

Thanks @kevinang that helps a lot with narrowing this down. I’ll pass this along to our team.

Thank you for that @aaronblomberg, I’ll share that with our team as well. I’m going to assume the issue for you also has to do with file size.

So to recap, since the latest release, DK0026 is being produced in two situations:

1. due to a permissions issue with the mu-plugins directory (so far only happening on Windows)
2. due to large file sizes (so far only reported on Mac)

I’m pushing all this info to our Dev team and am hoping for an update from them soon. I’ll keep everyone updated as I learn more.

---

<div class="post-metadata">

**Author:** ![sjds-frog](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sjds-frog](https://community.kinsta.com/u/sjds-frog)\
**Post date:** [February 4, 2022, 4:36am UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/18 "2022-02-04T04:36:15Z")

</div>

Our team is also getting this as of 4h ago. We’re on MacOS. Two different dev’s have tried pushing to staging this evening from two different computers on two different networks. Both failed. same error

Were still crafting the site so it really doesn’t have very much content, but it has a number of custom templates, some assets and 3 plugins.

**Q: Date/Time this occurred (Provide your time zone also)A:** 2022-02-02 18:37:56 PST

**Q: DevKinsta VersionA:** Version 2.4.0 (2.4.0.2954)

**Q: OS VersionA:** macOS 10.15.7 (Catalina)

**Q: Docker Desktop VersionA:** 4.2.0

**Q: Were any error codes or messages observed? If so, what were they?A:**"Something bad happened **DK0026**"

**Q: Detailed Description of the ProblemA:** Was able to pull from staging w/o issue. Tried pushing to staging this evening repeatedly. Stalls out mid-push Same error (details above are myown)

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

LMK if i can supply any other information

---

<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:** [February 5, 2022, 12:02am UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/19 "2022-02-05T00:02:26Z")

</div>

Hi @sjds-frog, thanks for sharing this; our devs have confirmed these issues and say they will not be able to push the fix until next week. I’ll keep everyone apprised on this and let you know as soon as the fix is out!

Sorry again for the inconvenience everyone but thank you for helping us get this sorted.

---

<div class="post-metadata">

**Author:** ![Philip\_Stanley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/philip_stanley/32/916_2.png) [@Philip\_Stanley](https://community.kinsta.com/u/Philip_Stanley)\
**Post date:** [February 7, 2022, 11:07am UTC](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265/20 "2022-02-07T11:07:33Z")

</div>

Add us to the people affected as well, the site is 980Mb and consistently failing at around 400Mb uploaded. I’m presuming it is possible to do a migration from Local dev into a basic WP install on Kinsta via Duplicator to get the initial site uploaded and then use GIT to run any further smaller continual updates until the fix next week or sometime?

BTW, using the option to ‘retry’ several times we now have the DK0013 Error that won’t clear, despite restarts. I don’t intend to spend any time on investigation until the DK00026 fix is available, just note that when this DK00013 error notification comes up, it doesn’t go away (as noted in another very recent thread).

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

[Next page](https://community.kinsta.com/t/push-to-staging-fails-on-uploading-local-site-dk0026/1265.md?page=2)
