# Updates failing on one site

**URL:** <https://community.mainwp.com/t/updates-failing-on-one-site/2819>\
**Category:** Support\
**Tags:** updates-failing, manage-updates\
**Created:** [March 4, 2021, 4:59pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819 "2021-03-04T16:59:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fotan](https://community.mainwp.com/user_avatar/community.mainwp.com/fotan/32/694_2.png) [@fotan](https://community.mainwp.com/u/fotan)\
**Post date:** [March 4, 2021, 4:59pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/1 "2021-03-04T16:59:36Z")

</div>

I have one site in 32 that just won’t update anything from MWP. I have checked file and folder permissions and I have disabled/re-enabled the child plugin as well as changed the security key. No joy. Anyone else run into this and have a possible fix?

---

<div class="post-metadata">

**Author:** ![bogdan](https://community.mainwp.com/user_avatar/community.mainwp.com/bogdan/32/11_2.png) [@bogdan](https://community.mainwp.com/u/bogdan)\
**Post date:** [March 4, 2021, 8:20pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/2 "2021-03-04T20:20:57Z")

</div>

Hi fotan,

thanks for reaching out.

Is there anything different about this child site? Is it on a different server? Maybe some security plugin that you don’t use on the rest of your child sites?

---

<div class="post-metadata">

**Author:** ![onebob](https://community.mainwp.com/user_avatar/community.mainwp.com/onebob/32/78_2.png) [@onebob](https://community.mainwp.com/u/onebob)\
**Post date:** [March 5, 2021, 5:33pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/3 "2021-03-05T17:33:21Z")

</div>

Hi  
I have a problem with one of our sites, but it’s using an old theme and a ‘hacked’ wp-login.php that I keep updating every new release, still waiting for them to approve the new site!  
I just assume it’s cocking up the update mechanism, so I go in manually and update when I see updates for similar plugins they have.  
Other than that it’s pretty standard stuff plugin wise, I don’t know if that’s helpful or not?  
David

---

<div class="post-metadata">

**Author:** ![bogdan](https://community.mainwp.com/user_avatar/community.mainwp.com/bogdan/32/11_2.png) [@bogdan](https://community.mainwp.com/u/bogdan)\
**Post date:** [March 5, 2021, 8:01pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/4 "2021-03-05T20:01:27Z")

</div>

Hi David,

thanks for sharing your experience. I am sure it will help someone.

If you want, you can run some troubleshooting (by switching the theme temporarily and deactivating plugins that you suspect that might be causing issues) and see what is causing the problem.

---

<div class="post-metadata">

**Author:** ![fotan](https://community.mainwp.com/user_avatar/community.mainwp.com/fotan/32/694_2.png) [@fotan](https://community.mainwp.com/u/fotan)\
**Post date:** [March 10, 2021, 12:34pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/5 "2021-03-10T12:34:26Z")

</div>

Back to the original… 🙂

I have removed my site from the MWP dashboard, deleted the child plugin from the site and put everything back. Same problem.

What is new is that I found .maintenance is being placed, but not removed when updates fail. Maybe that helps narrow it down?

---

<div class="post-metadata">

**Author:** ![bogdan](https://community.mainwp.com/user_avatar/community.mainwp.com/bogdan/32/11_2.png) [@bogdan](https://community.mainwp.com/u/bogdan)\
**Post date:** [March 10, 2021, 12:51pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/6 "2021-03-10T12:51:45Z")

</div>

> [@fotan](#):
>
> What is new is that I found .maintenance is being placed, but not removed when updates fail. Maybe that helps narrow it down?

This sounds like the process is timing out on the child site so WP doesn’t get a chance to remove the file.  
MainWP plugin triggers update, but WP handles it. So when the process times out on the child site, WP doesn’t get a chance to remove the file.

Can you please try to increase PHP Memory Limit, WP Memory Limit, and PHP Max Execution time on the child site server and see if that helps?

Here you can find instructions on how to update these:

> **[Resolving System Requirement Issues - MainWP WordPress Management](https://mainwp.com/kb/resolve-system-requirement-issues/)**
>
> WordPress Version Minimum: WordPress 6.2Recommended: Latest stable WordPress versionHow to fix: In case you are running an out of date WordPress version, update your installation to the latest stable release. WordPress Memory...

Let me know how it goes.

---

<div class="post-metadata">

**Author:** ![system](https://community.mainwp.com/uploads/default/original/2X/4/4cfc87ac67e4ebdbfa0bbf0b19c8657f35a29a5b.png) [@system](https://community.mainwp.com/u/system)\
**Post date:** [April 9, 2021, 12:52pm UTC](https://community.mainwp.com/t/updates-failing-on-one-site/2819/7 "2021-04-09T12:52:21Z")

</div>

Closed on April 9, 2021, 12:52pm UTC

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